Bug#1009122: systemd-quotacheck : does not work on root file system

Laurent Bonnaud L.Bonnaud at laposte.net
Fri Apr 8 09:32:05 BST 2022


On 4/7/22 18:41, Laurent Bonnaud wrote:

> However I got it to work nevertheless by adding the "ro" mount option
> in /etc/fstab for the root file system

This "solves" the quotacheck problem, but unfortunately it has many other negative consequences, such as:

Apr 08 05:01:29 hostname systemd[1]: swapfile.swap: Swap process exited, code=exited, status=255/EXCEPTION
Apr 08 05:01:29 hostname systemd[1]: swapfile.swap: Failed with result 'exit-code'.
Apr 08 05:01:29 hostname systemd[1]: Failed to activate swap /swapfile.

Apr 08 05:01:30 hostname systemd-tmpfiles[522]: rm_rf(/tmp): Read-only file system

Apr 08 05:01:30 hostname systemd[539]: systemd-timesyncd.service: Failed to set up mount namespacing: /run/systemd/unit-root/dev: Read-only file system
Apr 08 05:01:30 hostname systemd[539]: systemd-timesyncd.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-timesyncd: Read-only file system

Such this "solution" can only be used as a "one shot" trick followed by a proper reboot with a rw file system.

-- 
Laurent.



More information about the Pkg-systemd-maintainers mailing list