Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mlocate for openSUSE:Factory checked 
in at 2022-09-14 16:01:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mlocate (Old)
 and      /work/SRC/openSUSE:Factory/.mlocate.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mlocate"

Wed Sep 14 16:01:47 2022 rev:29 rq:1003535 version:0.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/mlocate/mlocate.changes  2021-10-15 
23:04:24.378116400 +0200
+++ /work/SRC/openSUSE:Factory/.mlocate.new.2083/mlocate.changes        
2022-09-14 16:01:47.885378789 +0200
@@ -1,0 +2,8 @@
+Wed Sep 14 13:16:44 UTC 2022 - Peter Simons <psim...@suse.com>
+
+- Pass "--shell=/bin/sh" to "su" when running the "updatedb"
+  command so that we don't depend on the "${RUN_UPDATEDB_AS}"
+  user's login shell. Since that user is "nobody" by default, the
+  login shell will oftentimes be "/bin/false". [jsc#PED-1717]
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mlocate.spec ++++++
--- /var/tmp/diff_new_pack.Xhz3Ne/_old  2022-09-14 16:01:48.453379724 +0200
+++ /var/tmp/diff_new_pack.Xhz3Ne/_new  2022-09-14 16:01:48.457379729 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mlocate
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ mlocate.service ++++++
--- /var/tmp/diff_new_pack.Xhz3Ne/_old  2022-09-14 16:01:48.493379789 +0200
+++ /var/tmp/diff_new_pack.Xhz3Ne/_new  2022-09-14 16:01:48.497379795 +0200
@@ -15,11 +15,11 @@
 ProtectKernelLogs=true
 ProtectControlGroups=true
 RestrictRealtime=true
-# end of automatic additions 
+# end of automatic additions
 Type=oneshot
 ExecStart=/bin/sh -c \
           "chown -R ${RUN_UPDATEDB_AS}:root /var/lib/mlocate && \
-          su ${RUN_UPDATEDB_AS} -c /usr/bin/updatedb"
+          su --shell=/bin/sh ${RUN_UPDATEDB_AS} -c /usr/bin/updatedb"
 
 # Ensure we have proper umask bnc#941296
 UMask=0022

Reply via email to