Bug#793198: systemd: poweroff, reboot without stopping services and unmounting

Michael Biebl biebl at debian.org
Fri Jul 24 11:43:51 BST 2015


Am 08.08.2007 um 02:08 schrieb Пронин Илья Сергеевич:
> [20471.606659] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
> [20471.612886] systemd-journald[158]: Received SIGTERM from PID 1 (systemd-shutdow).
> [20471.646553] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
> [20471.652181] systemd-shutdown[1]: Hardware watchdog 'iTCO_wdt', version 0
> [20471.655064] systemd-shutdown[1]: Unmounting file systems.
> [20471.657896] systemd-shutdown[1]: Unmounting /sys/fs/fuse/connections.
> [20471.660430] systemd-shutdown[1]: Unmounting /dev/hugepages.
> [20471.662908] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
> [20471.665412] systemd-shutdown[1]: Unmounting /dev/mqueue.
> [20471.702029] EXT4-fs (sda4): re-mounted. Opts: (null)
> [20471.712843] EXT4-fs (sda4): re-mounted. Opts: (null)
> [20471.715174] EXT4-fs (sda4): re-mounted. Opts: (null)
> [20471.717743] systemd-shutdown[1]: All filesystems unmounted.
> [20471.719927] systemd-shutdown[1]: Deactivating swaps.
> [20471.722189] systemd-shutdown[1]: All swaps deactivated.
> [20471.724300] systemd-shutdown[1]: Detaching loop devices.
> [20471.767818] systemd-shutdown[1]: All loop devices detached.
> [20471.769796] systemd-shutdown[1]: Detaching DM devices.
> [20471.771772] systemd-shutdown[1]: All DM devices detached.
> [20471.789442] systemd-shutdown[5314]: Spawned /lib/systemd/system-shutdown/debug.sh as 5315.
> [20471.974418] EXT4-fs (sda4): re-mounted. Opts: errors=remount-ro

This all looks fine.
All services are stopped, all file systems unmounted cleanly.
Where do you seen any file systems not unmounted / services not stopped?

Is the file system check really due to an unclean shutdown? Can you show
me the log message during boot that you get?


Maybe your hardware clock is off and the fsck is triggered because of that?
Have you followed the advice in
/usr/share/doc/initramfs-tools/NEWS.Debian.gz and created a file
/etc/e2fsck.conf:
        [options]
        broken_system_clock=1

I'm not quite sure if you need to rebuild the initramfs, but run
"update-initramfs -u" just to be sure.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150724/af38e30a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list