Control: clone 829557 -2 Control: severity -2 important Control: reassign -2 dbus Control: retitle -2 dbus-launch/dbus-daemon behave badly if stdin is closed?
On Mon, 11 Jul 2016 at 13:23:38 +0200, Yves-Alexis Perez wrote: > > So it seems stdin is closed for the second login. Could it break dbus- > > launch/dbus-daemon somehow? Probably. dbus-launch polls its stdin under certain circumstances (which is silly, but it's backwards-compatibility with code from long before I got involved), and dbus-daemon might close it or end up with fds that it opens unexpectedly becoming stdin. Hopefully the fact that you have discovered this will make it easier for me to make a smaller-than-lightdm reproducer. > Simon, I'm not sure if it's something worth investigating/fixing in dbus, so > I'll let you handle from there, I guess. dbus-daemon is designed to be launchable from X11 "autolaunching" in arbitrarily precarious circumstances, so yes this is a bug, and I'm opening a clone to track that. Thank you for making it non-RC so I can carry on with my holiday :-) S