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

Laurent Bonnaud L.Bonnaud at laposte.net
Thu Apr 7 17:41:44 BST 2022


On 4/7/22 18:06, Michael Biebl wrote:

> Hm, ok. Is this error message from systemd-quotacheck from the
> initramfs or from the real system?

I do not know how to tell.  However I got it to work nevertheless by adding the "ro" mount option in /etc/fstab for the root file system (which the Debian installer does not do).

root at debian:~# systemctl status systemd-quotacheck
● systemd-quotacheck.service - File System Quota Check
      Loaded: loaded (/lib/systemd/system/systemd-quotacheck.service; static)
      Active: active (exited) since Thu 2022-04-07 18:30:40 CEST; 1min 14s ago
        Docs: man:systemd-quotacheck.service(8)
     Process: 233 ExecStart=/lib/systemd/systemd-quotacheck (code=exited, status=0/SUCCESS)
    Main PID: 233 (code=exited, status=0/SUCCESS)
         CPU: 26ms

And it works both with initramfs-tools and dracut.

Perhaps it could be documented somewhere (other than this bug report :>) or even better suggested by systemd-quotacheck in case of failure?

Thanks again or your help!

-- 
Laurent.



More information about the Pkg-systemd-maintainers mailing list