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

Mika Pflüger debian at mikapflueger.de
Wed Aug 29 12:36:03 UTC 2012


Hi,

Am Wed, 29 Aug 2012 14:23:29 +0200
schrieb Laurent Bigonville <bigon at debian.org>:

> Le Wed, 29 Aug 2012 16:45:02 +0530,
> piruthiviraj natarajan <piruthiviraj at gmail.com> a écrit :
> 
> > You want us to change the type "bin_t" into what?
> > I assumed that you want to relabel the type and I tried relabelling
> > #chcon -t xdm_exec_t /usr/sbin/gdm3
> > 
> >  but it didn't work. Still stuck with a black screen. I had to
> > disable the selinux at boot to login to X.
> > Now I am at
> > #ls -Z /usr/sbin/gdm3
> > system_u:object_r:xdm_exec_t:s0 /usr/sbin/gdm3
> 
> That should fix the described issue if selinux is in permissive mode,
> not enforcing mode. We are still far to have GNOME working in
> enforcing mode.

Yes, you found the culprit. Thanks a lot! I just couldn't imagine the
label having any influence on the functionality in permissive mode.
Well, I still don't really understand, but it works. (-:

Cheers + thanks,

Mika
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20120829/b6d67890/attachment.pgp>


More information about the SELinux-devel mailing list