Commit Graph

171 Commits

Author SHA1 Message Date
Fedora Release Engineering
6e008c5d67 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:10:03 +00:00
Petr Menšík
7d4445fdaf Include systemd libraries for text file units
Many packages needs to put single *.service file or similar into those
directories, but otherwise does not need to depend on systemd. It would
leave those directories unowned. Avoid owning that directories by every
package.
2022-07-08 18:44:51 +02:00
Fedora Release Engineering
9da9faf49c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 02:59:57 +00:00
Ondřej Vašík
287795dce0 Move /afs into main package, /proc and /sys now ghosted to make rootless container updatable 2021-09-22 11:44:27 +02:00
Fedora Release Engineering
565f46d224 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 22:57:39 +00:00
Pavel Zhukov
c5bdcc96b6 Do not add /afs into content subpackage 2021-07-07 11:50:34 +02:00
Fedora Release Engineering
6c02aa542b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:32:03 +00:00
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
Fedora Release Engineering
b42fd207a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:26:38 +00:00
Fedora Release Engineering
599c7663a9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 18:29:06 +00:00
Ondřej Vašík
ac9076608a do not restore context of /proc (#1722766) 2020-01-27 14:43:28 +01:00
Ondřej Vašík
6c94d78747 add ownership for eBPF bytecode files directories (#1781646) 2019-12-18 15:23:15 +01:00
Fedora Release Engineering
339ac8220c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 00:33:33 +00:00
Ondřej Vašík
1afd3978f1 add new -afs supbackage for /afs directory (#FPC888,#1720232) 2019-06-20 15:54:13 +02:00
Ondřej Vašík
81449f5597 drop ownership for /usr/lib/sse2 (#1702329) 2019-04-29 14:48:25 +02:00
Ondřej Vašík
67576980c3 drop ownership for /etc/xinet.d (#1691146)drop ownership for %{_libdir}/tls, %{_libdir}/sse2 (#1702329) 2019-04-29 14:35:50 +02:00
Ondřej Vašík
af80b8db13 drop legacy /var/gopher (#1667231) 2019-02-11 14:35:22 +01:00
Fedora Release Engineering
49d82782da - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 19:42:08 +00:00
Igor Gnatenko
3b1809e40d Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:02 +01:00
Fedora Release Engineering
1a81a2b1b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:33:41 +00:00
Ondřej Vašík
d7f1e0d076 add ownership of /etc/rwtab.d and /etc/statetab.d 2018-06-21 15:35:35 +02:00
Adam Jackson
89870bc4b8 own /etc/X11/xinit/{,{xinitrc,xinput}.d} 2018-02-20 12:25:24 -05:00
Igor Gnatenko
f04d7bf69f
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:12:43 +01:00
Fedora Release Engineering
9b405ab4d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 09:38:45 +00:00
Ondřej Vašík
9c0a2199f2 drop the ownership of ghostscript dirs (#1533992) 2018-01-13 18:28:55 +01:00
David Kaspar [Dee'Kej]
c7f8e6ee7b Remove /usr/share/ghostscript/ & /usr/share/ghostscript/conf.d/ folders
The former is owned by ghostscript itself, and the latter is no longer
  needed in Fedora. All packages depending on the conf.d/ folder will be
  retired or dropped, starting with Fedora 28...
2018-01-12 18:27:45 +01:00
Ondřej Vašík
a9d98a7b5e own /usr/share/locale and /usr/lib/modules, improve filesystem content file to include symlinks and rootdir 2017-12-14 18:11:53 +01:00
Colin Walters
0028572766 Add /usr/lib/sysimage
This came out of upstream rpm-ecosystem discussion:
http://lists.rpm.org/pipermail/rpm-maint/2017-October/006681.html

While I'm not aware of anyone starting the push to move the rpmdb
in Fedora yet, I do plan to change rpm-ostree soon to use
`/usr/lib/sysimage/rpm-ostree-base-db` or so for its "base" rpmdb,
as distinct from the final one.
2017-12-12 09:41:33 -05:00
Ondřej Vašík
4c45982cd0 own /usr/share/bash-completion{,/completions,/helpers} (#1504616), create and own /usr/lib/debug/.dwz dir to prevent dangling symlink (#1508610) 2017-11-20 18:34:22 +01:00
Ondřej Vašík
db4074f618 improve the content file creation 2017-10-12 09:22:16 -04:00
Ondřej Vašík
cfe0ceb227 create and own file with the content of filesystem package 2017-10-05 14:08:39 +02:00
Fedora Release Engineering
47cc2652a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:34:38 +00:00
Fedora Release Engineering
14b0d1bdb7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:22:25 +00:00
Ondřej Vašík
95d104d46f resolve merge conflict 2017-03-21 13:03:37 +01:00
Ondřej Vašík
2f8c339a9f Move to Pagure.io, add ownership for /usr/share/metainfo/ (#1434008) 2017-03-21 13:02:37 +01:00
Fedora Release Engineering
ed1bc54acf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 09:46:01 +00:00
Ondřej Vašík
63bb20b848 Resolve merge conflict 2017-01-02 11:48:08 +01:00
Ondřej Vašík
586254f37e add ownership for /usr/share/help (#1357974), refresh lang-exceptions list - (#1409402, #1313421) 2017-01-02 11:46:03 +01:00
Richard W.M. Jones
5d64c82349 Add riscv64 to list of 64 bit architectures. 2016-10-11 07:55:15 +01:00
Dennis Gilmore
dd13bc4439 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 20:29:50 +00:00
Ondřej Vašík
6f701993eb own /var/ftp - homedir for system default ftp user (#1302711) 2016-01-29 17:28:56 +01:00
Ondřej Vašík
a237172ed4 Resolves:#1260079 - add mips64 and mips64el to the 64bit arches list 2015-09-10 10:12:13 +02:00
Dennis Gilmore
fc3a3121e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 06:18:46 +00:00
Ondřej Vašík
e12fad0e60 prevent potentially broken symlinks in debuginfo dirs (#1195641) 2015-05-25 09:59:52 +02:00
Peter Robinson
c38f803132 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 12:24:49 +00:00
Ondřej Vašík
9eb51a1e51 revert /media -> /run/media change - as it is more fragile than useful (#965918) 2014-08-14 16:08:05 +02:00
Ondřej Vašík
293135dd8d fix wrong redirection of restorecon stderr (#1124623) 2014-07-30 14:51:53 +02:00
Ondřej Vašík
5644914f69 rename /media directory when replacing with symlink 2014-07-29 15:16:34 +02:00
Ondřej Vašík
9595652b22 add ownership for /usr/share/licenses (#1121416), have /media as symlink to /run/media (#965918) 2014-07-28 15:31:13 +02:00
Ondřej Vašík
5f91819c25 add ownership for /usr/share/wayland-sessions (#1022423) 2014-07-14 14:14:10 +02:00