From 3efaa84d7aad963d0fdfae0f5f36447f65ad446bed93285ded1c4009fdd67c40 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 23 Jul 2012 08:41:36 +0000 Subject: [PATCH] Accepting request 128596 from Base:System - Fix NumLock detection/set race condition (bnc#746595#c47). (forwarded request 128498 from sbrabec) OBS-URL: https://build.opensuse.org/request/show/128596 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=107 --- 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