From 75db22dba5c3cee2f33cb5c4eccae12e1b33a1b6597a055963f96d1c0b73d9cc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 12 Dec 2017 09:18:50 +0000 Subject: [PATCH] Accepting request 556408 from home:kukuk:branches:Base:System - Don't disable services with preset-all in %posttrans, the network is special and would be disabled. OBS-URL: https://build.opensuse.org/request/show/556408 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-branding-openSUSE?expand=0&rev=103 --- systemd-presets-branding-openSUSE.changes | 6 ++++++ systemd-presets-branding-openSUSE.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/systemd-presets-branding-openSUSE.changes b/systemd-presets-branding-openSUSE.changes index 589c4a6..a42c31c 100644 --- a/systemd-presets-branding-openSUSE.changes +++ b/systemd-presets-branding-openSUSE.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 12 10:05:57 CET 2017 - kukuk@suse.de + +- Don't disable services with preset-all in %posttrans, the network + is special and would be disabled. + ------------------------------------------------------------------- Mon Dec 11 16:17:30 CET 2017 - kukuk@suse.de diff --git a/systemd-presets-branding-openSUSE.spec b/systemd-presets-branding-openSUSE.spec index 59206a8..13fc817 100644 --- a/systemd-presets-branding-openSUSE.spec +++ b/systemd-presets-branding-openSUSE.spec @@ -86,7 +86,10 @@ fi %posttrans if [ -f /run/rpm-%{name}-preset-all ]; then - systemctl preset-all + # Enable all services, which were installed before systemd + # Don't disable services, since this would disable the + # complete network stack. + systemctl preset-all --preset-mode=enable-only fi rm -f /run/rpm-%{name}-preset-all