Description of problem: Cannot uninstall firewalld, the PREUN scriptlet fails. Version-Release number of selected component (if applicable): firewalld-0.3.9-1.fc20.noarch How reproducible: Always Steps to Reproduce: 1. yum remove -y firewalld Actual results: LANG=C yum remove firewalld Resolving Dependencies --> Running transaction check ---> Package firewalld.noarch 0:0.3.9-1.fc20 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Removing: firewalld noarch 0.3.9-1.fc20 @updates 2.3 M Transaction Summary ============================================================================================================================================================= Remove 1 Package Installed size: 2.3 M Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction error: %preun(firewalld-0.3.9-1.fc20.noarch) scriptlet failed, exit status 127 Error in PREUN scriptlet in rpm package firewalld-0.3.9-1.fc20.noarch Verifying : firewalld-0.3.9-1.fc20.noarch 1/1 Failed: firewalld.noarch 0:0.3.9-1.fc20 Expected results: firewalld uninstalled
I am not able to reproduce this problem. Uninstalling firewalld is working for me without the mentioned problem. Is systemd correctly working on your machine?
The %preun section in spec file looks ok [1] to me: Requires(preun): systemd %preun %systemd_preun firewalld.service Do you have any idea what else could be the culprit ? [1] https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
I've done more testing and something must be broken in my server because rpm is failing in a lot of packages. Sorry for the inconveniences, you can close the bug.
Closing NOT A BUG according to comment 3.
I think this may be a larger issue w/ the latest updates in fedora 20 atm. http://www.spinics.net/linux/fedora/fedora-users/msg444043.html Seeing other recent posts w/ the issue across different rpms. related to this possibly? https://admin.fedoraproject.org/updates/FEDORA-2014-0870/selinux-policy-3.12.1-117.fc20 looking into it some more.
Installing : rdo-release-icehouse-1.noarch 1/1 warning: %post(rdo-release-icehouse-1.noarch) scriptlet failed, exit status 127 Non-fatal POSTIN scriptlet failure in rpm package rdo-release-icehouse-1.noarch Verifying : rdo-release-icehouse-1.noarch
may be a dupe.. looking for related bug https://admin.fedoraproject.org/updates/FEDORA-2014-0870/selinux-policy-3.12.1-117.fc20
duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1054350 , workaround listed in comments there
*** This bug has been marked as a duplicate of bug 1054350 ***
I'v got the same error. since yesterday it is a common bug during fedora update process. I'v set selinux to repmissive, made upgrade, than set back to enforcing
Yes installing the 117 or later selinux-policy package should fix the problem. 116 was bad.