[Pkg-sysvinit-devel] Bug#476695: Bug#476695: Needless stats in readproc()
Petter Reinholdtsen
pere at hungry.com
Sat Apr 19 08:40:00 UTC 2008
[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 killall5 do
not kill the fuse processes. I recommend symlinking from a file in
/lib/init/rw/sendsigs.omit.d/ to the pidfile for the fuse process, to
make sure the pid is ignored only when it is listed in the pid file.
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list