From 1b1d9a2bb74f033d72ace0dff48365f68c728c3aeefd04ae8fd850b144f3626f Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 17 Feb 2011 04:23:17 +0000 Subject: [PATCH 1/3] version 18 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=114 --- systemd-17.tar.bz2 | 3 --- systemd-18.tar.bz2 | 3 +++ systemd.changes | 56 ++++++++++++++++++++++++++++++++++++++++++++++ systemd.spec | 5 +++-- 4 files changed, 62 insertions(+), 5 deletions(-) delete mode 100644 systemd-17.tar.bz2 create mode 100644 systemd-18.tar.bz2 diff --git a/systemd-17.tar.bz2 b/systemd-17.tar.bz2 deleted file mode 100644 index 744f2f5a..00000000 --- a/systemd-17.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:47448a4380dcff4bfae57c306f1fac6a3d989b233efd6aff013df635a2c7dc06 -size 756049 diff --git a/systemd-18.tar.bz2 b/systemd-18.tar.bz2 new file mode 100644 index 00000000..9c1e32c0 --- /dev/null +++ b/systemd-18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5d9921abc036667c3cd0ccaa1d8d64ba5135a7133b93dbdea7d7cb4b76ce242 +size 765009 diff --git a/systemd.changes b/systemd.changes index 45df97cb..50b0bcda 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,59 @@ +------------------------------------------------------------------- +Wed Feb 16 21:39:20 CET 2011 - kay.sievers@novell.com + +- version 18 + - systemctl: introduce --ignore-dependencies + - systemctl: introduce --failed to show only failed services + - systemctl: introduce --failed to show only failed services + - rescue: make 'systemctl default' fail if there is already + something running when the shell exited + - util: seperate welcome line from other output by empty lines + - manager: don't consider transaction jobs conflicting with + queued jobs redundant + - udev: ignore block devices which no known contents, to avoid + trying of mounts/swapons when devices aren't set up full yet + - swap: handle "nofail" from fstab + - mount,swap: properly add dependencies to logger if needed + - service: change default std output to inherit + - exec: introduce global defaults for the standard output + of services + - udev: use SYSTEMD_READY to mask uninitialized DM devices + - fsck: output to /dev/console by default in addition to syslog + - execute: optionally forward program output to /dev/console in + addition to syslog/kmsg + - socket: refuse socket activation for SysV services + - fsck: do not fail boot if fsck returns with an error code that + hasn't 2 or 6 set + - shutdown: execute all binaries in /lib/systemd/system-shutdown + as last step before invoking reboot() + - job: make status message printing more verbose + - cryptsetup: fix unit file description + - tmpfiles: never delete AF_UNIX sockets that are alive + - getty: don't parse console= anymore, use + /sys/class/tty/console/active instead + - properly resolve /dev/console if more than once console= + argument was passed on the kernel command line + - getty: do not auto-spawn getty's on VC ttys if console=ttyN + - fsck: skip root fsck if dracut already did it + - util: when determining the right TERM for /dev/console + consult /sys/class/tty/console/active + - pam: introduce whitelist and blacklist user list feature + - systemctl: minor optimizations + - systemctl: don't unnecessarily close stdin/stdout/stderr for + tty agent so that locking by tty works + - readahead: disable readahead in virtual machines + - tmpfiles: move binary to /bin to make it publicly available + - tmpfiles: take names of tmpfiles configuration files on the + command line + - tmpfiles: log to stderr if possible + - tmpfiles: support globs + - units: introduce and hook up sound.target + - dbus: allow all clients access to org.freedesktop.DBus.Peer + - consider udev devices with SYSTEMD_READY=0 as unplugged + - systemctl: don't start agent for --user + - systemctl: make sure the tty agent does not retain a copy + of stdio + ------------------------------------------------------------------- Tue Feb 8 19:10:06 CET 2011 - kay.sievers@novell.com diff --git a/systemd.spec b/systemd.spec index b1830323..6fd3071f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -20,8 +20,8 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd -Version: 17 -Release: 2 +Version: 18 +Release: 1 License: GPLv2+ Group: System/Base Summary: A System and Session Manager @@ -170,6 +170,7 @@ rm -rf $RPM_BUILD_ROOT /bin/systemd-notify /bin/systemd-ask-password /bin/systemd-tty-ask-password-agent +/bin/systemd-tmpfiles %{_bindir}/systemd-cgls /lib/systemd/systemd-* /%{_lib}/security/pam_systemd.so From 5547e83d82bbe28beb8e232131b49b7b09bf63ab54b425e663e43aca23ab8ce4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 17 Feb 2011 14:08:02 +0000 Subject: [PATCH 2/3] . OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=115 --- ...vhangup-for-sending-HUP-to-all-procs-on-tty.patch | 12 ++++++++++++ systemd.changes | 6 ++++++ systemd.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch diff --git a/0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch b/0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch new file mode 100644 index 00000000..1656cb8f --- /dev/null +++ b/0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch @@ -0,0 +1,12 @@ +--- units/getty@.service.m4 ++++ units/getty@.service.m4 2011-02-17 14:02:02.883926195 +0000 +@@ -27,6 +27,9 @@ Before=getty.target + [Service] + Environment=TERM=linux + ExecStart=-/sbin/agetty %I 38400 ++m4_ifdef(`TARGET_SUSE', ++ExecStop=/sbin/vhangup %I ++)m4_dnl + Restart=always + RestartSec=0 + UtmpIdentifier=%I diff --git a/systemd.changes b/systemd.changes index 50b0bcda..23156b5a 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 17 15:04:44 CET 2011 - werner@suse.de + +- Add temporary workaround for bnc#652633, that is do a vhangup + to all processes on a tty line used for a getty + ------------------------------------------------------------------- Wed Feb 16 21:39:20 CET 2011 - kay.sievers@novell.com diff --git a/systemd.spec b/systemd.spec index 6fd3071f..02214633 100644 --- a/systemd.spec +++ b/systemd.spec @@ -43,6 +43,7 @@ Conflicts: mkinitrd < 2.6.0-5 Source0: http://www.freedesktop.org/software/systemd/releases/%{name}-%{version}.tar.bz2 Source1: systemd-rpmlintrc Patch1: 0001-Add-bootsplash-handling-for-password-dialogs.patch +Patch2: 0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch %description Systemd is a system and service manager, compatible with SysV and LSB @@ -88,6 +89,7 @@ Plymouth integration for systemd %prep %setup -q %patch1 -p1 +%patch2 -p0 %build autoreconf -fiv From 4b0f453c04d21a674cf2e4df1313df3f9a5a30129e9a2a4c1ee4772d7841d8e6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 18 Feb 2011 09:34:28 +0000 Subject: [PATCH 3/3] - revert back to conflicts: sysvinit OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=116 --- systemd.changes | 5 +++++ systemd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/systemd.changes b/systemd.changes index 23156b5a..a71d3d18 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 18 09:33:55 UTC 2011 - coolo@novell.com + +- revert back to conflicts: sysvinit + ------------------------------------------------------------------- Thu Feb 17 15:04:44 CET 2011 - werner@suse.de diff --git a/systemd.spec b/systemd.spec index 02214633..cf0c8a07 100644 --- a/systemd.spec +++ b/systemd.spec @@ -70,7 +70,7 @@ Group: System/Base Summary: System V init tools Requires: %{name} = %{version}-%{release} Provides: sbin_init -Obsoletes: sysvinit +Conflicts: sysvinit Conflicts: upstart %description sysvinit