Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kernel-uek-core.posttrans to list of ignored package scripts #4912

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

fredtibbitts
Copy link
Contributor

This PR fixes rpm-ostree on Oracle Linux UEKR7. UEKR7 has a different package layout than UEKR6. In particular, some postinstall scripts that used to run in "kernel-uek" are now run as part of "kernel-uek-core". This causes rpm-ostree to output lots of errors and eventually fails.

The fix is to add "kernel-uek-core" to the ignore list of posttrans scripts.

Sample snippet of output showing the errors before the fix:

rpm-ostree compose tree --unified-core  --repo=./ostree  configs/manifest.yaml
...
⠤ Running posttrans scripts... kernel-uek-core
...
kernel-uek-core.posttrans: cp: setting attributes for '/var/tmp/dracut.HpI4IW/initramfs/shutdown': Operation not supported
kernel-uek-core.posttrans: dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99shutdown/shutdown.sh' to '/shutdown'
kernel-uek-core.posttrans: dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.HpI4IW/initramfs -l /usr/lib/dracut/modules.d/99shutdown/shutdown.sh /shutdown
kernel-uek-core.posttrans: libkmod: kmod_module_get_holders: could not open '/sys/module/vhost_net/holders': No such file or directory
...

Copy link

openshift-ci bot commented Apr 10, 2024

Hi @fredtibbitts. Thanks for your PR.

I'm waiting for a coreos member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@cgwalters
Copy link
Member

cc #4726 for the more sustainable fix

@fredtibbitts
Copy link
Contributor Author

@cgwalters this seems to be stuck waiting for an expected check?

@cgwalters
Copy link
Member

/ok-to-test

@cgwalters cgwalters merged commit 5dd7dc9 into coreos:main Apr 12, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants