[Rpm-maint] [rpm-software-management/rpm] Gracefully handle plugin operations not permitted in containers (Issue #3234)
Michal Domonkos
notifications at github.com
Wed Aug 7 09:18:16 UTC 2024
Some of the rpm plugins we ship (such as -ima or -systemd-inhibit) require privileges or capabilities that are not necessarily available when running inside containers, and will fail the transaction otherwise. Ideally, one wouldn't install these plugins in such environments in the first place, however they might get pulled in as dependencies of other packages and so being more graceful probably wouldn't hurt. That means, instead of erroring out completely, produce an (informative) warning instead.
There's some precedent in the -selinux plugin already (see e.g. #1103), this ticket is about extending that to the other plugins as needed.
Originally filed against Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2292617
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3234
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3234 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240807/aaf977b6/attachment.html>
More information about the Rpm-maint
mailing list