* matthieu castet <[EMAIL PROTECTED]>: > Package: shorewall > Version: 2.4.5-1 > Severity: important > > > Hi, > > you should add some check on /var/lib/shorewall/lock in init.d script or > add information. > > For an unknow reason (hard reset ?) /var/lib/shorewall/lock was still > here, and I didn't understand why shorewall seem to hang. > > I reboot, it changes nothing, do a ctrl+c, the there was the same > problem on the next reboot. > > yes I should have wait 60 s, but how could I know there was a timeout ?
I can ask the upstream author to add a warning to inform users that the firewall is locked and that shorewall tries to wait up to 60 second to see if the lock is removed. Another solution could be to force the deletion of the lockfile in the initscript after the firewall shutdown is complete. I think I'll go for the latter and that I'll also add a warning message to inform the user that something is not working properly because after "shorewall stop" the lockfile is still present. -- lorenzo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]