Hello community,
here is the log from the commit of package selinux-autorelabel for
openSUSE:Factory checked in at 2020-11-10 13:53:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/selinux-autorelabel (Old)
and /work/SRC/openSUSE:Factory/.selinux-autorelabel.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "selinux-autorelabel"
Tue Nov 10 13:53:17 2020 rev:2 rq:847452 version:3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/selinux-autorelabel/selinux-autorelabel.changes
2020-11-02 09:42:30.989732161 +0100
+++
/work/SRC/openSUSE:Factory/.selinux-autorelabel.new.11331/selinux-autorelabel.changes
2020-11-10 13:53:49.406808020 +0100
@@ -1,0 +2,6 @@
+Tue Nov 10 11:05:33 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Set PATH in selinux-autorelabel, some systemd versions strip too
+ much
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ selinux-autorelabel.spec ++++++
--- /var/tmp/diff_new_pack.aU7wd4/_old 2020-11-10 13:53:49.946806999 +0100
+++ /var/tmp/diff_new_pack.aU7wd4/_new 2020-11-10 13:53:49.950806992 +0100
@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
Name: selinux-autorelabel
Version: 3.1
Release: 0
++++++ selinux-autorelabel ++++++
--- /var/tmp/diff_new_pack.aU7wd4/_old 2020-11-10 13:53:49.970806954 +0100
+++ /var/tmp/diff_new_pack.aU7wd4/_new 2020-11-10 13:53:49.974806946 +0100
@@ -3,7 +3,8 @@
# Do automatic relabelling
#
-# . /etc/init.d/functions
+# Set PATH, some systemd versions strip it too much
+PATH=/usr/sbin:/sbin:$PATH
# If the user has this (or similar) UEFI boot order:
#
@@ -51,7 +52,7 @@
echo $"*** Relabeling could take a very long time, depending on file"
echo $"*** system size and speed of hard drives."
- FORCE=`cat /.autorelabel`
+ FORCE=$(cat /.autorelabel)
[ -x "/usr/sbin/quotaoff" ] && /usr/sbin/quotaoff -aug
/usr/sbin/fixfiles $FORCE restore
fi