[Pkg-sysvinit-devel] Bug#258420: initscripts: On shutdown, first kills all processes including portmap, then tries to unmount network filesystems (which fails)

Petter Reinholdtsen pere at hungry.com
Fri Sep 8 11:33:08 UTC 2006


[ Thomas Hood ]
> Proposal: modify killall5 to exclude certain processes (either by
> name or by number -- details to be worked out later) named with an
> "-x" option, then use this option in the sendsigs initscript.

Another idea is to "split" sendsigs into two scripts, one sendsigs-nfs
to kill all processes currently using the NFS-mounted volumes, for
example using 'fuser -m /path/to/nfs-volume', and one sendsigs
executed between umountnfs.sh and umountfs to kill the remaining
processes?  Such approach should be less dependent on the process
names and other magic constants.

Friendly,
-- 
Petter Reinholdtsen




More information about the Pkg-sysvinit-devel mailing list