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): libselinux-devel-1.19.1-7 selinux-policy-targeted-1.17.30-2.52.1 libselinux-1.19.1-7 rpm-4.3.3-7_nonptl How reproducible: Every time. Steps to Reproduce: 1. Set up /etc/selinux/config with: SELINUX=enforcing SELINUXTYPE=targeted 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
This issue was caused by imaging a node without handling the extended attributes properly. It is not a bug.