SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 2014-07-15 07:40:33 +00:00 committed by Git OBS Bridge
parent be3dc0d277
commit 9e69a1f9d3
5 changed files with 50 additions and 2 deletions

View File

@ -1,10 +1,16 @@
-------------------------------------------------------------------
Tue Jul 15 06:33:01 UTC 2014 - jlee@suse.com
Tue Jul 15 07:39:40 UTC 2014 - werner@suse.de
- Add patch vhangup-on-all-consoles.patch that is do a vhangup on
lines (bnc#886599)
-------------------------------------------------------------------
Tue Jul 15 06:29:54 UTC 2014 - jlee@suse.com
- Removed %{_libexecdir}/modules-load.d/efivars.conf because the kernel
patch of autoload efivars driver accepted by linux-efi upstream.
(bnc#881559)
https://git.kernel.org/cgit/linux/kernel/git/mfleming/efi.git/commit/?h=next&id=be756a5327fe3d4686d74d3e9b273010424e230c
https://git.kernel.org/cgit/linux/kernel/git/mfleming/efi.git/commit/?h=next&id=be756a5327fe3d4686d74d3e9b273010424e230c
-------------------------------------------------------------------
Mon Jul 14 14:53:21 UTC 2014 - werner@suse.de

View File

@ -146,6 +146,7 @@ Requires: netcfg
Requires: pam-config >= 0.79-5
Requires: pwdutils
Requires: systemd-presets-branding
Requires: sysvinit-tools
Requires: util-linux >= 2.21
Requires(post): coreutils
Requires(post): findutils
@ -692,6 +693,8 @@ Patch335: 0002-util-fix-has-cc-check-and-add-test.patch
Patch336: 0003-sd-event-always-call-epoll_ctl-on-mask-updates-if-ed.patch
# PATCH-FIX-UPSTREAM added at 2014/07/14
Patch337: 0004-fileio-quote-more-shell-characters-in-envfiles.patch
# PATCH-FIX-SUSE Do a vhangup on all consoles lines (bnc#886599)
Patch338: vhangup-on-all-consoles.patch
# UDEV PATCHES
# ============
@ -1292,6 +1295,7 @@ cp %{SOURCE7} m4/
%patch335 -p0
%patch336 -p0
%patch337 -p0
%patch338 -p0
# udev patches
%patch1001 -p1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 15 07:39:40 UTC 2014 - werner@suse.de
- Add patch vhangup-on-all-consoles.patch that is do a vhangup on
lines (bnc#886599)
-------------------------------------------------------------------
Tue Jul 15 06:29:54 UTC 2014 - jlee@suse.com

View File

@ -141,6 +141,7 @@ Requires: netcfg
Requires: pam-config >= 0.79-5
Requires: pwdutils
Requires: systemd-presets-branding
Requires: sysvinit-tools
Requires: util-linux >= 2.21
Requires(post): coreutils
Requires(post): findutils
@ -687,6 +688,8 @@ Patch335: 0002-util-fix-has-cc-check-and-add-test.patch
Patch336: 0003-sd-event-always-call-epoll_ctl-on-mask-updates-if-ed.patch
# PATCH-FIX-UPSTREAM added at 2014/07/14
Patch337: 0004-fileio-quote-more-shell-characters-in-envfiles.patch
# PATCH-FIX-SUSE Do a vhangup on all consoles lines (bnc#886599)
Patch338: vhangup-on-all-consoles.patch
# UDEV PATCHES
# ============
@ -1287,6 +1290,7 @@ cp %{SOURCE7} m4/
%patch335 -p0
%patch336 -p0
%patch337 -p0
%patch338 -p0
# udev patches
%patch1001 -p1

View File

@ -0,0 +1,28 @@
Related to bnc#886599 and others. That is use the vhangup(8) tool
to explicit do a virtually hangup on the specified on the terminal
line to give e.g. the bash a few seconds to e.g. safe its history.
---
units/getty@.service.m4 | 1 +
units/serial-getty@.service.m4 | 1 +
2 files changed, 2 insertions(+)
--- units/getty@.service.m4
+++ units/getty@.service.m4 2014-07-15 07:30:28.006235859 +0000
@@ -29,6 +29,7 @@ ConditionPathExists=/dev/tty0
[Service]
# the VT is cleared by TTYVTDisallocate
ExecStart=-/sbin/agetty --noclear %I $TERM
+ExecStopPost=-/sbin/vhangup /dev/%I
Type=idle
Restart=always
RestartSec=0
--- units/serial-getty@.service.m4
+++ units/serial-getty@.service.m4 2014-07-15 07:30:01.366235017 +0000
@@ -24,6 +24,7 @@ IgnoreOnIsolate=yes
[Service]
ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 $TERM
+ExecStopPost=-/sbin/vhangup /dev/%I
Type=idle
Restart=always
RestartSec=0