Package: quotatool
Version: 1.6.2-6

quotatool fails trying to adjust the grace time:

0 root@test-fs:~$ quotatool -vvv -u -b -t "2 weeks" /home
quotatool: option: 'v', argument: '(null)'
quotatool: option: 'u', argument: '(null)'
quotatool: not mangling: NULL user
quotatool: using uid (null)
quotatool: option: 'b', argument: '(null)'
quotatool: working with block limits
quotatool: option: 't', argument: '2 weeks'
quotatool: using filesystem /home
quotatool: Looking for fs_spec '/home'
quotatool: Checking device 'sysfs', mounted at '/sys'
... snip ...
quotatool: Checking device '/dev/xvdb1', mounted at '/home'
quotatool: filesystem /home has device node /dev/xvdb1
quotatool: Detecting quota format
quotatool: Detected quota format: VFSV1
quotatool: Detected quota interface: GENERIC
quotatool: fetching quotas: device='/dev/xvdb1',id='0'
quotatool:
quotatool: Limit          Old              New
quotatool: -----          ---              ---
quotatool: block grace:   25200            1209600
quotatool: Failed setting gracetime (generic): Invalid argument
3 root@test-fs:~$

As the dev of this tool figured out, there where some quota api changes
in the more recent kernels (including bookwoorms kernel) causing this to
fail.

Since 1.6.3 and 1.6.4 are pure bugfix releases it shouldn't be an issue
updating this tool without breaking anything in the system. As I guess
that it's against debian policy to bump up the version, might it be
possible to get this in backports?

A quick test of the current git version 1.6.4 in bookworm confirmed its
functionality again.

0 root@test-fs:~/quotatool/git/quotatool-master_1.6.4$ ./quotatool -vvv
-u -b -t "2 weeks" /home
quotatool: option: 'v', argument: '(null)'
quotatool: option: 'u', argument: '(null)'
quotatool: not mangling: NULL user
quotatool: using uid (null)
quotatool: option: 'b', argument: '(null)'
quotatool: working with block limits
quotatool: option: 't', argument: '2 weeks'
quotatool: using filesystem /home
quotatool: Looking for fs_spec '/home'
quotatool: Checking device 'sysfs', mounted at '/sys'
... snip ...
quotatool: Checking device '/dev/xvdb1', mounted at '/home'
quotatool: filesystem /home has device node /dev/xvdb1
quotatool: Detecting quota format
quotatool: Detected quota format: VFSV1
quotatool: Detected quota interface: GENERIC
quotatool: fetching quotas: device='/dev/xvdb1',id='0'
quotatool:
quotatool: Limit          Old              New
quotatool: -----          ---              ---
quotatool: block grace:   25200            1209600
quotatool: >> set global block gracetime
0 root@test-fs:~/quotatool/git/quotatool-master_1.6.4$

Best regards
Christian

Reply via email to