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 1836179 - leapp fails with a permission denied on ldconfig (noexec on /var)
Summary: leapp fails with a permission denied on ldconfig (noexec on /var)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: leapp-repository
Version: 7.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Leapp team
QA Contact: Upgrades and Supportability
URL:
Whiteboard:
Depends On:
Blocks: 1818088
TreeView+ depends on / blocked
 
Reported: 2020-05-15 10:46 UTC by Christophe Besson
Modified: 2023-12-15 17:55 UTC (History)
8 users (show)

Fixed In Version: leapp-repository-0.17.0-1.el7_9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-09 12:33:16 UTC
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5077591 0 None None None 2020-05-15 10:46:11 UTC

Description Christophe Besson 2020-05-15 10:46:12 UTC
Description of problem:
During the upgrade, we got the following error message:
~~~
2020-05-15 04:37:56.316 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator:   Installing       : glibc-common-2.28-101.el8.x86_64                    21/192 
2020-05-15 04:37:56.797 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator:   Running scriptlet: glibc-2.28-101.el8.x86_64                           22/192 
2020-05-15 04:37:56.808 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator:   Installing       : glibc-2.28-101.el8.x86_64                           22/192 
2020-05-15 04:37:56.815 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: Error in POSTIN scriptlet in rpm package glibc
2020-05-15 04:37:56.822 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator:   Running scriptlet: glibc-2.28-101.el8.x86_64                           22/192 
2020-05-15 04:37:56.829 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: error: lua script failed: [string "%post(glibc-2.28-101.el8.x86_64)"]:6: /usr/sbin/ldconfig: Permission denied
2020-05-15 04:37:56.888 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: error: bash-4.4.19-10.el8.x86_64: Verify signature: BAD PARAMETERS (268 0x2ef6b60 536 (nil) 0x34c6970)
2020-05-15 04:37:56.904 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: error: bash-4.4.19-10.el8.x86_64: install failed
2020-05-15 04:37:56.911 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: error: libsepol-2.9-1.el8.x86_64: Verify signature: BAD PARAMETERS (268 0x2faade0 536 (nil) 0x35d3b80)
2020-05-15 04:37:56.929 DEBUG    PID: 12048 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: error: libsepol-2.9-1.el8.x86_64: install failed
...
~~~

leapp does not explain why this issue occurs or what command inhibited the upgrade. It happens while executing "dnf <options> install dnf" (which installs most of the system by dependencies).

Version-Release number of selected component (if applicable):
leapp-repository-0.10.0-2.el7_8.noarch

How reproducible:
100%


Steps to Reproduce:
1. Create a fresh RHEL 7.8 with a separate /var partition.
2. Add the "noexec" mount option on /var in /etc/fstab
3. Launch an upgrade

Actual results:
Error in the glibc rpm scriplet (while executing ldconfig)

Expected results:
A check which would show this configuration will cause an issue.

Comment 11 Petr Stodulka 2022-08-11 12:17:54 UTC
The issue is covered in upstream by this PR:
   https://github.com/oamg/leapp-repository/pull/908

The fix will be part of the next release.

Comment 20 errata-xmlrpc 2022-11-09 12:33:16 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 (leapp and leapp-repository 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-2022:7895


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