[Pkg-openmpi-maintainers] Bug#839387: package builds crashing under fakeroot

Andrew Shadura andrew at shadura.me
Tue Oct 4 10:57:20 UTC 2016


Hi,

On 3 October 2016 at 16:50, Alastair McKinstry <mckinstry at debian.org> wrote:

> In OpenMPI 2.0, Michael Banck discovered that some of the packages that
> failed were doing so as openmpi no longer works under fakeroot.
>
> Upstream (Gilles Gouaillaerdet) point out:
>
> from validate_cred in opal/mca/pmix/pmix112/pmix/src/sec/pmix_native.c
>
> getsockopt (peer->sd, SOL_SOCKET, SO_PEERCRED, &ucred, &crlen);
>
> my understanding is that fakeroot tricks the processes into believing they
> are ran as root,
> as such, orted expects a connection from root (e.g. ucred.uid is 0)
> /* in singleton mode, an orted is fork&exec'ed under the hood */
>
> but fakeroot cannot trick getsockopt, which returns the user (non zero)
>
> So its a legitimate tightening of credential-checking in pmix. However it
> causes problems for us running tests under binary-arch.
>
> What do DDs think should be done about this - move all tests outside
> binary-arch?

OOI, does it build with pseudo instead of fakeroot?

-- 
Cheers,
  Andrew




More information about the Pkg-openmpi-maintainers mailing list