[Pkg-xfce-devel] Bug#782844: lightdm leaks file descriptors when using light-locker

Philipp Edelmann edelmann at fs.tum.de
Sat Apr 18 17:54:26 UTC 2015


Package: lightdm
Version: 1.10.3-3
Severity: normal
Tags: patch

Dear Maintainer,

upstream bug #1190344 affects this version of lightdm. It was fixed in
upstream version 1.10.5.

It can be easily checked by the following steps:
- log in with lightdm
- check number of FIFO fds of lightdm
  sudo lsof -p "pid of lighdm process" |grep FIFO | wc -l
- light-locker-command -l
- unlock session
- check number of FIFO fds of lightdm again
- number has increased by 8 in my case

This is problematic as lightdm reaches the maximum number of open file
descriptors at some point, which makes it impossible to unlock the
screen.

I have adapted the upstream patch to version 1.10.3-3 which is in unstable and
testing. It fixes the problem for me.

Cheers,
Philipp


[1] https://bugs.launchpad.net/lightdm/+bug/1190344


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lightdm depends on:
ii  adduser                                3.113+nmu3
ii  consolekit                             0.4.6-5
ii  dbus                                   1.8.16-1
ii  debconf [debconf-2.0]                  1.5.56
ii  libc6                                  2.19-18
ii  libgcrypt20                            1.6.3-2
ii  libglib2.0-0                           2.42.1-1
ii  libpam-systemd                         219-6
ii  libpam0g                               1.1.8-3.1
ii  libxcb1                                1.10-3+b1
ii  libxdmcp6                              1:1.1.1-1+b1
ii  lightdm-gtk-greeter [lightdm-greeter]  1.8.5-2

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+7

Versions of packages lightdm suggests:
ii  accountsservice  0.6.37-3+b1
ii  upower           0.99.1-3.2

-- Configuration Files:
/etc/apparmor.d/lightdm-guest-session b51cea1a1248cf9bf45f2e9024c7734f [Errno 2] No such file or directory: u'/etc/apparmor.d/lightdm-guest-session b51cea1a1248cf9bf45f2e9024c7734f'
/etc/init/lightdm.conf 956d74eee3562dd53e1c33d2025968d8 [Errno 2] No such file or directory: u'/etc/init/lightdm.conf 956d74eee3562dd53e1c33d2025968d8'

-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lightdm-fd-leak.debdiff
Type: text/x-diff
Size: 2224 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150418/609e5f45/attachment.diff>


More information about the Pkg-xfce-devel mailing list