Linux / UNIX Tech Support Forum
This is a discussion on computer hangs when using iptables within the Ubuntu / Debian forums, part of the Linux Distribution category; When I add any iptables rule, e.g.: iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables ...
|
|||||||
| Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
When I add any iptables rule, e.g.:
iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT The rules work, but: When I want to shut down the pc (or reboot) with a normal user, it just hangs...I can still "see GNOME" - the Shutdown button is "stuck". But I can shut down the pc by hitting alt+ctrl+backspace When I want to shut down the pc with root in a terminal, it lastly says: "acpid: exiting", but it wouldn't shut down problem occurs: I tried it on a freshly installed: 2.6.26-2-amd64 ...x85_64 GNU/Linux (my pc) and 2.6.26-1-686 #1 SMP i686 GNU/Linux (other pc) even with 2.6.26-2-686 #1 SMP i686 GNU/Linux (the same other pc) Debian Lenny's I tried a Debian Lenny on VirtualBox, without GNOME, problems the same, I must "reset" the box to reboot problem is almost the same (when shutdown, or reboot it still hangs): ... "Asking all remaining processes to terminate....acpid: exiting done. Killing all remaining processes...failed. Stopping portmap daemon..." and it just waits, waits lshw: pastebin - collaborative debugging tool lspci: pastebin - collaborative debugging tool Is this a bug? What should I do if I want the pc to shut down when pressing the shut down button, and use iptables too? Under Ubuntu, when I simply add an iptables rule, then I want to shut down the pc, it shuts down Thank you |
| Sponsored Links | ||
|
|
|
||||
|
Firewall will never hang your computer while rebooting or shuttlingdown the box. This is something else.. Do you run debian inside virtualbox? Try updating both kernel and virtualbox software.
__________________
Vivek Gite Linux Evangelist |
|
|||
|
When I use:
"/etc/init.d/network stop" It shuts down/reboots/logs out ok I'm thinking about it, maybe it's an acpid bug. I tried an Ubuntu 9.04, it works ok, so it could be Debian related It's always up-to-date ps.: for a moment I thought I got it work I append the sid repo in Lenny (in VirtualBox) for the sources.list, and installed acpid from the sid repo: When I give a reboot command in a root terminal: It finally reboot's ok! But, when I click at shutdown, with a normal user, it still hangs, the button looks like it's pressed, but nothing happens, even after minutes. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SuSe hangs on shutdown | lacloai | Linux software | 6 | 13-10-2008 05:14 AM |
| expect script hangs | antzjos | Shell scripting | 0 | 22-05-2008 06:37 PM |
| Fedora 8 Installation Hangs / Stops at | maria_88 | Linux software | 2 | 13-12-2007 05:01 PM |
| script hangs when a remote server is down | vikas027 | Shell scripting | 2 | 11-11-2007 03:47 PM |
| Problem my computer | MRTG Mediocre | Linux software | 2 | 21-03-2005 11:55 AM |