Bug 2027663
Summary: | The "filesystem" package fails to update on a rootless container | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Teoman ONAY <tonay> |
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | swm-qe |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.3 | CC: | mdomonko, pmatilai, pmendezh |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-01-25 16:52:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Teoman ONAY
2021-11-30 11:14:27 UTC
> rpm should skip chowning /proc and /sys when running in a user namespace.
rpm doesn't have any concept of magic directories that should be treated specially, quite intentionally.
How does one determine being inside a user namespace?
(In reply to Panu Matilainen from comment #1) > > rpm should skip chowning /proc and /sys when running in a user namespace. > > rpm doesn't have any concept of magic directories that should be treated > specially, quite intentionally. > > How does one determine being inside a user namespace? As commented by Giuseppe Scrivano in [1] "$ cat /proc/self/uid_map 0 0 4294967295 $ cat /proc/self/gid_map 0 0 4294967295 If the content of these files is different than "0 0 4294967295" then you are running in a user namespace where the root user is not mapped to root in the initial user namespace." Additionally, Debarshi Ray kindly commneted that this same issue was solved in toolbox 0.0.99.3 by this commit [2]. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1723266#c11 [2]: https://github.com/containers/toolbox/commit/7542f5fc867b57bf3dc67bbae02cc09ccc0b5df2 *** This bug has been marked as a duplicate of bug 1912155 *** |