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