unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* nss/tst-nss-db-endgrent - selinux required?
@ 2019-11-27 21:38 Andreas K. Huettel
  2019-11-27 21:53 ` Florian Weimer
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas K. Huettel @ 2019-11-27 21:38 UTC (permalink / raw
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Hi, 

I'm recently seeing these

FAIL: nss/tst-nss-db-endgrent
FAIL: nss/tst-nss-db-endpwent

both with (tip of release branch) 2.29 and 2.30. 

The log message where the tests were committed says:
> The test case runs "makedb" inside the testroot, so needs selinux
> DSOs installed.

Now, my system definitely doesnt have any selinux installed... but shouldnt 
the tests then be unsupported or expected to fail?

Cheers, 
Andreas

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nss/tst-nss-db-endgrent - selinux required?
  2019-11-27 21:38 nss/tst-nss-db-endgrent - selinux required? Andreas K. Huettel
@ 2019-11-27 21:53 ` Florian Weimer
  2019-11-27 21:59   ` Andreas K. Huettel
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Weimer @ 2019-11-27 21:53 UTC (permalink / raw
  To: Andreas K. Huettel; +Cc: libc-alpha

* Andreas K. Huettel:

> I'm recently seeing these
>
> FAIL: nss/tst-nss-db-endgrent
> FAIL: nss/tst-nss-db-endpwent
>
> both with (tip of release branch) 2.29 and 2.30. 

What's in the .out files?

> The log message where the tests were committed says:
>> The test case runs "makedb" inside the testroot, so needs selinux
>> DSOs installed.
>
> Now, my system definitely doesnt have any selinux installed... but shouldnt 
> the tests then be unsupported or expected to fail?

The chroot setup code has been updated to copy libselinux into the
croot if it is needed.  If the SELinux detection were incorrect, it
wouldn't be possible to compile support/links-dso-program-c.c or
support/links-dso-program.cc, so I'm pretty sure your problem is
something else.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nss/tst-nss-db-endgrent - selinux required?
  2019-11-27 21:53 ` Florian Weimer
@ 2019-11-27 21:59   ` Andreas K. Huettel
  2019-11-27 22:22     ` Andreas K. Huettel
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas K. Huettel @ 2019-11-27 21:59 UTC (permalink / raw
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

> The chroot setup code has been updated to copy libselinux into the
> croot if it is needed.  If the SELinux detection were incorrect, it
> wouldn't be possible to compile support/links-dso-program-c.c or
> support/links-dso-program.cc, so I'm pretty sure your problem is
> something else.

OK thanks, then the commit message led me in the wrong direction.

> > I'm recently seeing these
> > 
> > FAIL: nss/tst-nss-db-endgrent
> > FAIL: nss/tst-nss-db-endpwent
> > 
> > both with (tip of release branch) 2.29 and 2.30.
> 
> What's in the .out files?
> 

In both cases

error: xmkdir.c:27: mkdir ("/proc", 0777): Permission denied

I suspect that's somehow Gentoo's build sandbox / namespacing at work once 
more; too many moving parts. Will have a closer look. Tentatively only our 
problem.

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nss/tst-nss-db-endgrent - selinux required?
  2019-11-27 21:59   ` Andreas K. Huettel
@ 2019-11-27 22:22     ` Andreas K. Huettel
  2019-11-28  2:58       ` Carlos O'Donell
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas K. Huettel @ 2019-11-27 22:22 UTC (permalink / raw
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

> I suspect that's somehow Gentoo's build sandbox / namespacing at work once
> more; too many moving parts. Will have a closer look. Tentatively only our
> problem.

Confirmed, this is our build system. (It affects tst-nss-test3 tst-nss-db-
endpwent tst-nss-db-endgrent).

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nss/tst-nss-db-endgrent - selinux required?
  2019-11-27 22:22     ` Andreas K. Huettel
@ 2019-11-28  2:58       ` Carlos O'Donell
  0 siblings, 0 replies; 5+ messages in thread
From: Carlos O'Donell @ 2019-11-28  2:58 UTC (permalink / raw
  To: Andreas K. Huettel, libc-alpha

On 11/27/19 5:22 PM, Andreas K. Huettel wrote:
>> I suspect that's somehow Gentoo's build sandbox / namespacing at work once
>> more; too many moving parts. Will have a closer look. Tentatively only our
>> problem.
> 
> Confirmed, this is our build system. (It affects tst-nss-test3 tst-nss-db-
> endpwent tst-nss-db-endgrent).
> 

You're not the only one with problems like that. We have similar problems
with our own infrastructure. This is relatively new tech and we need to
sort out these issues one-by-one.

If you run into anything that is unfixable, please come back and talk to
us about this.

-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-28  2:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-27 21:38 nss/tst-nss-db-endgrent - selinux required? Andreas K. Huettel
2019-11-27 21:53 ` Florian Weimer
2019-11-27 21:59   ` Andreas K. Huettel
2019-11-27 22:22     ` Andreas K. Huettel
2019-11-28  2:58       ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).