[SOLVED] Re: Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, NFS:/home) failed: No such file or directory

Aki Tuomi aki.tuomi at open-xchange.com
Fri Dec 30 09:40:20 UTC 2022


> On 30/12/2022 10:47 EET Peter <peter at pajamian.dhs.org> wrote:
> 
>  
> On 28/12/22 03:31, Jorge Concha C. wrote:
> > Finally, I found the problem.
> > At build time, I had not installed the 'rpcgen' (RPM) package.
> > Initially, I installed the original RPM of the Rocky-Linux distribution, 
> > having the same problem.
> > I gather that the Rocky-Linux community is also creating the dovecot's 
> > rpm  without 'rpcgen' installed.
> 
> A little bit of background on this since I've been looking into it.
> 
> Up through RHEL 7 the rpcgen binary was included in the glibc-common 
> package, which is part of the standard build deps that are installed for 
> all builds.  As of RHEL 8 this binary was moved to it's own package and 
> was not installed automatically as it was previously.
> 
> This means that rquota (quota on NFS) worked fine up through EL7, but 
> was broken for all builds starting with EL8.  Since dovecot builds fine 
> without rquota support it appears that the issue never came up before, 
> or at least it never got the notice of Red Hat.
> 
> The solution, as you point out is simple.  rpcgen simply needs to be 
> added as a BuildRequires line in the dovecot.spec file and the package 
> will once again be built with rquota support as it was before.
> 
> I filed a bug in Red Hat bugzilla, let's see if anything comes of it:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=2157045
> 
> 
> Peter

Thanks Peter, we'll also take a note of the rpcgen change.

Aki


More information about the dovecot mailing list