[Pkg-xfce-devel] Bug#829557: Bug#829557: Bug#829557: firefox: error box at start-up / D-BUS related issue

Vincent Lefevre vincent at vinc17.net
Mon Jul 11 13:46:45 UTC 2016


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 <vincent at 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)



More information about the Pkg-xfce-devel mailing list