Bug#801361: [systemd] attempts to unmount filesystems at end of boot, INCLUDING ROOT

Antonio Russo antonio.e.russo at gmail.com
Fri Oct 9 04:52:12 BST 2015


Package: systemd
Version: 227-1
Severity: important

--- Please enter the report below this line. ---
I've downgraded all systemd components to 226-4 in the meantime.

The machine in question has /var, /tmp on ZFS (/tmp is mounted
"legacy style"). Because these are needed fairly early in the
boot process, I mount the ZFS filesystems very early in the boot
process, immediately after systemd-udev-settle.

At the end of the boot, systemd decides to unmount lots of things,
including the "legacy" mountpoint (/tmp) and zfs-style mountpoint
/var. Even more strangely, it attempts to unmount / (and fails).

If I log in, and mount the file systems again, and then log out:
systemd again tries to unmount everything.

Because it's attempting to unmount root (which has nothing to do
with ZFS) and the "legacy mount" /tmp, it would seem that this is
a bug rather than some misconfiguration.

The log seemed to suggest that the unmounting happened when "root
slice" was closed or something--I don't remember the exact
error message.

Thanks.

--- System information. ---
Architecture: amd64
Kernel:       Linux 4.2.0-1-amd64

Debian Release: stretch/sid
  501 stable          packages.x2go.org
  350 unstable        ftp.us.debian.org
  300 testing         ftp.us.debian.org
  200 experimental    ftp.us.debian.org
  150 stable          dl.google.com

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-==================
libacl1                     (>= 2.2.51-8) |
libaudit1                    (>= 1:2.2.1) |
libblkid1                     (>= 2.17.2) |
libcap2                       (>= 1:2.10) |
libcryptsetup4               (>= 2:1.4.3) |
libdbus-1-3                    (>= 1.1.1) |
libkmod2                          (>= 5~) |
libpam0g                    (>= 0.99.7.1) |
libselinux1                    (>= 2.1.9) |
libsystemd-journal0             (= 208-8) |
libudev1                         (>= 189) |
libwrap0                      (>= 7.6-4~) |
libsystemd-login0               (= 208-8) |
util-linux                  (>= 2.19.1-2) |
initscripts             (>= 2.88dsf-53.2) |
sysv-rc                                   |
udev                                      |
acl                                       |
adduser                                   |
libcap2-bin                               |


Recommends          (Version) | Installed
=============================-+-===========
libpam-systemd                | 226-4


Suggests        (Version) | Installed
=========================-+-===========
systemd-ui                |



--- Output from package bug script ---



More information about the Pkg-systemd-maintainers mailing list