Bug 2157045

Summary: Dovecot missing rquota support due to missing builddep
Product: Red Hat Enterprise Linux 9 Reporter: Peter Ajamian <peter>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: VERIFIED --- QA Contact: Evgeny Fedin <efedin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.1CC: efedin, pasik
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dovecot-2.3.16-9.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Ajamian 2022-12-30 08:46:33 UTC
Description of problem:
In RHEL 8 Red Hat moved the rpcgen binary out of the glibc-common package to its own package (rpcgen).  This had the side-effect of removing the rpcgen binary from the dovecot build environment.  Dovecot builds fine without it, but the missing dep causes rquota support to be disabled in the resulting dovecot build.

The solution is simple.  The dovecot.spec file simply needs to have rpcgen added as a builddep and rquota will start working again:

BuildRequires: rpcgen

Please note that while this bug is filed against RHEL 9 it is also present in RHEL 8 with the same solution.