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: CLOSED ERRATA 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: 2023-11-07 08:33:06 UTC 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.

Comment 9 errata-xmlrpc 2023-11-07 08:33:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (dovecot bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6445