On Sun, 20 Mar 2016 09:13:32 +0100 Simone Rossetto <simro...@gmail.com> wrote:

>
> Step 1: enable quota on filesystems.
> I edited /etc/fstab adding, to any partition I want to monitor, the following > settings "usrjquota=aquota.user,jqfmt=vfsv0" (I choose only user quota, but
> adding group quota makes no difference)
>
> Step 2: remount filesystems.
> "mount -o remount /mountpoint" for any mountpoint just edited in /etc/fstab
>
> Step 3: install quota "aptitude install quota"
> On jessie it fails with the error I already reported, on stretch the
> installation
> completes without errors but the quota is not enabled and on reboot no quota
> still present.
>
> To solve the issue I have to stop quota.service, exec "quotacheck -cau" and,
> on jessie, disable and mask quotaon.service. Then reboot the system.
>
>
> Bye
> Simone


I confirm.

Paramétrage de quota (4.01-8) ...
Job for quota.service failed. See 'systemctl status quota.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript quota, action "start" failed.
dpkg: erreur de traitement du paquet quota (--configure) :

And the method of Simone is ok

:~# systemctl stop quota.service
:~# quotacheck -cau
:~# systemctl start quota.service
:~# systemctl enable quota

cep

Reply via email to