Bug 1053529 - scriptlet failed, exit status 127 in fc20
Summary: scriptlet failed, exit status 127 in fc20
Keywords:
Status: CLOSED DUPLICATE of bug 1054350
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-15 11:29 UTC by Juan Orti
Modified: 2014-01-21 17:01 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-16 21:50:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2014-01-15 11:29:43 UTC
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

Comment 1 Thomas Woerner 2014-01-15 11:46:51 UTC
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?

Comment 2 Jiri Popelka 2014-01-15 11:52:14 UTC
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

Comment 3 Juan Orti 2014-01-15 12:43:54 UTC
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.

Comment 4 Thomas Woerner 2014-01-15 13:40:26 UTC
Closing NOT A BUG according to comment 3.

Comment 5 wes hayutin 2014-01-16 21:14:00 UTC
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.

Comment 6 wes hayutin 2014-01-16 21:17:13 UTC
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

Comment 7 wes hayutin 2014-01-16 21:25:25 UTC
may be a dupe.. looking for related bug
https://admin.fedoraproject.org/updates/FEDORA-2014-0870/selinux-policy-3.12.1-117.fc20

Comment 8 Dan Book 2014-01-16 21:46:32 UTC
duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1054350 , workaround listed in comments there

Comment 9 Daniel Walsh 2014-01-16 21:50:13 UTC

*** This bug has been marked as a duplicate of bug 1054350 ***

Comment 10 webdesigner 2014-01-20 10:42:52 UTC
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

Comment 11 Daniel Walsh 2014-01-21 17:01:16 UTC
Yes installing the 117 or later selinux-policy package should fix the problem.

116 was bad.


Note You need to log in before you can comment on or make changes to this bug.