forked from pool/systemd-presets-common-SUSE
Accepting request 896896 from Base:System
OBS-URL: https://build.opensuse.org/request/show/896896 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-presets-common-SUSE?expand=0&rev=18
This commit is contained in:
commit
a72225871e
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 27 15:40:48 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- When installing the systemd-presets-common-SUSE package for the
|
||||||
|
first time in a new system, it might happen that some services
|
||||||
|
are installed before systemd so the %systemd_pre/post macros
|
||||||
|
would not work. This is handled by enabling all preset services
|
||||||
|
in this package's %posttrans section but it wasn't enabling
|
||||||
|
user services, just system services. Now it enables also the
|
||||||
|
user services installed before this package, thus fixing
|
||||||
|
boo#1186561
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 7 09:38:24 UTC 2021 - Michal Suchanek <msuchanek@suse.com>
|
Wed Apr 7 09:38:24 UTC 2021 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
@ -87,6 +87,7 @@ if [ -f /run/rpm-%{name}-preset-all ]; then
|
|||||||
# Don't disable services, since this would disable the
|
# Don't disable services, since this would disable the
|
||||||
# complete network stack.
|
# complete network stack.
|
||||||
systemctl preset-all --preset-mode=enable-only
|
systemctl preset-all --preset-mode=enable-only
|
||||||
|
systemctl preset-all --preset-mode=enable-only --global
|
||||||
fi
|
fi
|
||||||
rm -f /run/rpm-%{name}-preset-all
|
rm -f /run/rpm-%{name}-preset-all
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user