On 04/18/2012 07:07 AM, Tom Eastep wrote:
> 
> 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.
> 

This is with Busybox Ash 1:1.17.1-8.

root@gateway:~# cat /var/lib/shorewall/lock
24287
root@gateway:~# shorewall restart
   WARNING: Stale lockfile /var/lib/shorewall/lock from pid 24287 removed
   Shorewall is not running
Starting Shorewall....
Initializing...

-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 \________________________________________________

Attachment: 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

Reply via email to