[Dovecot] quotactl bug?
more on the strange quota error....this is in BSD, with quotas referenced on an NFS, and users provided by YP/NIS
quotactl(Q_GETQUOTA, /.amd_mnt/crock/vol/v_user1/jdoe) failed: Operation not supported
this looks strange to me, as the specification for quotactl states the function Q_GETQUOTA:
Q_GETQUOTA Get disk quota limits and current usage for the user or
group (as determined by the command type) with identifier
id. The addr argument is a pointer to a struct dqblk
structure (defined in
this directory path is not a valid UID...rather, its my user home directory path!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
JOHN ROMAN a écrit :
more on the strange quota error....this is in BSD, with quotas referenced on an NFS, and users provided by YP/NIS
quotactl(Q_GETQUOTA, /.amd_mnt/crock/vol/v_user1/jdoe) failed: Operation not supported
this looks strange to me, as the specification for quotactl states the function Q_GETQUOTA:
Q_GETQUOTA Get disk quota limits and current usage for the user or group (as determined by the command type) with identifier id. The addr argument is a pointer to a struct dqblk structure (defined in <ufs/ufs/quota.h>).
this directory path is not a valid UID...rather, its my user home directory path!
For us (whith FreeBSD 6.x and 7.0), this (quota over NFS) only works since 1.1. I had the same error with dovecot-1.0x.
With 1.1, we still need:
- rquotad in /etc/inetd.conf in both server and client (and of cource inetd_enable="YES" in /etc/rc.conf ;) to check this, "# rpcinfo -p server | grep rquota"
- quota enable on this filesystem...
I think there was a patch somewhere to enable this on 1.0x too... check the archives.
___________________________________________________________
/ *Geoffroy DESVERNAY* | \
/\ `Service info` | Tel: (+33|0)4 91 05 45 24 /\
\/ Ecole Centrale de Marseille | Fax: (+33|0)4 91 05 45 98 \/
\ (ex-EGIM) | Mail: dgeo@ec-marseille.fr /
-----------------------------------------------------------
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhIAQ8ACgkQGbFYzwF8gKqGzACgnFNWOJCnEaSv78105RyXa1j2 eSoAnRSwFGJLQrBFz6e1dQ/S5TCiIFdh =ROXg -----END PGP SIGNATURE-----
participants (2)
-
Geoffroy Desvernay
-
JOHN ROMAN