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)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Sat, 3 Mar 2018 20:50:18 +0000 (20:50 +0000)
commitb5cdfa40ca6aae5e98a69da7a8b350215f807649
treee627bfa6c2c747bbec7a7bc3e7e48aaa19d1484e
parenta478fb9229bf10e500bc69df361fed607b0732b7
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