Bugzilla – Bug 1203847
Updating to systemd-251.4-3.1 throws additional rpm output "Too few arguments".
Last modified: 2023-11-24 16:41:14 UTC
On both of my two TW systems when performing a "zypper dup" 20220921 -> 20220926 when installing "systemd-251.4-3.1" additional rpm output indicates "Too few arguments" # 2022-09-28 13:59:21 systemd-251.4-3.1.x86_64.rpm installed ok # Additional rpm output: # Too few arguments. # 2022-09-28 13:59:21|install|systemd|251.4-3.1|x86_64||repo-oss|7c696173a1c08d2ae8d9e5db3b3ef9c5073da27d2c2d2a0326ea682c07c3b00a| paul@Orion-15:~$ rpm -q rpm-config-SUSE rpm-config-SUSE-20220421-2.1.noarch paul@Orion-15:~$
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 ?
Re-assigning, apparently rpmbuild (or whatever) doesn't understand escaped "%" in comments...
This is an autogenerated message for OBS integration: This bug (1203847) was mentioned in https://build.opensuse.org/request/show/1030349 Factory / systemd