Bug#1072187: systemd: root fs read only if /tmp is in fstab
David Burrows
burrowsdav at gmail.com
Thu May 30 00:07:23 BST 2024
Package: systemd
Version: 256~rc3-5
Severity: important
X-Debbugs-Cc: burrowsdav at gmail.com
Dear Maintainer,
Installing this update led to my system booting with root (btrfs)
mounted as read only.
In my fstab I have the following:
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
Commenting this out allowed the system to boot again with read/write.
In order to restore tmpfs I had to do the following (as root):
cp /usr/lib/systemd/system/tmp.mount /usr/share/systemd/tmp.mount
The is optional if you wish to have /tmp on root.
Prior to doing this it appears there is a broken symlink:
$ ls -l /etc/systemd/system/tmp.mount
lrwxrwxrwx 1 root root 28 Dec 30 2022 /etc/systemd/system/tmp.mount -> /usr/share/systemd/tmp.mount
I'm guessing that tmp in fstab is no longer default, but I didn't put it
there and it must be left over from an older install. This is consistent with
another 3 systems of mine.
-- Package-specific info:
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.10-1-siduction-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages systemd depends on:
ii libacl1 2.3.2-2
ii libapparmor1 3.0.13-2
ii libaudit1 1:3.1.2-2.1
ii libblkid1 2.40.1-2
ii libc6 2.38-11
ii libcap2 1:2.66-5
ii libcryptsetup12 2:2.7.2-2
ii libfdisk1 2.40.1-2
ii libmount1 2.40.1-2
ii libpam0t64 [libpam0g] 1.5.3-4
ii libseccomp2 2.5.5-1
ii libselinux1 3.5-2+b2
ii libssl3t64 3.2.1-3
ii libsystemd-shared 256~rc3-5
ii libsystemd0 256~rc3-5
ii mount 2.40.1-2
Versions of packages systemd recommends:
ii dbus [default-dbus-system-bus] 1.14.10-4+b1
ii libzstd1 1.5.5+dfsg2-2
ii systemd-timesyncd [time-daemon] 256~rc3-5
Versions of packages systemd suggests:
ii libgcrypt20 1.10.3-3
ii libidn2-0 2.3.7-2
ii liblz4-1 1.9.4-2
ii liblzma5 5.6.1+really5.4.5-1
ii libtss2-rc0t64 4.1.0-1
ii libtss2-tcti-device0t64 [libtss2-tcti-device0] 4.1.0-1
ii polkitd 124-2
pn systemd-boot <none>
ii systemd-container 256~rc3-5
pn systemd-homed <none>
ii systemd-resolved 256~rc3-5
pn systemd-userdbd <none>
Versions of packages systemd is related to:
ii dbus-user-session 1.14.10-4+b1
pn dracut <none>
ii initramfs-tools 0.142
ii libnss-systemd 256~rc3-5
ii libpam-systemd 256~rc3-5
ii udev 256~rc3-5
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list