Description of problem: This is a fragment of yum output from the last update: Updating : policycoreutils ####################### [12/93] error: %post(policycoreutils-2.0.2-3.fc7.x86_64) scriptlet failed, exit status 1 This results in multiple policycoreutils packages left in an installation with all associated headaches. A check what is in this %post script reveals that 'sepolgen-ifgen' runs into troubles: # /usr/bin/sepolgen-ifgen error parsing headers could not find support macros (obj_perm_sets.spt) This was on x86_64 installation if that is indeed relevant here. Version-Release number of selected component (if applicable): policycoreutils-2.0.2-3.fc7 How reproducible: always
Fixed in policycoreutils-2.0.3-2
Am getting this: Updating : policycoreutils ####################### [ 6/48] /var/tmp/rpm-tmp.23358: line 2: /usr/sbin/sepolgen-ifgen: No such file or directory Updating : pam_ccreds for the past few updates: [root@localhost ~]# rpm -q policycoreutils policycoreutils-2.0.25-3.fc8 [root@localhost ~]# Isn't sepolgen-ifgen in /usr/bin (not /usr/sbin)? postinstall script refers to /usr/sbin/sepolgen-ifgen: [root@localhost ~]# rpm -q --scripts policycoreutils postinstall scriptlet (using /bin/sh): /sbin/chkconfig --add restorecond [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/sbin/sepolgen-ifgen > /dev/null /usr/bin/sepolgen-ifgen > /dev/null exit 0 preuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ]; then /sbin/service restorecond stop > /dev/null 2>&1 /sbin/chkconfig --del restorecond fi postuninstall scriptlet (using /bin/sh): if [ "$1" -ge "1" ]; then [ -x /sbin/service ] && /sbin/service restorecond condrestart > /dev/null fi [root@localhost ~]#
Yes, it is now. Fixed in policycoreutils-2.0.25-4.fc8