From 5547e83d82bbe28beb8e232131b49b7b09bf63ab54b425e663e43aca23ab8ce4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 17 Feb 2011 14:08:02 +0000 Subject: [PATCH] . 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