Hello community, here is the log from the commit of package dbus-1 for openSUSE:Factory checked in at 2017-12-15 14:02:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dbus-1 (Old) and /work/SRC/openSUSE:Factory/.dbus-1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dbus-1" Fri Dec 15 14:02:09 2017 rev:149 rq:555922 version:1.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/dbus-1/dbus-1-x11.changes 2017-07-30 11:22:03.494451386 +0200 +++ /work/SRC/openSUSE:Factory/.dbus-1.new/dbus-1-x11.changes 2017-12-15 14:02:14.945700550 +0100 @@ -1,0 +2,73 @@ +Mon Dec 11 10:40:43 UTC 2017 - [email protected] + +- Swap a missed libdir to libexecdir + +------------------------------------------------------------------- +Sun Dec 10 17:14:28 UTC 2017 - [email protected] + +- Do not hide errors during useradd. + +------------------------------------------------------------------- +Wed Nov 22 07:58:25 UTC 2017 - [email protected] + +- use %{_libexecdir}/dbus-1 as libexecdir + +------------------------------------------------------------------- +Thu Nov 16 02:21:08 UTC 2017 - [email protected] + +- Update to 1.12.2 +Deprecations: +• Eavesdropping is officially deprecated in favour of BecomeMonitor. + See the release notes for spec version 0.31 (in dbus 1.11.14). +• [Unix] Flag files in /var/run/console/${username} are deprecated. + See the release notes for 1.11.18. +New APIs: +• <allow> and <deny> rules in dbus-daemon configuration can now + include send_broadcast="true", send_broadcast="false", + max_unix_fds="N", min_unix_fds="N" (for some integer N). + See the release notes for 1.11.18. +• dbus_try_get_local_machine_id() is like + dbus_get_local_machine_id(), but returns a DBusError. +• New APIs around DBusMessageIter to simplify cleanup. + See the release notes for 1.11.16. +• The message bus daemon now implements the standard Introspectable, + Peer and Properties interfaces. See the release notes for + dbus 1.11.14 and spec version 0.31. +• DTDs for introspection XML and bus configuration are installed. +• [Unix] A new unix:dir=… address family resembles unix:tmpdir=… but + never uses Linux abstract sockets, which is advantageous for + containers. On non-Linux it is equivalent to unix:tmpdir=…. + See the release notes for dbus 1.11.14 and spec version 0.31. +• [Unix] New option "dbus-launch --exit-with-x11". +• [Unix] Session managers can create transient .service files in + $XDG_RUNTIME_DIR/dbus-1/services. See the release notes for 1.11.12. +• [Unix] A sysusers.d snippet can create the messagebus user on-demand. +Miscellaneous behaviour changes: +• [Unix] The session bus now logs to syslog if it was started by + dbus-launch. +• [Unix] Internal warnings are logged to syslog if configured. +• [Unix] Exceeding an anti-DoS limit is logged to syslog if configured, + or to stderr. +- Enabled "make check test suite" +- Patches removed, fixed upstream + * fix-upstream-drop-install-sections-from-user-services.patch + * fix-upstream-increase-backlog.patch + * fix-upstream-timeout-reset-1.patch + * fix-upstream-timeout-reset-2.patch + +------------------------------------------------------------------- +Mon Sep 11 10:28:38 UTC 2017 - [email protected] + +- boo#1027201 dbus-daemon not found +- boo#978477 systemd reseting under heavy load + * fix-upstream-timeout-reset-1.patch + * fix-upstream-timeout-reset-2.patch +------------------------------------------------------------------- +Mon Aug 28 01:39:08 UTC 2017 - [email protected] + +- boo#1027200 don't generate machine-id in %post systemd will do it + on first boot. +- swap usage of /bin/false to /usr/bin/false +- Use libexecdir=%{_libdir}/dbus-1 rather then /lib/dbus-1 + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/dbus-1/dbus-1.changes 2017-07-30 11:22:03.750415298 +0200 +++ /work/SRC/openSUSE:Factory/.dbus-1.new/dbus-1.changes 2017-12-15 14:02:17.789563265 +0100 @@ -1,0 +2,78 @@ +Mon Dec 11 10:40:43 UTC 2017 - [email protected] + +- Swap a missed libdir to libexecdir + +------------------------------------------------------------------- +Sun Dec 10 17:14:28 UTC 2017 - [email protected] + +- Do not hide errors during useradd. + +------------------------------------------------------------------- +Thu Nov 23 10:04:03 UTC 2017 - [email protected] + +- Fix dbus-daemon-launch-helper to use proper ref to libexecdir + +------------------------------------------------------------------- +Wed Nov 22 07:58:25 UTC 2017 - [email protected] + +- use %{_libexecdir}/dbus-1 as libexecdir + +------------------------------------------------------------------- +Thu Nov 16 02:21:08 UTC 2017 - [email protected] + +- Update to 1.12.2 +Deprecations: +• Eavesdropping is officially deprecated in favour of BecomeMonitor. + See the release notes for spec version 0.31 (in dbus 1.11.14). +• [Unix] Flag files in /var/run/console/${username} are deprecated. + See the release notes for 1.11.18. +New APIs: +• <allow> and <deny> rules in dbus-daemon configuration can now + include send_broadcast="true", send_broadcast="false", + max_unix_fds="N", min_unix_fds="N" (for some integer N). + See the release notes for 1.11.18. +• dbus_try_get_local_machine_id() is like + dbus_get_local_machine_id(), but returns a DBusError. +• New APIs around DBusMessageIter to simplify cleanup. + See the release notes for 1.11.16. +• The message bus daemon now implements the standard Introspectable, + Peer and Properties interfaces. See the release notes for + dbus 1.11.14 and spec version 0.31. +• DTDs for introspection XML and bus configuration are installed. +• [Unix] A new unix:dir=… address family resembles unix:tmpdir=… but + never uses Linux abstract sockets, which is advantageous for + containers. On non-Linux it is equivalent to unix:tmpdir=…. + See the release notes for dbus 1.11.14 and spec version 0.31. +• [Unix] New option "dbus-launch --exit-with-x11". +• [Unix] Session managers can create transient .service files in + $XDG_RUNTIME_DIR/dbus-1/services. See the release notes for 1.11.12. +• [Unix] A sysusers.d snippet can create the messagebus user on-demand. +Miscellaneous behaviour changes: +• [Unix] The session bus now logs to syslog if it was started by + dbus-launch. +• [Unix] Internal warnings are logged to syslog if configured. +• [Unix] Exceeding an anti-DoS limit is logged to syslog if configured, + or to stderr. +- Enabled "make check test suite" +- Patches removed, fixed upstream + * fix-upstream-drop-install-sections-from-user-services.patch + * fix-upstream-increase-backlog.patch + * fix-upstream-timeout-reset-1.patch + * fix-upstream-timeout-reset-2.patch + +------------------------------------------------------------------- +Mon Sep 11 10:28:38 UTC 2017 - [email protected] + +- boo#1027201 dbus-daemon not found +- boo#978477 systemd reseting under heavy load + * fix-upstream-timeout-reset-1.patch + * fix-upstream-timeout-reset-2.patch +------------------------------------------------------------------- +Mon Aug 28 01:39:08 UTC 2017 - [email protected] + +- boo#1027200 don't generate machine-id in %post systemd will do it + on first boot. +- swap usage of /bin/false to /usr/bin/false +- Use libexecdir=%{_libdir}/dbus-1 rather then /lib/dbus-1 + +------------------------------------------------------------------- Old: ---- dbus-1.10.20.tar.gz fix-upstream-drop-install-sections-from-user-services.patch fix-upstream-increase-backlog.patch New: ---- dbus-1.12.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbus-1-x11.spec ++++++ --- /var/tmp/diff_new_pack.2UCDwr/_old 2017-12-15 14:02:19.285491050 +0100 +++ /var/tmp/diff_new_pack.2UCDwr/_new 2017-12-15 14:02:19.289490857 +0100 @@ -23,7 +23,7 @@ %endif %bcond_without selinux Name: dbus-1-x11 -Version: 1.10.20 +Version: 1.12.2 Release: 0 Summary: D-Bus Message Bus System License: GPL-2.0+ or AFL-2.1 @@ -38,8 +38,7 @@ Patch1: feature-suse-do-autolaunch.patch # Patch-Feature-opensuse [email protected], users shouldn't be allowed to start / stop the dbus service. Patch2: feature-suse-refuse-manual-start-stop.patch -Patch3: fix-upstream-drop-install-sections-from-user-services.patch -Patch4: fix-upstream-increase-backlog.patch +BuildRequires: autoconf-archive BuildRequires: libcap-ng-devel BuildRequires: libexpat-devel BuildRequires: libtool @@ -75,7 +74,7 @@ # is_opensuse was first defined after openSUSE 13.2 %configure \ --disable-static \ - --libexecdir=/lib/dbus-1 \ + --libexecdir=%{_libexecdir}/dbus-1 \ --enable-inotify \ --disable-doxygen-docs \ %if %{with selinux} ++++++ dbus-1.spec ++++++ --- /var/tmp/diff_new_pack.2UCDwr/_old 2017-12-15 14:02:19.313489698 +0100 +++ /var/tmp/diff_new_pack.2UCDwr/_new 2017-12-15 14:02:19.313489698 +0100 @@ -26,7 +26,7 @@ %endif %bcond_without selinux Name: dbus-1 -Version: 1.10.20 +Version: 1.12.2 Release: 0 Summary: D-Bus Message Bus System License: GPL-2.0+ or AFL-2.1 @@ -41,12 +41,11 @@ Patch1: feature-suse-do-autolaunch.patch # Patch-Feature-opensuse [email protected], users shouldn't be allowed to start / stop the dbus service. Patch2: feature-suse-refuse-manual-start-stop.patch -Patch3: fix-upstream-drop-install-sections-from-user-services.patch -Patch4: fix-upstream-increase-backlog.patch BuildRequires: audit-devel +BuildRequires: autoconf-archive BuildRequires: doxygen BuildRequires: libcap-ng-devel -BuildRequires: libexpat-devel +BuildRequires: libexpat-devel >= 2.1.0 BuildRequires: libtool BuildRequires: permissions BuildRequires: pkg-config @@ -129,7 +128,7 @@ # is_opensuse was first defined after openSUSE 13.2 %configure \ --disable-static \ - --libexecdir=/lib/dbus-1 \ + --libexecdir=%{_libexecdir}/dbus-1 \ --enable-inotify \ --enable-doxygen-docs \ %if %{with selinux} @@ -155,6 +154,9 @@ doxygen -u && doxygen ./cleanup-man-pages.sh +%check +make check + %install %make_install @@ -183,7 +185,9 @@ install -d %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d mkdir -p %{buildroot}%{_localstatedir}/lib/dbus -touch %{buildroot}/%{_localstatedir}/lib/dbus/machine-id + +# don't ship executables in doc +chmod -x %{buildroot}%{_datadir}/doc/dbus/examples/GetAllMatchRules.py # Link the binaries that were in /bin back to /bin for compat (maybe remove for SLE-16) # Currently required to make upower work together with systemd @@ -203,19 +207,19 @@ find %{buildroot} -type f -name "*.la" -delete -print %verifyscript -n dbus-1 -%verify_permissions -e /lib/dbus-1/dbus-daemon-launch-helper +%verify_permissions -e %{_libexecdir}/dbus-1/dbus-daemon-launch-helper %post -n %{_libname} -p /sbin/ldconfig %postun -n %{_libname} -p /sbin/ldconfig %pre -getent group messagebus >/dev/null 2>/dev/null || \ +getent group messagebus >/dev/null || \ %{_sbindir}/groupadd -r messagebus %if 0%{?suse_version} <= 1315 && !0%{?is_opensuse} -getent passwd messagebus >/dev/null 2>/dev/null || \ - %{_sbindir}/useradd -r -s /bin/false -c "User for D-Bus" -d %{_localstatedir}/run/dbus -g messagebus messagebus +getent passwd messagebus >/dev/null || \ + %{_sbindir}/useradd -r -s /usr/bin/false -c "User for D-Bus" -d %{_localstatedir}/run/dbus -g messagebus messagebus %else -getent passwd messagebus >/dev/null 2>/dev/null || \ - %{_sbindir}/useradd -r -s /bin/false -c "User for D-Bus" -d /run/dbus -g messagebus messagebus +getent passwd messagebus >/dev/null || \ + %{_sbindir}/useradd -r -s /usr/bin/false -c "User for D-Bus" -d /run/dbus -g messagebus messagebus %endif %service_add_pre dbus.service dbus.socket @@ -225,7 +229,7 @@ # 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) +CURRENT_VER=$(/usr/bin/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 @@ -251,18 +255,16 @@ rm -f %{_localstatedir}/lib/dbus/machine-id fi fi -if [ ! -e %{_localstatedir}/lib/dbus/machine-id ]; then - if [ -e %{_sysconfdir}/machine-id ]; then +if [ ! -L %{_localstatedir}/lib/dbus/machine-id ]; then mkdir -p %{_localstatedir}/lib/dbus/ ln -s %{_sysconfdir}/machine-id %{_localstatedir}/lib/dbus/machine-id - else - /bin/dbus-uuidgen --ensure - fi fi + /sbin/ldconfig -%set_permissions /lib/dbus-1/dbus-daemon-launch-helper +%set_permissions %{_libexecdir}/dbus-1/dbus-daemon-launch-helper %{_sbindir}/update-alternatives --install %{_bindir}/dbus-launch dbus-launch %{_bindir}/dbus-launch.nox11 10 %service_add_post dbus.service dbus.socket +%tmpfiles_create %_tmpfilesdir/dbus.conf %preun if [ "$1" = 0 ] ; then @@ -288,6 +290,7 @@ %dir %{_localstatedir}/lib/dbus %dir /lib/dbus-1 %dir /lib/dbus-1/system-services +%dir %{_libexecdir}/dbus-1/ %doc AUTHORS COPYING HACKING NEWS README %config(noreplace) %{_sysconfdir}/dbus-1/session.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.conf @@ -322,17 +325,19 @@ %{_sbindir}/rcdbus # See doc/system-activation.txt in source tarball for the rationale # behind these permissions -%attr(4750,root,messagebus) %verify(not mode) /lib/dbus-1/dbus-daemon-launch-helper +%attr(4750,root,messagebus) %verify(not mode) %{_libexecdir}/dbus-1/dbus-daemon-launch-helper %if 0%{?suse_version} <= 1315 && !0%{?is_opensuse} %ghost %{_localstatedir}/run/dbus %else %ghost /run/dbus %endif %ghost %{_localstatedir}/lib/dbus/machine-id +%{_libexecdir}/sysusers.d/dbus.conf +%{_libexecdir}/tmpfiles.d/dbus.conf %{_unitdir}/dbus.service %{_unitdir}/dbus.socket -%dir %{_unitdir}/dbus.target.wants -%{_unitdir}/dbus.target.wants/dbus.socket +# %dir %{_unitdir}/dbus.target.wants +# %{_unitdir}/dbus.target.wants/dbus.socket %dir %{_unitdir}/multi-user.target.wants %{_unitdir}/multi-user.target.wants/dbus.service %dir %{_unitdir}/sockets.target.wants @@ -365,6 +370,8 @@ %dir %{_libdir}/dbus-1.0 %{_libdir}/dbus-1.0/include %{_libdir}/pkgconfig/dbus-1.pc +%{_libdir}/cmake/ +%{_datadir}/xml/dbus-1 %files devel-doc %defattr(-,root,root) ++++++ dbus-1.10.20.tar.gz -> dbus-1.12.2.tar.gz ++++++ ++++ 44526 lines of diff (skipped) ++++++ feature-suse-do-autolaunch.patch ++++++ --- /var/tmp/diff_new_pack.2UCDwr/_old 2017-12-15 14:02:19.757468266 +0100 +++ /var/tmp/diff_new_pack.2UCDwr/_new 2017-12-15 14:02:19.757468266 +0100 @@ -2,11 +2,11 @@ We want x11 autolaunch even if we have no x11 in the build environment -Index: dbus-1.6.8/dbus/dbus-sysdeps-unix.c +Index: dbus-1.12.2/dbus/dbus-sysdeps-unix.c =================================================================== ---- dbus-1.6.8.orig/dbus/dbus-sysdeps-unix.c -+++ dbus-1.6.8/dbus/dbus-sysdeps-unix.c -@@ -3230,7 +3230,7 @@ _dbus_get_tmpdir(void) +--- dbus-1.12.2.orig/dbus/dbus-sysdeps-unix.c ++++ dbus-1.12.2/dbus/dbus-sysdeps-unix.c +@@ -3552,7 +3552,7 @@ _dbus_get_tmpdir(void) return tmpdir; } @@ -15,12 +15,12 @@ /** * Execute a subprocess, returning up to 1024 bytes of output * into @p result. -@@ -3450,7 +3450,7 @@ _dbus_get_autolaunch_address (const char *scope, +@@ -3787,7 +3787,7 @@ _dbus_get_autolaunch_address (const char DBusString *address, DBusError *error) { -#ifdef DBUS_ENABLE_X11_AUTOLAUNCH +#if 1 - /* Perform X11-based autolaunch. (We also support launchd-based autolaunch, - * but that's done elsewhere, and if it worked, this function wouldn't - * be called.) */ + static const char arg_dbus_launch[] = "dbus-launch"; + static const char arg_autolaunch[] = "--autolaunch"; + static const char arg_binary_syntax[] = "--binary-syntax"; ++++++ feature-suse-refuse-manual-start-stop.patch ++++++ --- /var/tmp/diff_new_pack.2UCDwr/_old 2017-12-15 14:02:19.769467686 +0100 +++ /var/tmp/diff_new_pack.2UCDwr/_new 2017-12-15 14:02:19.769467686 +0100 @@ -1,7 +1,7 @@ -Index: dbus-1.10.12/bus/dbus.service.in +Index: dbus-1.12.2/bus/dbus.service.in =================================================================== ---- dbus-1.10.12.orig/bus/dbus.service.in -+++ dbus-1.10.12/bus/dbus.service.in +--- dbus-1.12.2.orig/bus/dbus.service.in ++++ dbus-1.12.2/bus/dbus.service.in @@ -2,6 +2,8 @@ Description=D-Bus System Message Bus Documentation=man:dbus-daemon(1) @@ -10,4 +10,4 @@ +RefuseManualStop=true [Service] - ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation + ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
