Mailinglist Archive: opensuse-commit (1737 mails)
| < Previous | Next > |
commit systemd for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Fri, 10 Feb 2012 17:20:24 +0100
- Message-id: <20120210162024.AF70120381@hilbert.suse.de>
Hello community,
here is the log from the commit of package systemd for openSUSE:Factory checked
in at 2012-02-10 17:20:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd (Old)
and /work/SRC/openSUSE:Factory/.systemd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/systemd/systemd-gtk.changes 2012-02-03
10:27:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.systemd.new/systemd-gtk.changes 2012-02-10
17:20:22.000000000 +0100
@@ -1,0 +2,15 @@
+Tue Feb 7 14:43:58 UTC 2012 - fcrozat@xxxxxxxx
+
+- Update to version 40:
+ + reason why a service failed is now exposed in the"Result" D-Bus
+ property.
+ + Rudimentary service watchdog support (not complete)
+ + Improve bootcharts, by immediatly changing argv[0] after
+ forking to to reflect which process will be executed.
+ + Various bug fixes.
+- Add remote-fs-after-network.patch and update insserv patch:
+ ensure remote-fs-pre.target is enabled and started before network
+ mount points (bnc#744293).
+- Ensure journald doesn't prevent syslogs to read from /proc/kmsg.
+
+-------------------------------------------------------------------
systemd.changes: same change
Old:
----
systemd-39.tar.xz
New:
----
remote-fs-after-network.patch
systemd-40.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ systemd-gtk.spec ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -19,7 +19,7 @@
Name: systemd-gtk
Url: http://www.freedesktop.org/wiki/Software/systemd
-Version: 39
+Version: 40
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: audit-devel
++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -22,7 +22,7 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
-Version: 39
+Version: 40
Release: 0
Summary: A System and Session Manager
License: GPL-2.0+
@@ -90,6 +90,7 @@
# 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.
Patch21: no-tmpfs-fsck.patch
+Patch37: remote-fs-after-network.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@@ -150,6 +151,7 @@
%patch31 -p1
%patch33 -p1
%patch36 -p1
+%patch37 -p1
%build
autoreconf -fiv
@@ -231,6 +233,9 @@
# journal.
rm -f %{buildroot}%{_libdir}/../lib/sysctl.d/coredump.conf
+# Let rsyslog read from /proc/kmsg for now
+sed -i -e 's/\#ImportKernel=yes/ImportKernel=no/'
%{buildroot}%{_sysconfdir}/systemd/systemd-journald.conf
+
# Install rsyslog fragment
mkdir -p %{buildroot}%{_sysconfdir}/rsyslog.d/
install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/rsyslog.d/
++++++ 0001-service-Fix-dependencies-added-when-parsing-insserv..patch ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -7,13 +7,23 @@
src/service.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
-Index: systemd-39/src/service.c
+Index: systemd-40/src/service.c
===================================================================
---- systemd-39.orig/src/service.c
-+++ systemd-39/src/service.c
-@@ -3111,22 +3111,22 @@ static void sysv_facility_in_insserv_con
+--- systemd-40.orig/src/service.c
++++ systemd-40/src/service.c
+@@ -3162,23 +3162,32 @@ static void sysv_facility_in_insserv_con
+ Unit *u;
if (sysv_translate_facility(parsed[0], NULL,
&facility) < 0)
continue;
++ if (streq(facility, SPECIAL_REMOTE_FS_TARGET)) {
++ /* insert also a Wants dependency from
remote-fs-pre on remote-fs */
++ u = manager_get_unit(mgr,
SPECIAL_REMOTE_FS_TARGET);
++ unit_add_dependency_by_name(u, UNIT_WANTS,
++ SPECIAL_REMOTE_FS_PRE_TARGET,
NULL, true);
++ free (facility);
++ facility=strdup(SPECIAL_REMOTE_FS_PRE_TARGET);
++ }
++
if ((u = manager_get_unit(mgr, facility)) && (u->type
== UNIT_TARGET)) {
- UnitDependency e;
char *dep = NULL, *name, **j;
++++++ bootsplash-quit.service ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -4,6 +4,7 @@
Before=getty@tty1.service
DefaultDependencies=no
Names=plymouth-quit-wait.service
+ConditionFileIsExecutable=/sbin/splash
ConditionKernelCommandLine=splash=silent
ConditionKernelCommandLine=vga
++++++ bootsplash-shutdown.service ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -2,7 +2,9 @@
Description=Start bootsplash for shutdown/reboot
Before=shutdown.service halt.service
DefaultDependencies=no
+ConditionFileIsExecutable=/sbin/splash
ConditionKernelCommandLine=splash=silent
+ConditionKernelCommandLine=vga
[Service]
ExecStartPre=-/bin/kill -SIGRTMIN+20 1
++++++ bootsplash-startup.service ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -1,6 +1,7 @@
[Unit]
Description=Start bootsplash
DefaultDependencies=no
+ConditionFileIsExecutable=/sbin/splash
ConditionKernelCommandLine=splash=silent
ConditionKernelCommandLine=vga
++++++ remote-fs-after-network.patch ++++++
Date: Tue, 7 Feb 2012 11:05:18 +0100
Subject: [PATCH] mount: adjust dependencies for remote filesystems
Currently remote mounts automatically get:
After=remote-fs-pre.target network.target
remote-fs-pre.target is already After=network.target. Just make sure
remote-fs-pre.target is pulled in by remote-fs.target if any remote
filesystems are configured.
For the mount units it is then sufficient to get:
After=remote-fs-pre.target
Later NetworkManager will hook its NM-wait-online.service into
remote-fs-pre.target.wants in order to remove the need for the administrator
to enable the service manually when he has any remote filesystems.
https://bugzilla.redhat.com/show_bug.cgi?id=787314
---
src/mount.c | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 3411b73..0ae964b 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -320,7 +320,7 @@ static bool needs_quota(MountParameters *p) {
}
static int mount_add_fstab_links(Mount *m) {
- const char *target, *after = NULL, *after2 = NULL;
+ const char *target, *after, *tu_wants = NULL;
MountParameters *p;
Unit *tu;
int r;
@@ -350,23 +350,27 @@ static int mount_add_fstab_links(Mount *m) {
if (mount_is_network(p)) {
target = SPECIAL_REMOTE_FS_TARGET;
- after = SPECIAL_REMOTE_FS_PRE_TARGET;
- after2 = SPECIAL_NETWORK_TARGET;
+ after = tu_wants = SPECIAL_REMOTE_FS_PRE_TARGET;
} else {
target = SPECIAL_LOCAL_FS_TARGET;
after = SPECIAL_LOCAL_FS_PRE_TARGET;
}
- if ((r = manager_load_unit(UNIT(m)->manager, target, NULL, NULL, &tu))
< 0)
+ r = manager_load_unit(UNIT(m)->manager, target, NULL, NULL, &tu);
+ if (r < 0)
return r;
- if (after)
- if ((r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER,
after, NULL, true)) < 0)
+ if (tu_wants) {
+ r = unit_add_dependency_by_name(tu, UNIT_WANTS, tu_wants,
NULL, true);
+ if (r < 0)
return r;
+ }
- if (after2)
- if ((r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER,
after2, NULL, true)) < 0)
+ if (after) {
+ r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, after,
NULL, true);
+ if (r < 0)
return r;
+ }
if (automount) {
Unit *am;
--
1.7.7
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
here is the log from the commit of package systemd for openSUSE:Factory checked
in at 2012-02-10 17:20:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd (Old)
and /work/SRC/openSUSE:Factory/.systemd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/systemd/systemd-gtk.changes 2012-02-03
10:27:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.systemd.new/systemd-gtk.changes 2012-02-10
17:20:22.000000000 +0100
@@ -1,0 +2,15 @@
+Tue Feb 7 14:43:58 UTC 2012 - fcrozat@xxxxxxxx
+
+- Update to version 40:
+ + reason why a service failed is now exposed in the"Result" D-Bus
+ property.
+ + Rudimentary service watchdog support (not complete)
+ + Improve bootcharts, by immediatly changing argv[0] after
+ forking to to reflect which process will be executed.
+ + Various bug fixes.
+- Add remote-fs-after-network.patch and update insserv patch:
+ ensure remote-fs-pre.target is enabled and started before network
+ mount points (bnc#744293).
+- Ensure journald doesn't prevent syslogs to read from /proc/kmsg.
+
+-------------------------------------------------------------------
systemd.changes: same change
Old:
----
systemd-39.tar.xz
New:
----
remote-fs-after-network.patch
systemd-40.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ systemd-gtk.spec ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -19,7 +19,7 @@
Name: systemd-gtk
Url: http://www.freedesktop.org/wiki/Software/systemd
-Version: 39
+Version: 40
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: audit-devel
++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -22,7 +22,7 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
-Version: 39
+Version: 40
Release: 0
Summary: A System and Session Manager
License: GPL-2.0+
@@ -90,6 +90,7 @@
# 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.
Patch21: no-tmpfs-fsck.patch
+Patch37: remote-fs-after-network.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@@ -150,6 +151,7 @@
%patch31 -p1
%patch33 -p1
%patch36 -p1
+%patch37 -p1
%build
autoreconf -fiv
@@ -231,6 +233,9 @@
# journal.
rm -f %{buildroot}%{_libdir}/../lib/sysctl.d/coredump.conf
+# Let rsyslog read from /proc/kmsg for now
+sed -i -e 's/\#ImportKernel=yes/ImportKernel=no/'
%{buildroot}%{_sysconfdir}/systemd/systemd-journald.conf
+
# Install rsyslog fragment
mkdir -p %{buildroot}%{_sysconfdir}/rsyslog.d/
install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/rsyslog.d/
++++++ 0001-service-Fix-dependencies-added-when-parsing-insserv..patch ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -7,13 +7,23 @@
src/service.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
-Index: systemd-39/src/service.c
+Index: systemd-40/src/service.c
===================================================================
---- systemd-39.orig/src/service.c
-+++ systemd-39/src/service.c
-@@ -3111,22 +3111,22 @@ static void sysv_facility_in_insserv_con
+--- systemd-40.orig/src/service.c
++++ systemd-40/src/service.c
+@@ -3162,23 +3162,32 @@ static void sysv_facility_in_insserv_con
+ Unit *u;
if (sysv_translate_facility(parsed[0], NULL,
&facility) < 0)
continue;
++ if (streq(facility, SPECIAL_REMOTE_FS_TARGET)) {
++ /* insert also a Wants dependency from
remote-fs-pre on remote-fs */
++ u = manager_get_unit(mgr,
SPECIAL_REMOTE_FS_TARGET);
++ unit_add_dependency_by_name(u, UNIT_WANTS,
++ SPECIAL_REMOTE_FS_PRE_TARGET,
NULL, true);
++ free (facility);
++ facility=strdup(SPECIAL_REMOTE_FS_PRE_TARGET);
++ }
++
if ((u = manager_get_unit(mgr, facility)) && (u->type
== UNIT_TARGET)) {
- UnitDependency e;
char *dep = NULL, *name, **j;
++++++ bootsplash-quit.service ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -4,6 +4,7 @@
Before=getty@tty1.service
DefaultDependencies=no
Names=plymouth-quit-wait.service
+ConditionFileIsExecutable=/sbin/splash
ConditionKernelCommandLine=splash=silent
ConditionKernelCommandLine=vga
++++++ bootsplash-shutdown.service ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -2,7 +2,9 @@
Description=Start bootsplash for shutdown/reboot
Before=shutdown.service halt.service
DefaultDependencies=no
+ConditionFileIsExecutable=/sbin/splash
ConditionKernelCommandLine=splash=silent
+ConditionKernelCommandLine=vga
[Service]
ExecStartPre=-/bin/kill -SIGRTMIN+20 1
++++++ bootsplash-startup.service ++++++
--- /var/tmp/diff_new_pack.2quS4A/_old 2012-02-10 17:20:24.000000000 +0100
+++ /var/tmp/diff_new_pack.2quS4A/_new 2012-02-10 17:20:24.000000000 +0100
@@ -1,6 +1,7 @@
[Unit]
Description=Start bootsplash
DefaultDependencies=no
+ConditionFileIsExecutable=/sbin/splash
ConditionKernelCommandLine=splash=silent
ConditionKernelCommandLine=vga
++++++ remote-fs-after-network.patch ++++++
From db1355b1c181a4b1ac277064918d7c794dfb6edd Mon Sep 17 00:00:00 2001From: Michal Schmidt <mschmidt@xxxxxxxxxx>
Date: Tue, 7 Feb 2012 11:05:18 +0100
Subject: [PATCH] mount: adjust dependencies for remote filesystems
Currently remote mounts automatically get:
After=remote-fs-pre.target network.target
remote-fs-pre.target is already After=network.target. Just make sure
remote-fs-pre.target is pulled in by remote-fs.target if any remote
filesystems are configured.
For the mount units it is then sufficient to get:
After=remote-fs-pre.target
Later NetworkManager will hook its NM-wait-online.service into
remote-fs-pre.target.wants in order to remove the need for the administrator
to enable the service manually when he has any remote filesystems.
https://bugzilla.redhat.com/show_bug.cgi?id=787314
---
src/mount.c | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 3411b73..0ae964b 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -320,7 +320,7 @@ static bool needs_quota(MountParameters *p) {
}
static int mount_add_fstab_links(Mount *m) {
- const char *target, *after = NULL, *after2 = NULL;
+ const char *target, *after, *tu_wants = NULL;
MountParameters *p;
Unit *tu;
int r;
@@ -350,23 +350,27 @@ static int mount_add_fstab_links(Mount *m) {
if (mount_is_network(p)) {
target = SPECIAL_REMOTE_FS_TARGET;
- after = SPECIAL_REMOTE_FS_PRE_TARGET;
- after2 = SPECIAL_NETWORK_TARGET;
+ after = tu_wants = SPECIAL_REMOTE_FS_PRE_TARGET;
} else {
target = SPECIAL_LOCAL_FS_TARGET;
after = SPECIAL_LOCAL_FS_PRE_TARGET;
}
- if ((r = manager_load_unit(UNIT(m)->manager, target, NULL, NULL, &tu))
< 0)
+ r = manager_load_unit(UNIT(m)->manager, target, NULL, NULL, &tu);
+ if (r < 0)
return r;
- if (after)
- if ((r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER,
after, NULL, true)) < 0)
+ if (tu_wants) {
+ r = unit_add_dependency_by_name(tu, UNIT_WANTS, tu_wants,
NULL, true);
+ if (r < 0)
return r;
+ }
- if (after2)
- if ((r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER,
after2, NULL, true)) < 0)
+ if (after) {
+ r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, after,
NULL, true);
+ if (r < 0)
return r;
+ }
if (automount) {
Unit *am;
--
1.7.7
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |