1
Upgrade Warnings / Re: system failed to start due to systemd upgrade!
« Last post by Fellfrosch on Today at 22:06:44 »Danke für die Erklärungen. Bin ich ja froh, dass ich als blindes Huhn trotzdem in die richtige Richtung marschiert bin.
$ systemctl is-enabled tmp.mount
generated
$ systemctl is-active tmp.mount
active
$ systemctl status tmp.mount
● tmp.mount - /tmp
Loaded: loaded (/etc/fstab; generated)
Active: active (mounted) since Wed 2024-05-29 21:56:15 CEST; 2min 7s ago
Invocation: 1391d16a0edc412a9ebc1d67510a78a7
Where: /tmp
What: tmpfs
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Tasks: 0 (limit: 38092)
Memory: 8.0K (peak: 2.5M)
CPU: 5ms
CGroup: /system.slice/tmp.mount
Mai 29 21:56:15 laptop1 systemd[1]: Mounting tmp.mount - /tmp...
Mai 29 21:56:15 laptop1 systemd[1]: Mounted tmp.mount - /tmp.
$ mount | grep tmpfs | grep /tmp
tmpfs on /tmp type tmpfs (rw,noatime,inode64)
Unit tmp.mount does not exist, proceeding anyway.
Removed '/etc/systemd/system/tmp.mount'.
# systemctl is-enabled tmp.mount
enabled
# systemctl is-active tmp.mount
active
# systemctl status tmp.mount
Active: active (mounted) since Wed 2024-05-29 21:08:08 CEST; 14min ago
Siduction systemd[1]: Mounting tmp.mount - Temporary Directory /tmp...
Siduction systemd[1]: Mounted tmp.mount - Temporary Directory /tmp.
# mount | grep tmpfs | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=16085924k,nr_inodes=1048576,inode64)
Can be overridden with:Bei mir ist /etc/systemd/system/tmp.mount ein toter Link weil /usr/share/systemd/tmp.mount nicht mehr existiert.
Vor DU
# journalctl -b | grep "/tmp"
Mai 29 18:06:05 pc2 systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway.
Mai 29 18:06:05 pc2 systemd[1]: Mounting tmp.mount - Temporary Directory /tmp...
Mai 29 18:06:05 pc2 systemd[1]: Mounted tmp.mount - Temporary Directory /tmp.
Nach DU
# journalctl -b | grep "/tmp"
Mai 29 19:12:54 pc2 systemd[1]: tmp.mount: Failed to open /etc/systemd/system/tmp.mount: No such file or directory
Boot fehlerfrei vor und nach DU.touch /etc/systemd/system/tmp.mount
Now tmp.mount wasn't listed as bad anymore, but as masked. I unmasked it via systemctl unmask tmp.mount
After that I rebooted, with still deactivated line in fstab. The changelog for systemd 256~rc3-3 says: Make /tmp/ a tmpfs by default. Restore the upstream default and make /tmp/ a tmpfs.
Can be overridden with:
Code: [Select]touch /etc/systemd/system/tmp.mount
or:Code: [Select]systemctl mask tmp.mount
So it seems, it's not a bug, but a feature, that was badly communicated. Can someone test this on bare metal please, I can't free any hardware right now.
systemctl enable tmp.mount
rebooted. Everything looks good. tmp is mounted as tmpfs.systemctl list-unit-files | grep bad
tmp.mount bad enabled
...
Can be overridden with:
...