chiark / gitweb /
login: fix FDNAME in call to sd_pid_notify_with_fds()
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Sat, 3 Mar 2018 18:37:50 +0000 (18:37 +0000)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:14 +0000 (07:59 +0200)
commit49737613227ddfe7191797965c8a6d005d890bb8
treef1be336e6d932ac70ced755e9bcca0073d45e6c8
parentcaa8c3829e2475bf579a2d6d567cae30a1191349
login: fix FDNAME in call to sd_pid_notify_with_fds()

$ git grep FDNAME
logind-session-device.c: ... "FDNAME=session-", sd->session->id);
logind-session-device.c: ... "FDNAME=session", sd->session->id);

Oops.

Fixes #8343.  Or at least a more minimal reproducer.  Xorg still
dies when logind is restarted, but the Xorg message says this
is entirely deliberate.

(This could also be the reason I hit #8035, instead of the race
condition I originally suggested).
src/login/logind-session-device.c