Accepting request 848889 from home:lnussel:branches:Base:System

- /proc and /sys should be %ghost to allow filesystem package updates in
  rootless container environments (rh#1548403)

OBS-URL: https://build.opensuse.org/request/show/848889
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=188
This commit is contained in:
Thorsten Kukuk 2020-11-20 12:30:44 +00:00 committed by Git OBS Bridge
parent 11aece205d
commit d77a09e5b5
4 changed files with 10 additions and 2 deletions

View File

@ -29,7 +29,6 @@
0755 root root /lib/firmware
0755 root root /mnt
0755 root root /opt
0555 root root /proc
0700 root root /root
0700 root root /root/.gnupg
0755 root root /root/bin
@ -38,7 +37,6 @@
0755 root root /srv/www
0755 root root /srv/www/cgi-bin
0755 root root /srv/www/htdocs
0555 root root /sys
1777 root root /tmp
0755 root root /usr
0755 root root /usr/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 16 14:22:50 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- /proc and /sys should be %ghost to allow filesystem package updates in
rootless container environments (rh#1548403)
-------------------------------------------------------------------
Sat Oct 10 12:41:34 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>

View File

@ -237,6 +237,8 @@ if posix.stat("/var/lock.rpmsave.tmpx") then
os.execute("mv /var/lock.rpmsave.tmpx/* /var/lock")
os.remove("/var/lock.rpmsave.tmpx")
end
posix.mkdir("/proc")
posix.mkdir("/sys")
%files -f filesystem.list
/usr/lib/tmpfiles.d/fs-tmp.conf

View File

@ -0,0 +1,2 @@
0555 root root /proc
0555 root root /sys