Bug#867710: systemd don't stop user processes reliable on logout, even with KillUserProcesses=yes

Alf Gaida agaida at siduction.org
Thu Jul 13 00:22:16 BST 2017


> I will send a list when this happend again - sorry, hadn't a debug shell
> at hand last time. The situation become a little bit worse because we
> had some fixes upstream that prevent triggering this behaviour most of
> the time.
Ok, here are some "screenshots" and the system status
 
Cheers Alf

-------------- next part --------------
* ramme
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Tue 2017-07-11 01:38:39 CEST; 1 day 23h ago
   CGroup: /
           |-user.slice
           | |-user-1000.slice
           | | `-session-3.scope
           | |   |-  304 dirmngr --daemon --homedir /tmp/apt-key-gpghome.4r4rwWH4y6
           | |   |-  345 dirmngr --daemon --homedir /tmp/apt-key-gpghome.4Fo71F9uuQ
           | |   |-  561 dirmngr --daemon --homedir /tmp/apt-key-gpghome.cneuQnmR9d
           | |   |-  818 dirmngr --daemon --homedir /tmp/apt-key-gpghome.6JkRfIO6Kn
           | |   |- 1064 dirmngr --daemon --homedir /root/.gnupg
           | |   |- 1071 gpg-agent --homedir /root/.gnupg --use-standard-socket --daemon
           | |   |- 1168 dirmngr --daemon --homedir /tmp/apt-key-gpghome.Xx2lqbzT3F
           | |   |- 1169 dirmngr --daemon --homedir /tmp/apt-key-gpghome.ACcuAaHAMW
           | |   |- 2035 dirmngr --daemon --homedir /tmp/apt-key-gpghome.jZZBmD4RJW
           | |   |- 2234 dirmngr --daemon --homedir /tmp/apt-key-gpghome.eS7AnNlCp4
           | |   |- 2295 dirmngr --daemon --homedir /tmp/apt-key-gpghome.5y06jE5BCq
           | |   |- 2431 dirmngr --daemon --homedir /tmp/apt-key-gpghome.rTuvS9oMIQ
           | |   |- 2492 dirmngr --daemon --homedir /tmp/apt-key-gpghome.5ps2i38ZNQ
           | |   |- 2688 dirmngr --daemon --homedir /tmp/apt-key-gpghome.t43uwp5Tfz
           | |   |- 2826 dirmngr --daemon --homedir /tmp/apt-key-gpghome.iVM8EZSUVt
           | |   |- 2885 dirmngr --daemon --homedir /tmp/apt-key-gpghome.j619ncWAbq
           | |   |- 3024 dirmngr --daemon --homedir /tmp/apt-key-gpghome.qW7qFRD1Sy
           | |   |- 3083 dirmngr --daemon --homedir /tmp/apt-key-gpghome.OfRGs2CqfU
           | |   |- 3224 dirmngr --daemon --homedir /tmp/apt-key-gpghome.44QSRog07T
           | |   |- 3291 dirmngr --daemon --homedir /tmp/apt-key-gpghome.7lguvlGoSe
           | |   |- 3342 /usr/bin/anydesk --tray
           | |   |- 3552 dirmngr --daemon --homedir /tmp/apt-key-gpghome.FqhONE3jPh
           | |   |- 3628 dirmngr --daemon --homedir /tmp/apt-key-gpghome.HpV4t1B80o
           | |   |- 3769 dirmngr --daemon --homedir /tmp/apt-key-gpghome.iVG5eje6Fw
           | |   |- 3824 dirmngr --daemon --homedir /tmp/apt-key-gpghome.Z5farUFPbL
           | |   |- 3873 dirmngr --daemon --homedir /tmp/apt-key-gpghome.YyGgWfIIsg
           | |   |- 4261 dirmngr --daemon --homedir /tmp/apt-key-gpghome.53V6zmOcYk
           | |   |- 5527 dirmngr --daemon --homedir /tmp/apt-key-gpghome.Bdnu8ggvJW
           | |   |- 5645 dirmngr --daemon --homedir /tmp/apt-key-gpghome.G9DkGPrzZM
           | |   |- 5724 dirmngr --daemon --homedir /tmp/apt-key-gpghome.b7rbuXvlHa
           | |   |- 5844 dirmngr --daemon --homedir /tmp/apt-key-gpghome.b3ufKYi9Fp
           | |   |- 5922 dirmngr --daemon --homedir /tmp/apt-key-gpghome.nKgUPkf2Ua
           | |   |- 6041 dirmngr --daemon --homedir /tmp/apt-key-gpghome.zMBcIaj0Bk
           | |   |- 6118 dirmngr --daemon --homedir /tmp/apt-key-gpghome.MM6mZ2LeGo
           | |   |- 6240 dirmngr --daemon --homedir /tmp/apt-key-gpghome.1XUkG1BYoH
           | |   |- 6314 dirmngr --daemon --homedir /tmp/apt-key-gpghome.shfWTjVzTD
           | |   |- 6438 dirmngr --daemon --homedir /tmp/apt-key-gpghome.DaOLwu6Qbw
           | |   |- 6636 dirmngr --daemon --homedir /tmp/apt-key-gpghome.nWiMMfKRXh
           | |   |- 6655 dirmngr --daemon --homedir /tmp/apt-key-gpghome.MJBlYP09ZR
           | |   |- 6833 dirmngr --daemon --homedir /tmp/apt-key-gpghome.tMpR20qiSa
           | |   |- 7072 dirmngr --daemon --homedir /tmp/apt-key-gpghome.tNA7u9p10Z
           | |   |- 7092 dirmngr --daemon --homedir /tmp/apt-key-gpghome.0nd2OwlnwC
           | |   |- 7685 dirmngr --daemon --homedir /tmp/apt-key-gpghome.4XZPol2jsy
           | |   |-11518 cat
           | |   |-11519 cat
           | |   |-12075 dirmngr --daemon --homedir /tmp/apt-key-gpghome.vGVCqMgfhF
           | |   |-12371 dirmngr --daemon --homedir /tmp/apt-key-gpghome.LfeAdL6tMq
           | |   |-12960 dirmngr --daemon --homedir /tmp/apt-key-gpghome.mPpR2EadyT
           | |   |-13156 dirmngr --daemon --homedir /tmp/apt-key-gpghome.DV8LTUcfZ2
           | |   |-13416 dirmngr --daemon --homedir /tmp/apt-key-gpghome.bRtCiEEASz
           | |   |-13505 dirmngr --daemon --homedir /tmp/apt-key-gpghome.3r6WWybyEi
           | |   |-13787 dirmngr --daemon --homedir /tmp/apt-key-gpghome.zVu6tdOVnV
           | |   |-14072 dirmngr --daemon --homedir /tmp/apt-key-gpghome.hbA9jL9Hj4
           | |   |-14214 dirmngr --daemon --homedir /root/.gnupg
           | |   |-14762 dirmngr --daemon --homedir /tmp/apt-key-gpghome.xCwlSU8Uu4
           | |   |-14863 /bin/sh /usr/bin/xdg-open .
           | |   |-15016 dirmngr --daemon --homedir /tmp/apt-key-gpghome.LvLLHgh2vt
           | |   |-15214 dirmngr --daemon --homedir /tmp/apt-key-gpghome.LZVWXTPLiU
           | |   |-15650 dirmngr --daemon --homedir /tmp/apt-key-gpghome.K0ZH6Q4BlL
           | |   |-16748 dirmngr --daemon --homedir /tmp/apt-key-gpghome.lk4QAo7vRe
           | |   |-17042 dirmngr --daemon --homedir /tmp/apt-key-gpghome.XCS4dWUHxp
           | |   |-17239 dirmngr --daemon --homedir /tmp/apt-key-gpghome.CzPTN1qZjQ
           | |   |-17400 dirmngr --daemon --homedir /tmp/apt-key-gpghome.heFtTMzIRf
           | |   |-18971 dirmngr --daemon --homedir /tmp/apt-key-gpghome.DLqZqkZiKE
           | |   |-19152 dirmngr --daemon --homedir /root/.gnupg
           | |   |-20735 dirmngr --daemon --homedir /tmp/apt-key-gpghome.7xwhcUC4ni
           | |   |-21027 dirmngr --daemon --homedir /tmp/apt-key-gpghome.R6PLlv0CDS
           | |   |-25130 dirmngr --daemon --homedir /tmp/apt-key-gpghome.8ns2uuEwRW
           | |   |-25589 dirmngr --daemon --homedir /root/.gnupg
           | |   |-25867 dirmngr --daemon --homedir /tmp/apt-key-gpghome.YGfLIijlBv
           | |   |-26159 dirmngr --daemon --homedir /tmp/apt-key-gpghome.fMfFbgrYKy
           | |   |-27552 dirmngr --daemon --homedir /root/.gnupg
           | |   |-28775 firefox .
           | |   |-29275 dirmngr --daemon --homedir /tmp/apt-key-gpghome.Dha8BDvq9a
           | |   |-29569 dirmngr --daemon --homedir /tmp/apt-key-gpghome.mtCwLnIB4l
           | |   |-30620 dirmngr --daemon --homedir /tmp/apt-key-gpghome.SHxSWUNh15
           | |   |-31232 dirmngr --daemon --homedir /tmp/apt-key-gpghome.XNMAdcBHKM
           | |   |-31428 dirmngr --daemon --homedir /tmp/apt-key-gpghome.luqfWySNGw
           | |   |-31624 dirmngr --daemon --homedir /tmp/apt-key-gpghome.qTObVGT914
           | |   |-31830 dirmngr --daemon --homedir /tmp/apt-key-gpghome.UfDPuyZeOl
           | |   |-32026 dirmngr --daemon --homedir /tmp/apt-key-gpghome.JaQTaS3Mdx
           | |   |-32091 dirmngr --daemon --homedir /tmp/apt-key-gpghome.N1WM42qdq9
           | |   |-32223 dirmngr --daemon --homedir /tmp/apt-key-gpghome.hpVsuqSzUu
           | |   `-32616 dirmngr --daemon --homedir /tmp/apt-key-gpghome.58c5pdEA4t
           | `-user-110.slice
           |   |-session-65.scope
           |   | |-28803 /usr/lib/x86_64-linux-gnu/sddm/sddm-helper --socket /tmp/sddm-auth18d5c445-48b8-4c61-af00-31fb6059cdfc --id 4 --start /usr/bin/sddm-greeter --socket /tmp/sddm-:0-MTYGPL --theme /usr/share/sddm/themes/debian-theme --user sddm --greeter
           |   | `-28831 /usr/bin/sddm-greeter --socket /tmp/sddm-:0-MTYGPL --theme /usr/share/sddm/themes/debian-theme
           |   `-user at 110.service
           |     |-dbus.service
           |     | `-28842 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
           |     `-init.scope
           |       |-28822 /lib/systemd/systemd --user
           |       `-28823 (sd-pam)
           |-init.scope
           | `-1 /sbin/init
           `-system.slice
             |-lvm2-lvmetad.service
             | `-412 /sbin/lvmetad -f
             |-systemd-timesyncd.service
             | `-965 /lib/systemd/systemd-timesyncd
             |-preload.service
             | `-1013 /usr/sbin/preload -s /var/lib/preload/preload.state
             |-mdmonitor.service
             | `-954 /sbin/mdadm --monitor --scan
             |-sddm.service
             | |- 1093 /usr/bin/sddm
             | `-28778 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/sddm/{ec374192-c062-4d51-9021-77b9b2bf757a} -background none -noreset -displayfd 19 vt7
             |-upower.service
             | `-3509 /usr/lib/upower/upowerd
             |-dbus.service
             | `-987 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
             |-udisks2.service
             | `-3486 /usr/lib/udisks2/udisksd --no-debug
             |-debug-shell.service
             | |- 400 /bin/bash
             | `-9943 systemctl status
             |-ssh.service
             | `-1078 /usr/sbin/sshd -D
             |-avahi-daemon.service
             | |-984 avahi-daemon: running [ramme.local]
             | `-991 avahi-daemon: chroot helper
             |-system-getty.slice
             | `-getty at tty1.service
             |   `-1085 /sbin/agetty --noclear tty1 linux
             |-connman.service
             | `-998 /usr/sbin/connmand -n
             |-smartd.service
             | `-970 /usr/sbin/smartd -n
             |-gpm.service
             | `-1067 /usr/sbin/gpm -m /dev/input/mice -t exps2
             |-rpcbind.service
             | `-963 /sbin/rpcbind -f -w
             |-systemd-logind.service
             | `-996 /lib/systemd/systemd-logind
             |-rtkit-daemon.service
             | `-986 /usr/lib/rtkit/rtkit-daemon
             |-packagekit.service
             | `-1808 /usr/lib/packagekit/packagekitd
             |-cups.service
             | |-16514 /usr/sbin/cupsd -l
             | `-22199 /usr/lib/cups/notifier/dbus dbus://
             |-connman-vpn.service
             | `-997 /usr/sbin/connman-vpnd -n
             |-polkit.service
             | `-3315 /usr/lib/policykit-1/polkitd --no-debug
             |-dm-event.service
             | `-865 /sbin/dmeventd -f
             |-cron.service
             | `-972 /usr/sbin/cron -f
             |-systemd-udevd.service
             | `-444 /lib/systemd/systemd-udevd
             |-atd.service
             | `-977 /usr/sbin/atd -f
             |-systemd-journald.service
             | `-392 /lib/systemd/systemd-journald
             `-cups-browsed.service
               `-16515 /usr/sbin/cups-browsed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firefix-on-sddm.jpg
Type: image/jpeg
Size: 3743718 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170713/73efca7b/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sddm-expected.jpg
Type: image/jpeg
Size: 3408233 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170713/73efca7b/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170713/73efca7b/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list