<div dir="ltr"><div><div><div><div><div><div>Package: selinux-policy-default<br>Version: 2:2.20140206-1<br>Severity: important<br><br>Dear Maintainer,<br><br></div>When running SELinux in enforcing mode, LightDM fails to login, the screen flashes and comes back to the login screen.<br>
</div>No specific AVC denial messages are present in the log.<br></div>Switching to Permissive mode allows LightDM to function properly.<br></div>The issue is solved by changing the context of the LightDM executable to xdm_exec_t<br>
</div>with the command "chcon -t xdm_exec_t /usr/sbin/lightdm".<br><br></div>Thank you for investigating this issue.<br><div><br><div><div><div><div><div><div><div><br>-- System Information:<br>Debian Release: jessie/sid<br>
  APT prefers testing<br>  APT policy: (990, 'testing'), (250, 'unstable')<br>Architecture: amd64 (x86_64)<br>Foreign Architectures: i386<br><br>Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)<br>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages selinux-policy-default depends on:<br>ii  libpam-modules   1.1.3-9<br>ii  libselinux1      2.2.2-1<br>ii  libsepol1        2.2-1<br>ii  policycoreutils  2.2.5-1<br>
ii  python           2.7.5-5<br>ii  selinux-utils    2.2.2-1<br><br>Versions of packages selinux-policy-default recommends:<br>ii  checkpolicy  2.2-1<br>ii  setools      3.3.8-3<br><br>Versions of packages selinux-policy-default suggests:<br>
pn  logcheck        <none><br>pn  syslog-summary  <none><br><br>-- Configuration Files:<br>/etc/selinux/default/modules/active/file_contexts.local [Errno 13] Permission denied: u'/etc/selinux/default/modules/active/file_contexts.local'<br>
<br>-- no debconf information<br><br></div></div></div></div></div></div></div></div></div>