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
This commit is contained in:
Marcus Meissner 2017-12-12 09:18:50 +00:00 committed by Git OBS Bridge
parent d35d212d2e
commit 75db22dba5
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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