From d263274c5589ef56c53c822b6d4c88fdeeb24bb3433b7ab0ad3be3413349f12b Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 29 Jan 2021 13:30:22 +0000 Subject: [PATCH] - 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 --- filesystem.changes | 5 +++++ filesystem.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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