On 2016-07-11 13:03:55 +0200, Yves-Alexis Perez wrote: > So it seems stdin is closed for the second login. Could it break dbus- > launch/dbus-daemon somehow?
In general, closing stdin is a bad idea, at least under Linux, because if a new file needs to be opened by the process or one of its descendants, fd 0 will be reused (while it is not expected to correspond to stdin), and this may clash with other functions that try to read stdin (= fd 0)... -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)