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