What | Removed | Added |
---|---|---|
CC | fbui@suse.com, mls@suse.com | |
Flags | needinfo?(mls@suse.com) |
In systemd.spec: %postun # 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) # rpm -q systemd systemd-251.4-2.1.x86_64 # rpm -q --scripts systemd [...] postuninstall scriptlet (using /bin/sh): # daemon-reload is implied by : if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : if [ $1 -ge 1 ]; then # Package upgrade, not uninstall if [ -e /etc/sysconfig/services ]; then DISABLE_RESTART_ON_UPDATE= . /etc/sysconfig/services case "$DISABLE_RESTART_ON_UPDATE" in yes|1) ;; *) /usr/bin/systemctl try-restart || : esac fi fi fi [...] Apparently rpmbuild (?) expanded "%%systemd_postun_with_restart" despite the fact that '%systemd_postun_with_restart' (included in a comment) was escaped (by a second '%'). @Michael, am I right in thinking that this issue belongs to rpmbuild ?