[Bug 1179849] New: plymouth rpm output: bad invocation of systemd-sysv-convert: too few arguments
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849 Bug ID: 1179849 Summary: plymouth rpm output: bad invocation of systemd-sysv-convert: too few arguments Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: mail@bernhard-voelker.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I just saw this in the RPM output when doing 'zypper dup' today (openSUSE Tumbleweed 20201205-0 -> 20201207-0): (41/51) Installing: plymouth-0.9.5+git20200921+20778f2-4.1.x86_64 .......[done] Additional rpm output: usage: systemd-sysv-convert --apply <service> [<service> ...] Too few arguments. Please check to avoid this kind of worrying messages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c1
Arjen de Korte
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
Arjen de Korte
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
Arjen de Korte
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c2
Cliff Zhao
This is caused by https://build.opensuse.org/request/show/851251 which adds calls to %service_add_post and %service_del_postun without any parameters. These macros require at least one *.service parameter.
Hi Ludwig: As Arjen said, this error is caused by the modification of %service_add_post and %service_del_postun, Could you please take a look? Thank you so much! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c3
--- Comment #3 from Bernhard Voelker
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c4
--- Comment #4 from Cliff Zhao
Any update? This still happens with 'plymouth-0.9.5+git20201026+53c83cc-2.1.x86_64'.
Could you please help to confirm if it works on your workstation when Plymouth revoke the modification of https://build.opensuse.org/request/show/851251? Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c5
--- Comment #5 from Arjen de Korte
(In reply to Bernhard Voelker from comment #3)
Any update? This still happens with 'plymouth-0.9.5+git20201026+53c83cc-2.1.x86_64'.
Could you please help to confirm if it works on your workstation when Plymouth revoke the modification of https://build.opensuse.org/request/show/851251? Thank you!
That would be a waste of effort as we already know the problem (see comment #1), what's missing is a fix. Without parameters %service_add_post is a no-op so we can safely remove that and %service_del_postun will only run `systemctl daemon-reload`. There are other macros that can do the latter without displaying errors, so use those instead. See https://build.opensuse.org/request/show/871756 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c6
--- Comment #6 from Cliff Zhao
(In reply to Cliff Zhao from comment #4)
(In reply to Bernhard Voelker from comment #3)
Any update? This still happens with 'plymouth-0.9.5+git20201026+53c83cc-2.1.x86_64'.
Could you please help to confirm if it works on your workstation when Plymouth revoke the modification of https://build.opensuse.org/request/show/851251? Thank you!
That would be a waste of effort as we already know the problem (see comment #1), what's missing is a fix. Yes, understand, I think so too. but I still need the confirmation, it's not only for this bug.
Without parameters %service_add_post is a no-op so we can safely remove that and %service_del_postun will only run `systemctl daemon-reload`. There are other macros that can do the latter without displaying errors, so use those instead. Right, it seems to make sense from the package point of view, and it can fix this bug. But the original code looks like a new feature (but report in a bug of boo#1029961). So I need to asked the author.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c7
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c8
--- Comment #8 from Cliff Zhao
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849
http://bugzilla.opensuse.org/show_bug.cgi?id=1179849#c11
Cliff Zhao
participants (1)
-
bugzilla_noreply@suse.com