Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionBruno Goncalves
2015-11-20 10:15:45 UTC
Description of problem:
Update kexec-tools from RHEL-7.1() to RHEL-7.2 () fails.
Error unpacking rpm package kexec-tools-2.0.7-38.el7.x86_64
error: unpacking of archive failed on file /var/crash: cpio: chmod
Version-Release number of selected component (if applicable):
kexec-tools-2.0.7-19.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.configure kdump to use an NFS share
2.Boot the server
3.Confirm the NFS share is mounted on /var/crash
4.Try to update kexec-tools
Actual results:
Running transaction
Updating : kexec-tools-2.0.7-38.el7.x86_64 1/2
Error unpacking rpm package kexec-tools-2.0.7-38.el7.x86_64
error: unpacking of archive failed on file /var/crash: cpio: chmod
kexec-tools-2.0.7-19.el7.x86_64 was supposed to be removed but is not!
Verifying : kexec-tools-2.0.7-19.el7.x86_64 1/2
Verifying : kexec-tools-2.0.7-38.el7.x86_64 2/2
Failed:
kexec-tools.x86_64 0:2.0.7-19.el7 kexec-tools.x86_64 0:2.0.7-38.el7
Complete!
Hi Bruno,
Seems there's some permission problem with /etc/exports on your NFS server.
I tried with the "no_root_squash" NFS option on my NFS server, the update progress properly. Then I changed "no_root_squash" to "root_squash", met the same problem as your descibed in this bug.
So maybe you can try "no_root_squash" and test it.
Regards,
Xunlei
Our NFS server is NetApp, and they do not support no_root_squash, but they allow some other configuration that I could try [1].
But is this really a configuration issue? Note the NFS dump on RHEL-7.1 and 7.2 work well and they are saved to our NFS volume, just during the tool update that the problem happens...
https://kb.netapp.com/support/index?page=content&id=1011504&actp=RSS
If this is just how the update works, I think we can close this as not a bug.
Hi, Bruno
Can you try mount nfs dir which is created by other packages? See if they handle the update right. I feel it is a general issue not only for kexec-tools.
Thanks
Dave
Correct Dave this does not seem to be related to kexec-tools itself.
I've reproduced the problem using util-tools when updating from RHEL-7.1 to 7.2 version.
# mount <NFS share> /usr/share/doc/util-linux-2.23.2/
# yum update util-linux
<snip>
Updating : util-linux-2.23.2-26.el7.x86_64 5/28
Error unpacking rpm package util-linux-2.23.2-26.el7.x86_64
error: unpacking of archive failed on file /usr/share/doc/util-linux-2.23.2: cpio: chmod
error: util-linux-2.23.2-26.el7.x86_64: install failed
Updating : systemd-219-19.el7.x86_64