Bug 149499 - RPM scriptlets fail when they try to run chkconfig --add/--del with selinux targetted mode
RPM scriptlets fail when they try to run chkconfig --add/--del with selinux t...
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: selinux-policy-targeted (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-02-23 12:34 EST by AJ Lewis
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-23 12:37:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description AJ Lewis 2005-02-23 12:34:51 EST
Description of problem:
rpm scriptlets fail when they try to run chkconfig --add or chkconfig --del commands

Version-Release number of selected component (if applicable):

How reproducible:
Every time.

Steps to Reproduce:
1. Set up /etc/selinux/config with:

2. Reboot to enable policy

3. Try to add or remove an rpm with chkconfig in post/preun scriptlets
(vnc-server, pcmcia-cs, GFS)

Actual results:
On install, pre post scriplet fails out, but the package is still installed
On remove, the preun scriplet fails out, and the package is not removed
# rpm -e  pcmcia-cs
error: %preun(pcmcia-cs-3.2.7-1.14.i386) scriptlet failed, exit status 255

Expected results:
No error in the post/preun scriptlets

Additional info:

May be related to bug #148922
Comment 1 AJ Lewis 2005-02-23 12:37:14 EST
This issue was caused by imaging a node without handling the extended attributes
properly.  It is not a bug.

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