2010/10/1 Michael Biebl <mbi...@gmail.com>: > 2010/10/1 Gustavo Sverzut Barbieri <barbi...@profusion.mobi>: >> From: Fabiano Fidencio <fiden...@profusion.mobi> >> >> This functions are working as follows: >> - Send a SIGTERM to all process >> - Send a SIGKILL to all process >> - Try to umount all mount points >> - Try to remount read-only all mount points that can't >> be umounted > > What about remote mounts (e.g. NFS requiring portmap) or fuse mounts? > If you kill their processes before unmounting you can not unmount > those fs cleanly.
Other important use cases: - LVM - RAID/mdam - luks/cryptsetup How can those tools hook into the shutdown process so they can correctly tear down their devices *after* running processes have been stopped? In Debian we have dedicated sysv init scripts which run after the killall script and before the shutdown script. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel