** Description changed: In the Ubuntu 12.04.2, When I replaced apparmor with selinux. lightdm display manager didn't run. - PorblemType: Bug + ProblemType: Bug DistriRelease: Ubuntu 12.04.2 Package hint: selinux-policy-ubuntu 0.2.20091117-0ubuntu2 CurrentDesktop: Unity SourcePackage: refpolicy-ubuntu 0.2.20091117-0ubuntu2 UpgradeStatus: No upgrade log present (probably fresh install) [Impact] This problem is about security. [Test case] 1) Remove the Apparmor by using following command. - sudo apt-get purge Apparmor + sudo apt-get purge Apparmor 2) Install the selinux by using following command. - sudo apt-get install selinux + sudo apt-get install selinux 3) Set selinux to enforcing mode. 4) Reboot system. As result, lightdm is failed. So I tried to solve, - by changing the context of the LightDM executable to xdm_exec_t with the command "chcon -t xdm_exec_t /usr/sbin/lightdm". + by changing the context of the LightDM executable to xdm_exec_t with the command "chcon -t xdm_exec_t /usr/sbin/lightdm". As result, lightdm was executed, But I had must wait for long time about 5 minutes. I guess, lightdm have some code that have timeout to access to any socket access denied by selinux. If this problem is fixed ASAP, we'll more happy, and Ubuntu is more grow up. Thanks for your time.
** Description changed: In the Ubuntu 12.04.2, When I replaced apparmor with selinux. lightdm display manager didn't run. ProblemType: Bug - DistriRelease: Ubuntu 12.04.2 - Package hint: selinux-policy-ubuntu 0.2.20091117-0ubuntu2 - CurrentDesktop: Unity + DistroRelease: Ubuntu 12.04.2 + Package: selinux-policy-ubuntu 0.2.20091117-0ubuntu2 + Architecture: i386 SourcePackage: refpolicy-ubuntu 0.2.20091117-0ubuntu2 UpgradeStatus: No upgrade log present (probably fresh install) [Impact] This problem is about security. [Test case] 1) Remove the Apparmor by using following command. sudo apt-get purge Apparmor 2) Install the selinux by using following command. sudo apt-get install selinux 3) Set selinux to enforcing mode. 4) Reboot system. As result, lightdm is failed. So I tried to solve, by changing the context of the LightDM executable to xdm_exec_t with the command "chcon -t xdm_exec_t /usr/sbin/lightdm". As result, lightdm was executed, But I had must wait for long time about 5 minutes. I guess, lightdm have some code that have timeout to access to any socket access denied by selinux. If this problem is fixed ASAP, we'll more happy, and Ubuntu is more grow up. Thanks for your time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296103 Title: selinux casue lightdm error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/refpolicy-ubuntu/+bug/1296103/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
