On Sat, 2018-07-28 at 15:04 +0200, Matt Darfeuille wrote:
> 
> Tom, with MUTEX_ON.patch applied, on LEDE '--pid' is not available or
> is
> it done on purpose?:
> 
> root@LEDE:~# ps --pid
> ps: unrecognized option: pid
> BusyBox v1.25.1 () multi-call binary.
> 
> Usage: ps
> 
> Show list of processes
> 
>         w       Wide output
> root@LEDE:~#

Yeah.  The busybox ps is pretty dumb, er, I guess, "basic" is the PC
term.  I didn't notice this in manually trying out the changes Tom's
patch is proposing because I typically install the better ps from
procps-ng-ps.

So, shorewall-lite on LEDE could require that package, but probably the
lighter-weight approach is to use [ -d /proc/$pid ] as the test for a
process existing, or even "kill -0 $pid".

> Brian, any thoughts on the patch?

I installed it but have not had opportunity to reboot my router to see
how well it operates.

Cheers,
b.

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to