← Back to team overview

desktop-packages team mailing list archive

[Bug 1190344] Re: lightdm is leaking FDs -fix

 

This bug was fixed in the package lightdm - 1.13.0-0ubuntu1

---------------
lightdm (1.13.0-0ubuntu1) vivid; urgency=medium

  * New upstream release:
    - Fix crash when having configuration keys defined in multiple places
      (LP: #1377373)
    - Fix pipe file descriptor leak for each session login / authentication
      (LP: #1190344)
    - Use correct syntax for DesktopNames key in session files (LP: #1383321)
    - Match seat configuration with globbing (LP: #1364911)
    - Allow user switching in multi-seat until bug stopping greeter showing on
      logout is fixed
    - Disable log message when AccountsService users change (LP: #1376357)
    - Update AppArmor scripts, requires AppArmor 2.9
    - Update tests to run better on servers
  * debian/config-error-dialog.sh:
    - Show warning dialog instead of interrupted login if syntax error in
      ~/.profile etc (LP: #678421)
 -- Robert Ancell <robert.ancell@xxxxxxxxxxxxx>   Thu, 13 Nov 2014 11:08:17 +1300

** Changed in: lightdm (Ubuntu Vivid)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
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:
  Triaged
Status in “lightdm” source package in Utopic:
  Triaged
Status in “lightdm” source package in Vivid:
  Fix Released
Status in Fedora:
  Unknown

Bug description:
  Description of problem:
  Each time the greeter starts the number of open FDs increase. After each login and logout cycle the number of open FDs is increased. Which over time leads to impossible logins and the message in /var/log/messages is:

  Jun 12 02:44:24 node3 lightdm[17471]: ** (lightdm:17471): WARNING **: Failed to create pipe to communicate with session process: To...en files
  Jun 12 02:45:29 node3 lightdm[17471]: ** (lightdm:17471): WARNING **: Failed to create pipes: Too many open files
  Jun 12 02:47:47 node3 lightdm[17471]: ** (lightdm:17471): WARNING **: Failed to create pipes: Too many open files

  
  Tested on:
  Fedora 19 and Ubuntu 13.04 - lightdm 1.6.0

  Steps to Reproduce:

  1. login on a console and find the pid of main lightdm process then:
  # lsof -p {lightdm_pid} |grep FIFO |wc -l
  26

  2. switch to X console and login through lightdm and then logout

  3. go back on comsole
  # lsof -p {lightdm_pid} |grep FIFO |wc -l
  32

  Here is a patch that fixes the issue. It may have several lines offset
  because we use modified lightdm but it is good for the original
  version too.

  regards,
  Rumen

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1190344/+subscriptions