Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635000 - sys-apps/openrc-0.33 sandbox violation with gold
Summary: sys-apps/openrc-0.33 sandbox violation with gold
Status: RESOLVED DUPLICATE of bug 612202
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:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2017-10-21 15:33 UTC by Hadrien Lacour
Modified: 2017-12-01 19:57 UTC (History)
3 users (show)

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


Attachments
build log (openrc-build.log,90.38 KB, text/plain)
2017-10-21 15:33 UTC, Hadrien Lacour
Details
emerge-info (openrc-info.log,13.92 KB, text/plain)
2017-10-21 15:34 UTC, Hadrien Lacour
Details
environment (openrc-env.log,100.91 KB, text/plain)
2017-10-21 15:34 UTC, Hadrien Lacour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hadrien Lacour 2017-10-21 15:33:42 UTC
Created attachment 499550 [details]
build log

* ACCESS DENIED:  symlinkat:    /tmp/portage/sys-apps/openrc-0.33.1/temp/bfd-linker/ld
ln: failed to create symbolic link '/tmp/portage/sys-apps/openrc-0.33.1/temp/bfd-linker/ld': Permission denied
>>> Completed installing openrc-0.33.1 into /tmp/portage/sys-apps/openrc-0.33.1/image/

 * Final size of build directory: 4564 KiB (4.4 MiB)
 * Final size of installed tree:  2772 KiB (2.7 MiB)

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-2268.log"
 *
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: symlinkat
S: deny
P: /tmp/portage/sys-apps/openrc-0.33.1/temp/bfd-linker/ld
A: /tmp/portage/sys-apps/openrc-0.33.1/temp/bfd-linker/ld
R: /usr/x86_64-pc-linux-gnu/binutils-bin/2.28.1/ld.bfd
C: ln -sf /usr/bin/x86_64-pc-linux-gnu-ld.bfd /tmp/portage/sys-apps/openrc-0.33.1/temp/bfd-linker/ld
 * --------------------------------------------------------------------------------
Comment 1 Hadrien Lacour 2017-10-21 15:34:10 UTC
Created attachment 499552 [details]
emerge-info
Comment 2 Hadrien Lacour 2017-10-21 15:34:25 UTC
Created attachment 499554 [details]
environment
Comment 3 Hadrien Lacour 2017-10-26 18:17:55 UTC
Guess I'll add it to the gold tracker.
Comment 4 Hadrien Lacour 2017-11-17 11:17:49 UTC
Could you please at least force the use of ld.bfd until the problem is fixed? Changing the ld symlink every openrc update is a little annoying.
Comment 5 William Hubbs gentoo-dev 2017-12-01 19:31:13 UTC
After some discussion on IRC, this might be a sandbox bug, so I'm
assigning it there.

Please update and let me know.

Thanks,

William
Comment 6 William Hubbs gentoo-dev 2017-12-01 19:34:56 UTC
Please upgrade your sandbox package to 2.10-r4 then let us know whether
you still have the issue.

Thanks,

William
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-01 19:36:29 UTC
(In reply to Hadrien Lacour from comment #4)
> Could you please at least force the use of ld.bfd until the problem is
> fixed? Changing the ld symlink every openrc update is a little annoying.
No, we will not enforce a linker because this would clash with /etc/portage/package.env. And this is what you should use to set a different linker per package. See https://wiki.gentoo.org/wiki/Gold#package.env for more information.

Also, please upgrade sys-apps/sandbox to >=sys-apps/sandbox-2.10-r4 and maybe 2.12 for testing. There's a high chance that the symlinkat thing was already fixed.
Comment 8 Hadrien Lacour 2017-12-01 19:55:09 UTC
I don't have any violation with sandbox-2.10-r4 and openrc-0.34.11.
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-01 19:57:26 UTC
Thanks for confirming.

*** This bug has been marked as a duplicate of bug 612202 ***