On 04/18/2012 06:46 AM, Tom Eastep wrote: > On 04/18/2012 04:03 AM, Ed W wrote: >>>> Can you confirm if a config mistake could cause it to sit and >>>> wait for the timeout rather than checking for an alive pid? >>> I cannot. >> >> OK, I will come back to this in the near future, but I can trivially >> reproduce this by running say "shorewall restart", hit control c >> part way through, then run the command again and it sits there for a >> bunch of time waiting on the lock. Remember busybox+uclibc, so quite >> possibly some bug due to those. > > I'll play with it too.
Here's an experiment that I ran: root@gateway:~# shorewall version 4.5.2.2 root@gateway:~# shorewall restart Compiling... Processing /etc/shorewall/params ... ... Shorewall configuration compiled to /var/lib/shorewall/.restart Restarting Shorewall.... Initializing... Processing /etc/shorewall/init ... Processing /etc/shorewall/tcclear ... ^C root@gateway:~# ^C root@gateway:~# cat /var/lib/shorewall/lock 21942 root@gateway:~# shorewall restart Compiling... Processing /etc/shorewall/params ... ... Shorewall configuration compiled to /var/lib/shorewall/.restart WARNING: Stale lockfile /var/lib/shorewall/lock from pid 21942 removed Shorewall is not running Starting Shorewall.... Initializing... ... On this system, /bin/sh is Dash 0.5.5.1-7.4. Seems to work as expected. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
