The basic directory layout for a Linux system
Go to file
Pavel Raiskup bceee1afe1 Make the /proc and /sys %ghost
When working in rootless container environment with user namespaces,
those directories are pre-populated by the container runtime as
bind-mounts from host.

Such bind-mounts though naturally inherit ownership/permissions from the
host's filesystem.rpm, and non-privileged "root" inside container can
not be allowed to touch files owned by host's UID=0.  Those directories
are then shown as owned by 'nobody:nobody'.

When filesystem.rpm holds those /proc and /sys in payload, rpm tries to
re-chown the file to root:root on every package update transaction.
This operation can not succeed because 'root:root' inside container maps
to some large UID/GID on host -- and so the RPM transaction fails.

As a workaround (there's no better way currently), remove /proc and /sys
from the packaged payload, mark those directories %ghost and create them
by scriptlet.

Resolves: rhbz#1548403
Version: 3.14-4
2020-08-10 07:55:50 +02:00
tests Add tests for filesystem package from upstream first project 2017-10-05 14:15:10 -04:00
.gitignore update sources 2011-02-25 17:09:18 +01:00
filesystem.spec Make the /proc and /sys %ghost 2020-08-10 07:55:50 +02:00
iso_639.sed iso_codes package no longer provides tab files, do generate them on fly 2009-08-10 13:55:46 +00:00
iso_3166.sed iso_codes package no longer provides tab files, do generate them on fly 2009-08-10 13:55:46 +00:00
lang-exceptions add ownership for /usr/share/help (#1357974), refresh lang-exceptions list - (#1409402, #1313421) 2017-01-02 11:46:03 +01:00
sources update sources 2011-02-25 17:09:18 +01:00