From ec448615f763103f629f42207be7c18b079fb9d0adc1e7c9585ba24a79618dd3 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 7 Nov 2013 08:05:11 +0000 Subject: [PATCH] Accepting request 205947 from Base:System - Add patch 1010-do-not-install-sulogin-unit-with-poweroff.patch that is do not install console-shell.service in any system target as this will cause automatic poweroff at boot (bnc#849071) OBS-URL: https://build.opensuse.org/request/show/205947 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=167 --- ...-do-not-install-sulogin-unit-with-poweroff.patch | 13 +++++++++++++ systemd.changes | 8 ++++++++ systemd.spec | 3 +++ 3 files changed, 24 insertions(+) create mode 100644 1010-do-not-install-sulogin-unit-with-poweroff.patch diff --git a/1010-do-not-install-sulogin-unit-with-poweroff.patch b/1010-do-not-install-sulogin-unit-with-poweroff.patch new file mode 100644 index 00000000..c854754f --- /dev/null +++ b/1010-do-not-install-sulogin-unit-with-poweroff.patch @@ -0,0 +1,13 @@ +| +| Belongs to bnc#849071 that is do not install console-shell.service +| in any system target as this will cause automatic poweroff at boot. +| +--- systemd-208/units/console-shell.service.m4.in ++++ systemd-208/units/console-shell.service.m4.in 2013-11-06 09:35:37.958693570 +0000 +@@ -26,6 +26,3 @@ StandardError=inherit + KillMode=process + IgnoreSIGPIPE=no + SendSIGHUP=yes +- +-[Install] +-WantedBy=getty.target diff --git a/systemd.changes b/systemd.changes index 78f1b0e4..c5a10894 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 6 09:42:05 UTC 2013 - werner@suse.de + +- Add patch + 1010-do-not-install-sulogin-unit-with-poweroff.patch + that is do not install console-shell.service in any system target + as this will cause automatic poweroff at boot (bnc#849071) + ------------------------------------------------------------------- Mon Nov 4 15:23:02 UTC 2013 - werner@suse.de diff --git a/systemd.spec b/systemd.spec index c0335c01..62f08f07 100644 --- a/systemd.spec +++ b/systemd.spec @@ -256,6 +256,8 @@ Patch1007: 1007-physical-hotplug-cpu-and-memory.patch Patch1008: 1008-add-msft-compability-rules.patch # PATCH-FIX-OPENSUSE 1009-make-xsltproc-use-correct-ROFF-links.patch -- Make ROFF links working again in manual pages (bnc#842844) Patch1009: 1009-make-xsltproc-use-correct-ROFF-links.patch +# PATCH-FIX-OPENSUSE 1010-do-not-install-sulogin-unit-with-poweroff.patch -- Avoid installing console-shell.service (bnc#849071) +Patch1010: 1010-do-not-install-sulogin-unit-with-poweroff.patch %description Systemd is a system and service manager, compatible with SysV and LSB @@ -531,6 +533,7 @@ cp %{SOURCE7} m4/ %patch1008 -p1 %endif %patch1009 -p1 +%patch1010 -p1 # ensure generate files are removed rm -f units/emergency.service