Description of problem: Both kernel versions 2.6.2-1.74 and 79 don't allow me to login Version-Release number of selected component (if applicable): 2.6.2-1.74, 2.6.2-1.79 How reproducible: Always Steps to Reproduce: 1. Boot the machine 2. Attempt to login 3. Actual results: The following errors occur /etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp /etc/X11/gdm/PreSession/Default: running : /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "paul" SELinux gdm login: unable to obtain default security context for paul Expected results: I can login Additional info:
Also applies to ssh logins There seems to be a new piece of system-config-users that is not yet fully ties into the process.
Do you want to run with SELinux? If not remove policy and policy-sources from your machine, login should work again. Otherwise you could add selinux=0 to your kernel line in grub. If yes, you need to relabel the file system, this will happen at install time in test2. But for now you need to cd /etc/security/selinux/src/policy make load make relabel reboot
Doing "make relabel" hangs while setfiles is attempting to relabel /SWAP. If you do "swapoff -a" first, it works fine.
I get the following errors when attempting to follow the directions above: /usr/sbin/setfiles file_contexts/file_contexts `mount | awk '/(ext[23]| xfs).*rw/{print $3}'` /usr/sbin/setfiles: read 1205 specifications /usr/sbin/setfiles: invalid context system_u:object_r:aliases_etc_t on line number 1038 /usr/sbin/setfiles: invalid context system_u:object_r:aliases_etc_t on line number 1039 /usr/sbin/setfiles: invalid context system_u:object_r:ntp_etc_t on line number 1099 make: *** [relabel] Error 1
New policy-1.6-16 fixes this problem