Bug#476695: [Pkg-sysvinit-devel] Bug#476695: Needless stats in readproc()

2008-04-19 Thread Petter Reinholdtsen
[Goswin von Brederlow] The attached patch adds a new parameter to readproc() telling it to stat or not to stat and sets this flag for the killa5 and pidof case. I suspect this is the wrong approach. The sendsigs omitpid feature is created for this use case, and it can be used to make sure

Bug#476695: [Pkg-sysvinit-devel] Bug#476695: Needless stats in readproc()

2008-04-19 Thread Goswin von Brederlow
Petter Reinholdtsen [EMAIL PROTECTED] writes: [Goswin von Brederlow] The attached patch adds a new parameter to readproc() telling it to stat or not to stat and sets this flag for the killa5 and pidof case. I suspect this is the wrong approach. The sendsigs omitpid feature is created for

Bug#476695: Needless stats in readproc()

2008-04-18 Thread Goswin von Brederlow
Package: sysvinit-utils Version: 2.86.ds1-56 Severity: wishlist Tags: patch Hi, we use fuse-unionfs for /usr in a pool of systems. When rebooting killall5 will stop all processes to avoid race conditions and then calls readproc(). readproc(), being a common function for killall5 and pidof, in