[Bug 1203847] Updating to systemd-251.4-3.1 throws additional rpm output "Too few arguments".
https://bugzilla.suse.com/show_bug.cgi?id=1203847 https://bugzilla.suse.com/show_bug.cgi?id=1203847#c1 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fbui@suse.com, mls@suse.com Flags| |needinfo?(mls@suse.com) --- Comment #1 from Franck Bui <fbui@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 ? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com