Bug#857995: respawn loop due to insufficient permissions

Michael Biebl biebl at debian.org
Tue May 2 12:12:54 UTC 2017


Am 02.05.2017 um 13:43 schrieb Michael Biebl:

> After further investigation, this particular information is incorrect,
> it seems. It's not the main gdm3 process which dies. So the respawning
> is not done by systemd, but by the main gdm process:

Which seems to be a result of the session scope of Debian-gdm not being
stopped when the gdm service is stopped, so if you run systemctl stop
gdm.service, the session scope is still running, along with all its
processes:

> │ └─user-109.slice
> │   ├─user at 109.service
> │   │ ├─at-spi-dbus-bus.service
> │   │ │ ├─5156 /usr/lib/at-spi2-core/at-spi-bus-launcher
> │   │ │ ├─5161 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
> │   │ │ └─5163 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
> │   │ ├─dbus.service
> │   │ │ ├─5133 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
> │   │ │ └─5174 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
> │   │ ├─xdg-permission-store.service
> │   │ │ └─5180 /usr/lib/flatpak/xdg-permission-store
> │   │ └─init.scope
> │   │   ├─5126 /lib/systemd/systemd --user
> │   │   └─5127 (sd-pam)
> │   └─session-c4.scope
> │     ├─5122 gdm-session-worker [pam/gdm-launch-environment]
> │     ├─5131 /usr/lib/gdm3/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
> │     ├─5135 /usr/lib/gnome-session/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
> │     ├─5143 /usr/bin/gnome-shell
> │     ├─5149 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
> │     ├─5169 /usr/bin/pulseaudio --start --log-target=syslog
> │     ├─5172 /usr/lib/x86_64-linux-gnu/pulse/gconf-helper
> │     └─5189 /usr/lib/gnome-settings-daemon/gnome-settings-daemon

As a workaround, I added
ExecStopPost=/bin/loginctl kill-user Debian-gdm
to gdm.service. This seems enough to make
systemctl restart gdm.service
work


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170502/51a1de46/attachment.sig>


More information about the pkg-gnome-maintainers mailing list