[Rpm-maint] [rpm-software-management/rpm] unshare plugin fails in an empty chroot (Issue #3187)
Panu Matilainen
notifications at github.com
Wed Jun 26 13:46:46 UTC 2024
**Describe the bug**
unshare plugin fails in various ways when installing to an empty chroot.
**To Reproduce**
Steps to reproduce the behavior:
1. Install F41, install rpm-plugin-unshare
2. dnf --installroot=/srv/test --disablerepo="*" --enablerepo="rawhide" install rpm
**Expected behavior**
No errors encountered.
**Output**
Errors like this repeated for various scriptlets:
> [...]
Running scriptlet: p11-kit-trust-0.25.3-4.fc40.x86_64 52/77
error: failed to mount private /: Invalid argument
error: Plugin unshare: hook scriplet_fork_post failed
warning: %post(p11-kit-trust-0.25.3-4.fc40.x86_64) scriptlet failed, exit status 126
[...]
**Environment**
- OS / Distribution: Fedora 41
- Version: rpm >= 4.20
**Additional context**
Didn't investigate, but it's possible that unshare simply requires /proc to be mounted at the, in which case the plugin or parts of it needs to be disabled if /proc isn't there.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3187
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3187 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240626/88bdb216/attachment.html>
More information about the Rpm-maint
mailing list