Hello community,
here is the log from the commit of package systemd for openSUSE:Factory
checked in at Sat Oct 8 11:44:38 CEST 2011.
--------
--- openSUSE:Factory/systemd/systemd-gtk.changes 2011-10-02 11:16:08.000000000 +0200
+++ systemd/systemd-gtk.changes 2011-10-07 17:25:47.000000000 +0200
@@ -1,0 +2,20 @@
+Wed Oct 5 16:18:48 UTC 2011 - fcrozat@suse.com
+
+- Add logind-warning.patch: fix pam warning (bnc#716384)
+
+-------------------------------------------------------------------
+Fri Sep 30 13:55:31 UTC 2011 - fcrozat@suse.com
+
+- Update to version 36 :
+ - many bugfixes
+ - systemd now requires socket-activated syslog implementations
+ - After=syslog.target is no longer needed in .service files
+ - X-Interactive is ignored in LSB headers (was not working)
+- Enable back insserv.conf parsing in systemd core and fix added
+ dependencies (bnc#721428).
+- Fix detection of LSB services status when running daemon
+ (bnc#721426).
+- Drop 0001-execute-fix-bus-serialization-for-commands.patch,
+ fix-reload.patch
+
+-------------------------------------------------------------------
systemd.changes: same change
calling whatdependson for head-i586
Old:
----
0001-execute-fix-bus-serialization-for-commands.patch
fix-reload.patch
revert_insserv_conf_parsing.patch
systemd-34.tar.bz2
New:
----
0001-service-Fix-dependencies-added-when-parsing-insserv..patch
0001-service-flags-sysv-service-with-detected-pid-as-Rema.patch
logind-warning.patch
systemd-36.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ systemd-gtk.spec ++++++
--- /var/tmp/diff_new_pack.OJEGw5/_old 2011-10-08 11:44:30.000000000 +0200
+++ /var/tmp/diff_new_pack.OJEGw5/_new 2011-10-08 11:44:30.000000000 +0200
@@ -20,8 +20,8 @@
Name: systemd-gtk
Url: http://www.freedesktop.org/wiki/Software/systemd
-Version: 34
-Release: 5
+Version: 36
+Release: 1
License: GPLv2+
Group: System/Base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.OJEGw5/_old 2011-10-08 11:44:30.000000000 +0200
+++ /var/tmp/diff_new_pack.OJEGw5/_new 2011-10-08 11:44:30.000000000 +0200
@@ -21,8 +21,8 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
-Version: 34
-Release: 5
+Version: 36
+Release: 1
License: GPLv2+
Group: System/Base
Summary: A System and Session Manager
@@ -63,16 +63,15 @@
Patch6: 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch
# don't start getty on tty1 until all password request are done
Patch8: tty1.patch
-Patch10: revert_insserv_conf_parsing.patch
+Patch10: 0001-service-Fix-dependencies-added-when-parsing-insserv..patch
+Patch13: 0001-service-flags-sysv-service-with-detected-pid-as-Rema.patch
# Upstream First - Policy:
# Never add any patches to this package without the upstream commit id
# in the patch. Any patches added here without a very good reason to make
# an exception will be silently removed with the next version update.
-Patch9: 0001-execute-fix-bus-serialization-for-commands.patch
-# PATCH-FIX-UPSTREAM fix-reload.patch fcrozat@suse.com bnc#719221 -- Fix daemon-reload and conditions when service is starting
-Patch11: fix-reload.patch
Patch12: detect-non-running.patch
+Patch14: logind-warning.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@@ -125,10 +124,10 @@
%patch1 -p1
%patch6 -p1
%patch8 -p1
-%patch9 -p1
%patch10 -p1
-%patch11 -p1
%patch12 -p1
+%patch13 -p1
+%patch14 -p1
%build
autoreconf -fiv
@@ -151,7 +150,8 @@
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
mkdir -p %{buildroot}/{sbin,var/lib/systemd/sysv-convert,var/lib/systemd/migrated} %{buildroot}/lib/systemd/{system.preset,user.preset}
install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert
-install -m755 %{S:5} %{buildroot}/lib/systemd/system-generators
+# do not install, code has been fixed, might be useful in the future
+#install -m755 %{S:5} %{buildroot}/lib/systemd/system-generators
install -m755 %{S:7} %{buildroot}/lib/systemd/
install -m644 %{S:8} %{S:9} %{S:10} %{buildroot}/lib/systemd/system/
ln -s ../bootsplash-startup.service %{buildroot}/lib/systemd/system/basic.target.wants/
++++++ 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch ++++++
--- /var/tmp/diff_new_pack.OJEGw5/_old 2011-10-08 11:44:30.000000000 +0200
+++ /var/tmp/diff_new_pack.OJEGw5/_new 2011-10-08 11:44:30.000000000 +0200
@@ -1,4 +1,4 @@
-From 07f0fb4424105c0e90e2add79efe48109b6c9fd1 Mon Sep 17 00:00:00 2001
+From 5c894bc1e45f7c34bf7fc4ca0d20bf1c3b679bef Mon Sep 17 00:00:00 2001
From: Frederic Crozat
From 6620bceb7233a830be3635a4f7a7dc75c13a9c8e Mon Sep 17 00:00:00 2001 From: Frederic Crozat
Date: Fri, 30 Sep 2011 14:12:45 +0200 Subject: [PATCH] service: Fix dependencies added when parsing insserv.conf
--- src/service.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/service.c b/src/service.c index c2053ce..4abc7e7 100644 --- a/src/service.c +++ b/src/service.c @@ -3031,18 +3031,20 @@ static void sysv_facility_in_insserv_conf(Manager *mgr) { char *dep = NULL, *name, **j; STRV_FOREACH (j, parsed+1) { - if (*j[0]=='+') { - e = UNIT_WANTS; + if (*j[0]=='+') name = *j+1; - } - else { - e = UNIT_REQUIRES; + else name = *j; - } + if (streq(name, "boot.localfs") || + streq(name, "boot.crypto")) + continue; + if (sysv_translate_facility(name, NULL, &dep) < 0) continue; - r = unit_add_two_dependencies_by_name(u, UNIT_BEFORE, e, dep, NULL, true); + r = unit_add_dependency_by_name_inverse(u, UNIT_BEFORE, dep, NULL, true); + if (*j[0]!='+') + r = unit_add_dependency_by_name(u, UNIT_REQUIRES, dep, NULL, true); free(dep); } } -- 1.7.3.4 ++++++ 0001-service-flags-sysv-service-with-detected-pid-as-Rema.patch ++++++
From 700b1261115a67392014ff2c887a9cffc28108ab Mon Sep 17 00:00:00 2001 From: Frederic Crozat
Date: Fri, 30 Sep 2011 12:58:17 +0200 Subject: [PATCH] service: flags sysv service with detected pid as RemainAfterExit=false
LSB header doesn't give pidfile, so all LSB initscripts have RemainAfterExit=false, causing daemon termination to not be reported as such by systemd. Checking at startup if daemon is still running for sysv initscript to disable RemainAfterExit helps a lot. Fixes https://bugzilla.novell.com/show_bug.cgi?id=721426 --- src/service.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index 6b7064a..eb2699c 100644 --- a/src/service.c +++ b/src/service.c @@ -2012,9 +2012,15 @@ static void service_enter_running(Service *s, bool success) { main_pid_ok = main_pid_good(s); cgroup_ok = cgroup_good(s); + if ((main_pid_ok > 0 || (main_pid_ok < 0 && cgroup_ok != 0)) && - (s->bus_name_good || s->type != SERVICE_DBUS)) + (s->bus_name_good || s->type != SERVICE_DBUS)) { +#ifdef HAVE_SYSV_COMPAT + if (s->sysv_enabled && !s->pid_file) + s->remain_after_exit = false; +#endif service_set_state(s, SERVICE_RUNNING); + } else if (s->remain_after_exit) service_set_state(s, SERVICE_EXITED); else -- 1.7.3.4 ++++++ logind-warning.patch ++++++
From 3887b5abcb3870db9ed53de3875a465c230ddd3f Mon Sep 17 00:00:00 2001 From: Lennart Poettering
Date: Tue, 4 Oct 2011 01:38:13 +0200 Subject: [PATCH] logind: properly generate session creation response on dbus
This fixes the various reported issues with dbus message parsing when running su. --- src/logind-dbus.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/logind-dbus.c b/src/logind-dbus.c index b33a096..bc1e49d 100644 --- a/src/logind-dbus.c +++ b/src/logind-dbus.c @@ -405,12 +405,16 @@ static int bus_manager_create_session(Manager *m, DBusMessage *message, DBusMess goto fail; } + seat = session->seat ? session->seat->id : ""; + vtnr = session->vtnr; b = dbus_message_append_args( reply, DBUS_TYPE_STRING, &session->id, DBUS_TYPE_OBJECT_PATH, &p, DBUS_TYPE_STRING, &session->user->runtime_path, DBUS_TYPE_UNIX_FD, &fifo_fd, + DBUS_TYPE_STRING, &seat, + DBUS_TYPE_UINT32, &vtnr, DBUS_TYPE_INVALID); free(p); -- 1.7.3.4 ++++++ systemd-34.tar.bz2 -> systemd-36.tar.bz2 ++++++ ++++ 20764 lines of diff (skipped) ++++++ systemd-insserv_conf ++++++ --- /var/tmp/diff_new_pack.OJEGw5/_old 2011-10-08 11:44:31.000000000 +0200 +++ /var/tmp/diff_new_pack.OJEGw5/_new 2011-10-08 11:44:31.000000000 +0200 @@ -25,7 +25,7 @@ stripped_dep=${dep/boot./} case "$stripped_dep" in +*) ln -s -f /lib/systemd/system/${facilities[${stripped_dep:2}]:-${stripped_dep:1}.service} $1/$target.wants/ ;; - *) ln -s -f /lib/systemd/system/${facilities[${stripped_dep:1}]:-${stripped_dep}.service} $1/$target.wants/ ;; + *) ln -s -f /lib/systemd/system/${facilities[${stripped_dep:1}]:-${stripped_dep}.service} $1/$target.requires/ ;; esac done ;; continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org