touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #49395
[Bug 1190344] Re: lightdm is leaking FDs -fix
Using 1.10.4-0ubuntu2 from trusty-proposed, I don't see any pipes open.
$ lsof -p 1055
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
lightdm 1055 root cwd unknown /proc/1055/cwd (readlink: Permission denied)
lightdm 1055 root rtd unknown /proc/1055/root (readlink: Permission denied)
lightdm 1055 root txt unknown /proc/1055/exe (readlink: Permission denied)
lightdm 1055 root NOFD /proc/1055/fd (opendir: Permission denied)
$ lsof -p 1055 | grep FIFO | wc -l
0
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1190344
Title:
lightdm is leaking FDs -fix
Status in Light Display Manager:
Fix Released
Status in Light Display Manager 1.10 series:
Fix Released
Status in Light Display Manager 1.12 series:
Fix Released
Status in Light Display Manager 1.2 series:
Fix Released
Status in lightdm package in Ubuntu:
Fix Released
Status in lightdm source package in Precise:
Triaged
Status in lightdm source package in Trusty:
Fix Committed
Status in lightdm source package in Utopic:
Fix Committed
Status in lightdm source package in Vivid:
Fix Released
Status in Fedora:
Unknown
Bug description:
[Impact]
LightDM doesn't close the server side end of the pipes used to communicate with session processes. This means each session that is created leaks two file descriptors eventually leading to the system stopping it from creating new pipes.
[Test Case]
1. Start LightDM
2. Check how many pipes are open
# lsof -p {lightdm_pid} | grep FIFO | wc -l
3. Create sessions by either cycling between users in Unity Greeter or logging in and out
4. Check how many pipes exist using step 2.
Expected result:
No more pipes should be open
Observed result:
Many pipes remain open
[Regression Potential]
Low. Fix is to close pipes when finished with them. Tested with regression tests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1190344/+subscriptions