- Drop use of %systemd_postun in %postun
This macro is supposed to operate on units but it was used without passing any parameters. This call was probably used for issuing a daemon-reload but the following calls to %systemd_postun_with_restart imply that already. So let's simply drop it. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1135
This commit is contained in:
parent
b5477698ee
commit
deedec8c99
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 17 10:30:43 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Drop use of %systemd_postun in %postun
|
||||
|
||||
This macro is supposed to operate on units but it was used without
|
||||
passing any parameters. This call was probably used for issuing a
|
||||
daemon-reload but the following calls to
|
||||
%systemd_postun_with_restart imply that already. So let's simply
|
||||
drop it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 5 13:02:58 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -875,10 +875,10 @@ if [ "$(readlink -f %{_sysconfdir}/systemd/system/tmp.mount)" = "%{_datadir}/sys
|
||||
fi
|
||||
|
||||
%postun
|
||||
%systemd_postun
|
||||
# Avoid restarting logind until fixed upstream (issue #1163)
|
||||
# daemon-reload is implied by %systemd_postun_with_restart
|
||||
%systemd_postun_with_restart systemd-journald.service
|
||||
%systemd_postun_with_restart systemd-timesyncd.service
|
||||
# Avoid restarting logind until fixed upstream (issue #1163)
|
||||
|
||||
%pre -n udev%{?mini}
|
||||
# New installations uses the last compat symlink generation number
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 17 10:30:43 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Drop use of %systemd_postun in %postun
|
||||
|
||||
This macro is supposed to operate on units but it was used without
|
||||
passing any parameters. This call was probably used for issuing a
|
||||
daemon-reload but the following calls to
|
||||
%systemd_postun_with_restart imply that already. So let's simply
|
||||
drop it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 5 13:02:58 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -873,10 +873,10 @@ if [ "$(readlink -f %{_sysconfdir}/systemd/system/tmp.mount)" = "%{_datadir}/sys
|
||||
fi
|
||||
|
||||
%postun
|
||||
%systemd_postun
|
||||
# Avoid restarting logind until fixed upstream (issue #1163)
|
||||
# daemon-reload is implied by %systemd_postun_with_restart
|
||||
%systemd_postun_with_restart systemd-journald.service
|
||||
%systemd_postun_with_restart systemd-timesyncd.service
|
||||
# Avoid restarting logind until fixed upstream (issue #1163)
|
||||
|
||||
%pre -n udev%{?mini}
|
||||
# New installations uses the last compat symlink generation number
|
||||
|
Loading…
Reference in New Issue
Block a user