[Pkg-xfce-devel] Bug, potentially in lightdm or another package (mate..., X, ... systemd)

Erich Minderlein erich.minderlein at edhec.com
Sun Dec 17 12:21:37 UTC 2017


Hi all

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: lightdm: 12 user processes are left running when having logged 
out from X

X-Mailer: reportbug 7.1.7
Date: Sun, 17 Dec 2017 12:46:15 +0100

Package: lightdm
Version: 1.18.3-1
Severity: important

Dear Maintainer,


-- System Information:
Debian Release: 9.3
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.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.115
ii  dbus                                   1.10.24-0+deb9u1
ii  debconf [debconf-2.0]                  1.5.61
ii  libaudit1                              1:2.6.7-2
ii  libc6                                  2.24-11+deb9u1
ii  libgcrypt20                            1.7.6-2+deb9u2
ii  libglib2.0-0                           2.50.3-2
ii  libpam-systemd                         232-25+deb9u1
ii  libpam0g                               1.1.8-3.6
ii  libxcb1                                1.12-1
ii  libxdmcp6                              1:1.1.2-3
ii  lightdm-gtk-greeter [lightdm-greeter]  2.0.2-1

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

Versions of packages lightdm suggests:
ii  accountsservice  0.6.43-1
ii  upower           0.99.4-4+b1
pn  xserver-xephyr   <none>

-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
[Seat:*]
greeter-allow-guest=false
session-cleanup-script=
[XDMCPServer]
[VNCServer]


-- debconf information:
   lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm

Session cleanup script does not exist


When checking out from X session as user 1000 and checking in as user 1001,
I had bad performance on my relatively limited notebook.
I found that the following processes were left running, owned by user 1000

  PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
     1  2568  2568  2568 ?           -1 Ss    1000   0:00 
/lib/systemd/systemd --user
  2568  2574  2568  2568 ?           -1 S     1000   0:00 (sd-pam)
     1  2585  2584  2584 ?           -1 Sl    1000   0:00 
/usr/bin/gnome-keyring-daemon --daemonize --login
  2568  2595  2595  2595 ?           -1 Ss    1000   0:00 
/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile 
--systemd-activation
  2568  2639  2595  2595 ?           -1 Sl    1000   0:00 
/usr/lib/dconf/dconf-service
  2568  2658  2658  2658 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfsd
  2568  2711  2658  2658 ?           -1 Sl    1000   0:00 
/usr/lib/gvfs/gvfsd-trash --spawner :1.14 /org/gtk/gvfs/exec_spaw/0
  2568  2721  2721  2721 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfs-udisks2-volume-monitor
  2568  2760  2760  2760 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfs-afc-volume-monitor
  2568  2766  2766  2766 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfs-mtp-volume-monitor
  2568  2770  2770  2770 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfs-goa-volume-monitor
  2568  2774  2774  2774 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfs-gphoto2-volume-monitor
  2568  2823  2823  2823 ?           -1 Ssl   1000   0:00 
/usr/lib/gvfs/gvfsd-metadata
     1  3789  3788  3788 ?           -1 Sl    1000   0:00 
/usr/bin/gnome-keyring-daemon --daemonize --login

Same applies to other user 1001, processes are left running when 
checking out of an X Session.

I expect that no processes are left running, when having checked out as 
X session user.

I tried to write a logout script, but at a certain time the user cannot 
be found anymore in the environment.
So a Session cleanup script does not exist, and it should be run while 
the X user is still registered in the tree of processes.

This bug might as well belong to X or to mate or to systemd, I do not 
know the complete process startup structure of systemd-lightdm-X-mate

MATE Desktop Environment 1.16.2

systemd --version
systemd 232
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP 
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS 
+KMOD +IDN

Xserver 1.19.2

Please help associating this report to the right package.

Best regards

Erich Minderlein



More information about the Pkg-xfce-devel mailing list