Open gursewak1997 opened 3 days ago
Also seeing this when building the ppc64le fedora-bootc
images:
error: Installing packages: Running %post for kdump-utils: bwrap(/bin/sh): Child process killed by signal 2
Full logs: https://kojipkgs.fedoraproject.org//work/tasks/8617/125778617/runroot.log
Koji task - https://koji.fedoraproject.org/koji/taskinfo?taskID=125778617
Hi,
Thanks for reporting this bug. Can you enable verbose mode when building FCOS or bootc images? I may know what the problem is if there are similar logs as follows,
$ dnf4 --rpmverbosity=debug --verbose install kdump-utils
...
D: %post(kdump-utils-1.0.49-1.fc42.ppc64le): scriptlet start
D: %post(kdump-utils-1.0.49-1.fc42.ppc64le): execv(/bin/sh) pid 3908
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
D: setexecfilecon: (/bin/sh, rpm_script_t)
+ '[' 1 -eq 1 ']'
+ '[' -x /usr/lib/systemd/systemd-update-helper ']'
+ /usr/lib/systemd/systemd-update-helper install-system-units kdump.service
+ touch /etc/kdump.conf
+ servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
+ servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh '--match=refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin
D: %post(kdump-utils-1.0.49-1.fc42.ppc64le): waitpid(3908) rc 3908 status 0
When trying to build a Rawhide FCOS machine in ppc64le, it results in error
[2024-11-07T15:14:36.503Z] kdump-utils.post: No such file or directory [2024-11-07T15:14:36.503Z] error: Installing packages: Running %post for kdump-utils: bwrap(/bin/sh): Child process killed by signal 2 [2024-11-07T15:14:36.503Z] failed to execute cmd-build: exit status 1 [2024-11-07T15:14:36.507Z] [Pipeline] }
Interestingly, this error is only seen in ppc64le arch. It happened after the upgrade:
kdump-utils-1.0.48-1.fc42.ppc64le
->kdump-utils-1.0.49-1.fc42.ppc64le
(fedora-rawhide)Changes in %post script in the update https://src.fedoraproject.org/rpms/kdump-utils/c/c9c7de4907f308b9452f544f785af483d1b293b1?branch=rawhide
Reproducible: Always
Steps to Reproduce:
Clone of https://bugzilla.redhat.com/show_bug.cgi?id=2324486