Re: dbus startup problem when built with eglibc-2.17
On Sat, 2013-09-21 at 15:59 +0200, Samuel Thibault wrote:
> Svante Signell, le Mon 02 Sep 2013 22:35:51 +0200, a écrit :
> > The solution is to patch dbus to cover also EPROTYYPE,
> > if (*fd_p < 0 && (errno == EINVAL || errno == EPROTOTYPE))
> > if (retval < 0 && (errno == EINVAL || errno == EPROTOTYPE))
> > or to patch pf.c to return EINVAL instead of EPROTOTYPE.
> >
> > Which way to go?
>
> Since I've added the SOCK_CLOEXEC patch to the debian glibc, it'll get
> fixed, but glibc should really check against EPROTOTYPE, since that's a
> documented posix error for socket().
This check is now committed for dbus, and is pending for glib2.0.
Reply to: