Description of problem: While updating to policycoreutils.i386 0:1.30.8-1.fc5 selinux-policy.noarch 0:2.2.38-1.fc5 selinux-policy-targeted.noarch 0:2.2.38-1.fc5 from updates-testing: Traceback (most recent call last): File "/usr/sbin/genhomedircon", line 373, in ? selconf.write() File "/usr/sbin/genhomedircon", line 334, in write fd.write(self.genoutput()) File "/usr/sbin/genhomedircon", line 321, in genoutput for h in self.getHomeDirs(): File "/usr/sbin/genhomedircon", line 311, in getHomeDirs if self.checkExists(homedir) == 1: File "/usr/sbin/genhomedircon", line 287, in checkExists regex = i.split()[0] IndexError: list index out of range libsemanage.semanage_install_sandbox: genhomedircon returned error code 1. Does it each time I run genhomedircon on this machine, but doesn't happen on all of our mchines.
Do you have a strange entry in your passwd file for a uid > 500? Perhaps a service that genhomedircon thinks is a user? Dan
Yup: sgeadmin:x:501:4:Sun Grid Engine Admin:/opt/local/sge:/bin/tcsh /opt/local/ is an automounted NFS dir.
If that is not a login account, change its shell to /sbin/nologin There is a bug in genhomedircon which will be fixed in tonights rawhide, and I will through out on ftp://people.redhat.com/dwalsh/SELinux/Fedora Fixed in 1.30.8-2
I've got this problem too in FC5.
Should be fixed in policycoreutils-1.30.10-1.fc5