Hello community,
here is the log from the commit of package dbus-1 for openSUSE:Factory checked in at 2017-01-31 12:28:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dbus-1 (Old)
and /work/SRC/openSUSE:Factory/.dbus-1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dbus-1"
Changes:
--------
--- /work/SRC/openSUSE:Factory/dbus-1/dbus-1.changes 2017-01-11 12:02:17.610086783 +0100
+++ /work/SRC/openSUSE:Factory/.dbus-1.new/dbus-1.changes 2017-02-03 17:35:25.560022150 +0100
@@ -1,0 +2,8 @@
+Wed Jan 25 00:49:03 UTC 2017 - sflees@suse.de
+
+- Don't restart dbus on upgrade - Includes temporary work around
+ for last version boo#1020301
+- Add 0001-Add-RefuseManualStartStop.patch don't allow users to Manually
+ start or stop dbus.
+
+-------------------------------------------------------------------
New:
----
0001-Add-RefuseManualStartStop.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dbus-1.spec ++++++
--- /var/tmp/diff_new_pack.WIKAHJ/_old 2017-02-03 17:35:26.255923654 +0100
+++ /var/tmp/diff_new_pack.WIKAHJ/_new 2017-02-03 17:35:26.259923088 +0100
@@ -19,6 +19,8 @@
%define with_systemd 1
%define _name dbus
%define _libname libdbus-1-3
+# Temporary code to disable service restart on update sflees@suse.de boo#1020301
+%global _backup /etc/sysconfig/services.rpmbak.%{name}-%{version}-%{release}
%if 0%{?suse_version} <= 1320
%define _userunitdir %{_prefix}/lib/systemd/user
%endif
@@ -38,6 +40,8 @@
# PATCH-FIX-OPENSUSE coolo@suse.de -- force a feature configure won't accept without x11 in buildrequires
Patch1: dbus-do-autolaunch.patch
Patch2: 0001-Drop-Install-sections-from-user-services.patch
+# Patch-Feature-opensuse sflees@suse.de, users shouldn't be allowed to start / stop the dbus service.
+Patch3: 0001-Add-RefuseManualStartStop.patch
BuildRequires: audit-devel
BuildRequires: doxygen
BuildRequires: libcap-ng-devel
@@ -113,6 +117,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
@@ -227,6 +232,31 @@
%endif
%service_add_pre dbus.service dbus.socket
+# Lines below are temporary code to disable service restart on update sflees@suse.de boo#1020301
+# These are potentially not needed on non tumbleweed systems where updates while running a desktop are not supported.
+# This seems likely to only effect the last version of tumbleweed where the service files were added and can probably be
+# removed reletavly soon.
+
+# Get the current version
+CURRENT_VER=$(dbus-daemon --version | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/' | head -1)
+
+# If the current version is or less then 1.10.2 where this change was added then migration needs to be run
+# The following line will return 1.10.2 if its newer then the current version
+TEST_VER=$(printf "1.10.2\n$CURRENT_VER" | sort -Vr | head -1)
+
+if [[ "$FIRST_ARG" -gt 1 && $TEST_VER == "1.10.12" ]]; then
+ if [[ -f /etc/sysconfig/services ]]; then
+ cp -a /etc/sysconfig/services %{_backup}
+ else
+ touch %{_backup}
+ fi
+ cat >>/etc/sysconfig/services <
participants (1)
-
root@hilbertn.suse.de