All, I found the reason for the failures listed in my previous email below, when I used yum-complete-transaction. yum-complete-transaction LACKS SELINUX PRIVELEGES. After I added selinux privelge, which was easy, chcon --reference=/usr/bin/yum /usr/sbin/yum-complete-transaction Note::The above command, applies the same SELINUX context that /usr/bin/yum already has, to /usr/sbin/yum-complete-transaction. After that, I am no longer seeing the failures. Is there any plan to open a bug against selinux, to label and update file context for /usr/sbin/yum-complete-transaction, just like what selinux is currently doing for YUM, RPM and several other executables/scripts. Thanks, Sudha
--- On Wed, 3/11/09, Creative Innovative <[email protected]> wrote: From: Creative Innovative <[email protected]> Subject: Running yum-complete-transaction fails for some packages. To: [email protected] Date: Wednesday, March 11, 2009, 12:09 AM Hi All, I was trying to use yum-complete-transaction, and it is failing on certain packages. I ran yum-complete-transaction as root user. It failed install/update only for certain packages. I have listed the failures below, can someone please throw some light on this issue. error: %pre(rpcbind-0.1.7-1.fc9.i386) scriptlet failed, exit status 126 error: install: %pre scriptlet failed (2), skipping rpcbind-0.1.7-1.fc9 /var/tmp/rpm-tmp.20253: line 1: /usr/sbin/groupadd: Permission denied /var/tmp/rpm-tmp.20253: line 3: /usr/sbin/useradd: Permission denied error: %pre(avahi-autoipd-0.6.22-11.fc9.i386) scriptlet failed, exit status 126 error: install: %pre scriptlet failed (2), skipping avahi-autoipd-0.6..22-11.fc9 /var/tmp/rpm-tmp.59185: line 1: /usr/sbin/groupadd: Permission denied error: %pre(mlocate-0.21-1.fc9.i386) scriptlet failed, exit status 126 error: install: %pre scriptlet failed (2), skipping mlocate-0.21-1.fc9 /var/tmp/rpm-tmp.30260: line 1: /usr/sbin/groupadd: Permission denied error: %pre(initscripts-8.76.4-1.i386) scriptlet failed, exit status 126 error: install: %pre scriptlet failed (2), skipping initscripts-8.76.4-1 Installing: kernel ################### [ 362/1115] /sbin/new-kernel-pkg: line 287: /sbin/depmod: Permission denied /sbin/mkinitrd: line 1677: /sbin/depmod: Permission denied "/sbin/depmod -a 2.6.27.19-78.2.30.fc9.i686" failed. mkinitrd failed error: %post(kernel-2.6.27.19-78.2.30.fc9.i686) scriptlet failed, exit status 1 Thanks, Sudha
_______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
