On Thu, 2016-07-07 at 21:16 +0200, Yves-Alexis Perez wrote: > >Â > > Or you could try running dbus-launch with DBUS_DEBUG_OUTPUT=1 in the > > environment, which makes it not close its dbus-daemon's stderr. > > I get this: > > Misc error when trying to watch fd 4: Invalid argument > Unable to add reload watch to main loopthis watch should have been > invalidatedMisc error when trying to watch fd 5: Invalid argument > Unable to add reload watch to main loop: (null)
The message above seems to come from socket_set_epoll_add (https://dbus.freede sktop.org/doc/api/html/dbus-socket-set-epoll_8c_source.html#l00137) where epoll_ctl sets errno to EINVAL which means self->epfd is not an epoll file descriptor. I tried running dbus-launch through strace -f -D to investigate a bit more why epoll_ctl returns EINVAL but unfortunately that makes the problem disappear. Any help appreciated… Regards, -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part