[Bug 1127610] New: package unbound-anchor installation error
http://bugzilla.opensuse.org/show_bug.cgi?id=1127610 Bug ID: 1127610 Summary: package unbound-anchor installation error Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- while I perform a standard installation that includes also the pattern: KVM Virtualization Host and tools the installation process pauses with the following error message: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.9xnoqh: line 32: groupadd: command not found /var/tmp/rpm-tmp.9xnoqh: line 34: useradd: command not found error: %prein(unbound-anchor-1.6.8-lp151.5.1.x86_64) scriptlet failed, exit status 127 error: unbound-anchor-1.6.8-lp151.5.1.x86_64: install failed The problem is that unbound-anchor is installed before shadow and at that time the binaries groupadd and useradd used in the preinstall scriptlet, are not available yet. A possible fix is to add this line in unbound.spec: %if %{with python} BuildRequires: swig %endif PreReq: pwdutils +PreReq: shadow Requires: ldns >= %{ldns_version} # until we figured something else out for the unbound-anchor part in the systemd unit file Requires: sudo This is it about the unbound-anchor bug. But while I'm at it, i would like to remember that selecting the KVM Virtualization Host pattern triggers also bug 903889 which is more than 4 years old and apparently nobody wants to fix it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1127610 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |darin@darins.net, | |michael@stroeder.com Assignee|darin@darins.net |rtorreromarijnissen@suse.co | |m -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1127610 http://bugzilla.opensuse.org/show_bug.cgi?id=1127610#c1 --- Comment #1 from Giacomo Comes <comes@naic.edu> --- The proposed fix has been included in the latest 15.1 Beta and the bug I reported has been fixed. However, now I found this error in /var/log/zypp/history: # 2019-03-22 18:26:16 unbound-anchor-1.6.8-lp151.6.1.x86_64.rpm installed ok # Additional rpm output: # /var/tmp/rpm-tmp.XJP8nX: line 1: systemd-tmpfiles: command not found # 2019-03-22 18:26:17|install|unbound-anchor|1.6.8-lp151.6.1|x86_64||openSUSE-Leap-15.1-1|5e49024290ca886d97ed5133611d5cbdc6fda384a2755db2f7944ced90177d39| This time the problem is with systemd-tmpfiles not available because unbound-anchor is installed before systemd. The fix is the following one: %package anchor # Summary: Unbound Anchor cert management tools Group: Productivity/Networking/DNS/Servers Requires(pre): shadow +%if %{with systemd} +Requires(pre): systemd +%endif -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1127610 http://bugzilla.opensuse.org/show_bug.cgi?id=1127610#c3 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@inai.de --- Comment #3 from Jan Engelhardt <jengelh@inai.de> ---
PreReq: pwdutils +PreReq: shadow
Isn't this redundant? The only provider of pwdutils is shadow, so PreReq:pwdutils should work just like PreReq:shadow. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1127610 http://bugzilla.opensuse.org/show_bug.cgi?id=1127610#c4 --- Comment #4 from Giacomo Comes <comes@naic.edu> --- (In reply to Jan Engelhardt from comment #3)
PreReq: pwdutils +PreReq: shadow
Isn't this redundant? The only provider of pwdutils is shadow, so PreReq:pwdutils should work just like PreReq:shadow.
The correct fix is: -PreReq: pwdutils +PreReq: shadow which is what was used. And PreReq:pwdutils apparently does not work the same as PreReq:shadow, otherwise there should have been no error during the installation. See bug 1130588 comment 3 for more details. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com