selinux casue lightdm error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
refpolicy-ubuntu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In the Ubuntu 12.04.2, When I replaced apparmor with selinux. lightdm display manager didn't run.
ProblemType: Bug
DistroRelease: Ubuntu 12.04.2
Package: selinux-
Architecture: i386
SourcePackage: refpolicy-ubuntu 0.2.20091117-
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.
affects: | refpolicy (Ubuntu) → refpolicy-ubuntu (Ubuntu) |
description: | updated |
description: | updated |
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.