[DSE-Dev] Bug#683756: selinux in permissive mode breaks gdm and X

Ron Murray rjmx at rjmx.net
Fri Aug 31 00:09:26 UTC 2012


On 08/29/12 06:27, Laurent Bigonville wrote:
> Hello,
>
> Alright, I got it.
>
> /usr/sbin/gdm3 is not labeled with the right context.
>
> On my machine here it's labeled:
>
> -rwxr-xr-x. 1 root root system_u:object_r:xdm_exec_t:SystemLow 160296 jun 25 20:29 /usr/sbin/gdm3
>
> And by default in wheezy it's labeled as bin_t.
>
> Could you please confirm that changing the label on the /usr/sbin/gdm3
> executable is fixing your issue?
>
> Cheers
>
> Laurent Bigonville

OK, we progress. The label change fixed it on two of the three machines
I'm having the problem with. On the other, starting it up in selinux
permissive mode (after the relabelling and subsequent reboot) causes
gdm3 to respawn continually. I'll try another strace session on that one
to see if that turns up anything, but I can't get to the machine until
next week (it's my work machine).

Thanks,

 .....Ron



More information about the SELinux-devel mailing list