Bug 1219587
| Summary: | Error in PREIN scriptlet in rpm package unbound-libs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bruce Jerrick <bmj001> |
| Component: | unbound | Assignee: | Paul Wouters <pwouters> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | pj.pandit, psimerda, pwouters, thozza |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | unbound-1.5.3-4.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-21 17:32:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
unbound-1.5.3-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/unbound-1.5.3-4.fc20 unbound-1.5.3-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/unbound-1.5.3-4.fc21 Package unbound-1.5.3-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing unbound-1.5.3-4.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-8065/unbound-1.5.3-4.fc21 then log in and leave karma (feedback). unbound-1.5.3-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. unbound-1.5.3-4.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/unbound-1.5.3-4.fc22 unbound-1.5.3-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. unbound-1.5.3-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: During F23 OS installation of unbound-libs the following appears in /tmp/dnf.rpm.log: Error in PREIN scriptlet in rpm package unbound-libs and unbound-libs is not installed (despite being reported "Installed"). The problem is due to lack of Requires(pre) for 'groupadd' and 'useradd'. Both are provided by shadow-utils, but that doesn't get installed until after unbound-libs . Version-Release number of selected component: unbound-libs-1.5.3-3.fc23.x86_64 (unbound-1.5.3-3.fc23.src.rpm) (Could also happen in F22 version.) How reproducible: ?? May vary with package selection. I saw it with 4329 packages, via kickstart. Steps to Reproduce: 1. Install F23 including unbound-libs package. 2. grep unbound-libs /tmp/dnf.rpm.log # /tmp in the install env. Actual results: May 06 16:29:49 ERR Error in PREIN scriptlet in rpm package unbound-libs May 06 16:29:49 INFO Installed: unbound-libs-1.5.3-3.fc23.x86_64 Expected results: No "ERR" line. And to check for results of the 'groupadd' and 'useradd': 1. grep unbound /etc/group /etc/passwd Actual results: (nothing) Expected results: /etc/group:unbound:x:989: /etc/passwd:unbound:x:993:989:Unbound DNS resolver:/etc/unbound:/sbin/nologin Additional info: The relevant part of 'rpm -q --scripts unbound-libs-1.5.3-3.fc23.x86_64': preinstall scriptlet (using /bin/sh): getent group unbound >/dev/null || groupadd -r unbound getent passwd unbound >/dev/null || \ useradd -r -g unbound -d /etc/unbound -s /sbin/nologin \ -c "Unbound DNS resolver" unbound 'groupadd' and 'useradd' are provided by shadow-utils, installed only *after* unbound-libs: # grep -e unbound-libs -e shadow-utils /tmp/dnf.rpm.log May 06 16:29:49 ERR Error in PREIN scriptlet in rpm package unbound-libs May 06 16:29:49 INFO Installed: unbound-libs-1.5.3-3.fc23.x86_64 May 06 16:31:54 INFO Installed: shadow-utils-2:4.2.1-1.fc23.x86_64 'getent' is also required, but since that's provided by glibc-common it will probably always be there in time. BTW, unbound-libs is actually *not* installed; that results in a dependency PROBLEM reported by 'rpm -V gnutls-dane'. That would seem to be a dnf or rpm bug.