From 9c08739d41e209c1644ecefefd7528fa8945987f881567127b7857cbb97e5d98 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 21 Jul 2012 20:32:38 +0000 Subject: [PATCH] Accepting request 128498 from home:sbrabec:branches:Base:System - Fix NumLock detection/set race condition (bnc#746595#c47). OBS-URL: https://build.opensuse.org/request/show/128498 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=292 --- systemd-numlock-suse.patch | 15 ++++++++++++++- systemd.changes | 5 +++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/systemd-numlock-suse.patch b/systemd-numlock-suse.patch index 66a36866..3c7d9c9c 100644 --- a/systemd-numlock-suse.patch +++ b/systemd-numlock-suse.patch @@ -165,7 +165,7 @@ Index: systemd-44/configure.ac D-Bus policy dir: ${with_dbuspolicydir} D-Bus session dir: ${with_dbussessionservicedir} D-Bus system dir: ${with_dbussystemservicedir} -Index: systemd-44/src/login/73-seat-numlock.rules.in +Index: systemd-44/src/login/73-seat-numlock.rules =================================================================== --- /dev/null +++ systemd-44/src/login/73-seat-numlock.rules @@ -219,3 +219,16 @@ Index: systemd-44/src/login/numlock-on.c + return EX_IOERR; + return execv(args[0], args); +} +Index: systemd-44/units/systemd-vconsole-setup.service.in +=================================================================== +--- systemd-44.orig/units/systemd-vconsole-setup.service.in ++++ systemd-44/units/systemd-vconsole-setup.service.in +@@ -10,7 +10,7 @@ Description=Setup Virtual Console + DefaultDependencies=no + Conflicts=shutdown.target + After=systemd-readahead-collect.service systemd-readahead-replay.service +-Before=sysinit.target shutdown.target ++Before=sysinit.target shutdown.target udev-trigger.service + + [Service] + Type=oneshot diff --git a/systemd.changes b/systemd.changes index 4e2ebe83..cb5e5c8c 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 20 19:24:08 CEST 2012 - sbrabec@suse.cz + +- Fix NumLock detection/set race condition (bnc#746595#c47). + ------------------------------------------------------------------- Wed Jul 18 13:14:37 UTC 2012 - fcrozat@suse.com