Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624048 - sys-apps/sandbox-2.10-r4: mkdir/2 test failed: mkdir("/", 777) = errno = EACCES:13 [Permission denied] (wanted EEXIST:17 [File exists])
Summary: sys-apps/sandbox-2.10-r4: mkdir/2 test failed: mkdir("/", 777) = errno = EACC...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-07-06 19:29 UTC by Toralf Förster
Modified: 2021-10-22 04:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.41 KB, text/plain)
2017-07-06 19:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,877 bytes, text/plain)
2017-07-06 19:29 UTC, Toralf Förster
Details
environment (environment,109.19 KB, text/plain)
2017-07-06 19:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.03 KB, application/x-bzip)
2017-07-06 19:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,31.04 KB, application/x-bzip)
2017-07-06 19:29 UTC, Toralf Förster
Details
sys-apps:sandbox-2.10-r4:20170706-192524.log (sys-apps:sandbox-2.10-r4:20170706-192524.log,255.69 KB, text/plain)
2017-07-06 19:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.55 KB, application/x-bzip)
2017-07-06 19:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-06 19:29:04 UTC
  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-gnome_20170706-211748

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-07-06 19:29:07 UTC
Created attachment 481466 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-06 19:29:10 UTC
Created attachment 481468 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-06 19:29:13 UTC
Created attachment 481470 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-06 19:29:16 UTC
Created attachment 481472 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-06 19:29:19 UTC
Created attachment 481474 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-06 19:29:22 UTC
Created attachment 481476 [details]
sys-apps:sandbox-2.10-r4:20170706-192524.log
Comment 7 Toralf Förster gentoo-dev 2017-07-06 19:29:25 UTC
Created attachment 481478 [details]
temp.tbz2
Comment 8 SpanKY gentoo-dev 2021-10-22 04:37:54 UTC
from the log:
FAIL: mkdir("/", 777) = -1 (wanted -1); errno = EACCES:13 [Permission denied] (wanted EEXIST:17 [File exists])

that's weird because we have logic to check to see if paths exist and return EEXIST explicitly first.  that failing would imply some path checks aren't working.
[s] vapier@vapier $ ./mkdir-0 -1,EEXIST / 777
 * absolute_path: .../sandbox/tests/mkdir-0
 * resolved_path: .../sandbox/tests/mkdir-0
 * ACCESS ALLOWED:  execve:       .../sandbox/tests/mkdir-0
 * EARLY FAIL: mkdir(/[/]) @ lstat: Success
PASS: mkdir("/", 1411) = -1 (wanted -1); errno = EEXIST:17 [File exists] (wanted EEXIST:17 [File exists])

does this failure happen consistently for you ?  please re-open if so, and we can dig deeper into your setup.