Comment 2 for bug 87763

Revision history for this message
Colin Watson (cjwatson) wrote :

The attached (untested!) patch implements the '-o omitpid' option (option named in line with pidof) to exclude specified pids. I recommend using something like this in conjunction with an initscript change to read a list of pids to ignore from a file in (say) /var/run. I suspect we'll need a bit of extra glue to stash the file in /dev/.initramfs/ during boot, as /var/run won't be mounted yet at the point where we're mounting the root filesystem.