Bug 889508
| Summary: | Non-fatal POSTIN scriptlet failure in rpm package policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral (Red Hat) <kparal> |
| Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | collura, dwalsh, mgrepl, mschmidt |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | policycoreutils-2.1.13-27.3.fc17 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-01 02:27:11 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: | |||
policycoreutils.spec is using macroized systemd scriptlets in Fedora 17 by mistake. They are only available since F18 (mainly because the macro for %post depends on the "preset" feature for which we do not ship the necessary preset files in F17). See: https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd So how do I get rid of this package or error? #rpm -qa | grep policycoreutilspolicycoreutils-python-2.1.13-55.fc18.x86_64 ... policycoreutils-restorecond-2.1.13-55.fc18.x86_64 policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 ... and `sudo yum remove $package` gives off this: ... Error in PREUN scriptlet in rpm package policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 Verifying : policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 1/1 Failed: policycoreutils-restorecond.x86_64 0:2.1.13-27.1.fc17 rpm -e --noscripts policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 Fixed in policycoreutils-2.1.12-27.2 policycoreutils-2.1.13-27.2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-27.2.fc17 Package policycoreutils-2.1.13-27.2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-27.2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1544/policycoreutils-2.1.13-27.2.fc17 then log in and leave karma (feedback). OK, thanks Michal Schmidt for the tip, that did it. Now the funny thing is, I have 2 machines upgraded from the latest updated Fedora 17 to F18. But only one machine gave off this error! Anyway, now it's fixed, I deleted the old version using --noscripts option to rpm: rpm -e --noscripts policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 Thanks to everyone. OK, thanks Michal Schmidt for the tip, that did it. Now the funny thing is, I have 2 machines upgraded from the latest updated Fedora 17 to F18. But only one machine gave off this error! Anyway, now it's fixed, I deleted the old version using --noscripts option to rpm: rpm -e --noscripts policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 Thanks to everyone. policycoreutils-2.1.13-27.3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-27.3.fc17 policycoreutils-2.1.13-27.3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: > Updating : policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 > Non-fatal POSTIN scriptlet failure in rpm package policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 > /var/tmp/rpm-tmp.M2qaDs: line 1: fg: no job control > warning: %post(policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64) scriptlet failed, exit status 1 Version-Release number of selected component (if applicable): policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64