[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

package builds crashing under fakeroot



Hi,

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?

regards
Alastair

-- 
Alastair McKinstry, <alastair@sceal.ie>, <mckinstry@debian.org>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered. 

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: