Summary: | sys-apps/coreutils fails install/basic-1 test with userpriv | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matti Bickel (RETIRED) <mabi> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | DuPol, esigra, rhill, steffen.bergner, zlin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | selinux-patch failure log |
Description
Matti Bickel (RETIRED)
![]() Created attachment 100207 [details]
selinux-patch failure log
coreutils-6.3 doesn't seem to like the selinux patch either
Interesting enough coreutils finishes the tests with FEATURES="-userpriv" (thanks to hiyuh for mentioning this). Does this solve the issue or should we have a closer look? this is a userpriv / sandbox bug ... this only fails when FEATURES="userpriv" because the test is not run when the user is root. here's w/ coreutils-6.9: + t0=basic-1.tmp + tmp=basic-1.tmp/4157 + trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0 + trap '(exit $?); exit $?' 1 2 13 15 + framework_failure=0 + mkdir -p basic-1.tmp/4157 + cd basic-1.tmp/4157 + rm -rf dir file + mkdir -p dir + echo foo + test 0 = 1 + fail=0 + ginstall file dir + test -f file + test -f dir/file + dd=dd + dd2=dd2 + just_built_dd=/var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install/../../src/dd + test -r /var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install/../../src/dd + cp /var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install/../../src/dd . + cp dd dd2 + strip dd2 + ginstall -s -c -m 555 dd dir + test -f dd ++ ls -l dir/dd + set X -r-xr-xr-x 1 portage portage 38396 Apr 27 17:56 dir/dd + shift + test -r-xr-xr-x = -r-xr-xr-x + ginstall -d . + ginstall -d newdir + test -d newdir + ginstall -d newdir1 newdir2 newdir3 + test -d newdir1 + test -d newdir2 + test -d newdir3 + abs=/var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install/basic-1.tmp/4157 + mkdir sub + cd sub + chmod 0 . + ginstall -d /var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install/basic-1.tmp/4157/xx/yy rel/sub1 rel/sub2 + chmod 755 sub + test -d xx/yy + test -d sub/rel + test -d xx/rel + df --local . + mkdir -p sub1/d + cd sub1/d + chmod a-r . + chmod a-rx .. + ginstall -d /var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install/basic-1.tmp/4157/xx/zz rel/a rel/b ginstall: cannot create directory `rel': Permission denied ginstall: cannot create directory `rel': Permission denied + fail=1 + chmod 755 sub1 sub1/d + test -d xx/zz + test -d sub1/d/rel/a + fail=1 + test -d sub1/d/rel/b + fail=1 + touch file + ginstall -Dv file sub3/a/b/c/file + diff - out + exit 1 + exit 1 + status=1 + cd /var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9/tests/install + chmod -R u+rwx basic-1.tmp + rm -rf basic-1.tmp + exit 1 FAIL: basic-1 still not fixed for sys-apps/coreutils-6.9-r1 +1 Will circumvent this issue with FEATURES="-userpriv" until there is a solution. Happy to provide more info if needed. should be fixed with sandbox-1.6 and coreutils-7.1 |