RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1937409 - %configure macro should set the --runstatedir option
Summary: %configure macro should set the --runstatedir option
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: redhat-rpm-config
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: beta
: ---
Assignee: Michal Domonkos
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On: 1937406
Blocks: 1831941
TreeView+ depends on / blocked
 
Reported: 2021-03-10 15:26 UTC by Patrik Novotný
Modified: 2023-07-18 14:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-28 13:58:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Patrik Novotný 2021-03-10 15:26:31 UTC
Since the --runstatedir option was backported to autoconf[1], the %configure RPM macro should set this option properly.

This has actually caused some issues, due to an upstream bug[2] causing @RUNSTATEDIR@ not to be properly expanded. This upstream issue wouldn't affect us, if runstatedir was properly for each build.

Some packages cope with this issue on the per package bases[3] in Fedora, but I believe this should be resolved in the %configure macro itself.

More information in the related bug report[4].


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1831941
[2] https://lists.gnu.org/archive/html/bug-autoconf/2021-03/msg00001.html
[3] https://src.fedoraproject.org/rpms/krb5/c/327ebd0b263aa5adaafd83851b8dd9953f984c01?branch=rawhide
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1935653

Comment 3 Florian Weimer 2021-03-10 15:59:02 UTC
I do not think it is wise to make this change in RHEL 8. We don't really know how packages react to changed configure arguments. The risk seems rather high as a result.

What is the expected benefit of this change?

Comment 19 Florian Weimer 2022-06-28 13:58:00 UTC
I don't think we can make this change in an existing distribution because risk is too high for the rather limited benefit. We plan to make this change in Fedora first, following the steps outlined in bug 1937406 comment 9.


Note You need to log in before you can comment on or make changes to this bug.