From 089b21576323e5eee071702d69580ac6b8150ccfe408b7ced1e9175a11911bbf Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 6 Nov 2013 09:43:25 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=463 --- ...-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..a030b413 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) +Patch1009: 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