diff --git a/filesystem.changes b/filesystem.changes index d36f6f3..1b05173 100644 --- a/filesystem.changes +++ b/filesystem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 29 13:29:53 UTC 2021 - Ludwig Nussel + +- Fix mode of /proc and /sys, must be 0555 to match kernel + ------------------------------------------------------------------- Mon Nov 16 14:22:50 UTC 2020 - Ludwig Nussel diff --git a/filesystem.spec b/filesystem.spec index b0892c1..fed3336 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -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