SHA256
1
0
forked from pool/filesystem

- Fix mode of /proc and /sys, must be 0555 to match kernel

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=190
This commit is contained in:
Ludwig Nussel 2021-01-29 13:30:22 +00:00 committed by Git OBS Bridge
parent d77a09e5b5
commit d263274c55
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 29 13:29:53 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- Fix mode of /proc and /sys, must be 0555 to match kernel
-------------------------------------------------------------------
Mon Nov 16 14:22:50 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package filesystem
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -238,7 +238,9 @@ if posix.stat("/var/lock.rpmsave.tmpx") then
os.remove("/var/lock.rpmsave.tmpx")
end
posix.mkdir("/proc")
posix.chmod("/proc", 0555)
posix.mkdir("/sys")
posix.chmod("/sys", 0555)
%files -f filesystem.list
/usr/lib/tmpfiles.d/fs-tmp.conf