Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628928 - sys-devel/libtool-2.4.6-r4 : sandbox issue with >=sys-apps/coreutils-8.27
Summary: sys-devel/libtool-2.4.6-r4 : sandbox issue with >=sys-apps/coreutils-8.27
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 624836 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-08-25 17:09 UTC by Toralf Förster
Modified: 2018-01-12 13:48 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.06 KB, text/plain)
2017-08-25 17:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,11.74 KB, text/plain)
2017-08-25 17:09 UTC, Toralf Förster
Details
environment (environment,99.89 KB, text/plain)
2017-08-25 17:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.06 KB, application/x-bzip)
2017-08-25 17:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.59 KB, application/x-bzip)
2017-08-25 17:09 UTC, Toralf Förster
Details
sandbox-7366.log (sandbox-7366.log,567 bytes, text/plain)
2017-08-25 17:09 UTC, Toralf Förster
Details
sys-devel:libtool-2.4.6-r4:20170824-225122.log (sys-devel:libtool-2.4.6-r4:20170824-225122.log,40.25 KB, text/plain)
2017-08-25 17:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.53 KB, application/x-bzip)
2017-08-25 17:10 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-08-25 17:09:40 UTC
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: renameat
S: deny

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_abi32+64_20170824-174747

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)




emerge -qpv sys-devel/libtool
[ebuild     U ] sys-devel/libtool-2.4.6-r4 [2.4.6-r3] USE="-vanilla"
Comment 1 Toralf Förster gentoo-dev 2017-08-25 17:09:43 UTC
Created attachment 490558 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-08-25 17:09:46 UTC
Created attachment 490560 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-08-25 17:09:48 UTC
Created attachment 490562 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-08-25 17:09:51 UTC
Created attachment 490564 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-08-25 17:09:54 UTC
Created attachment 490566 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-08-25 17:09:57 UTC
Created attachment 490568 [details]
sandbox-7366.log
Comment 7 Toralf Förster gentoo-dev 2017-08-25 17:10:00 UTC
Created attachment 490570 [details]
sys-devel:libtool-2.4.6-r4:20170824-225122.log
Comment 8 Toralf Förster gentoo-dev 2017-08-25 17:10:03 UTC
Created attachment 490572 [details]
temp.tbz2
Comment 9 Austin English (RETIRED) gentoo-dev 2017-09-05 17:16:23 UTC
*** Bug 624836 has been marked as a duplicate of this bug. ***
Comment 10 hagbardcelin 2017-09-28 17:54:02 UTC
I got the same error and narrowed it down to >=sys-apps/coreutils-8.27
When I downgraded to sys-apps/coreutils-8.26 the error went away.
Comment 11 Austin English (RETIRED) gentoo-dev 2017-10-03 17:07:43 UTC
(In reply to hagbardcelin from comment #10)
> I got the same error and narrowed it down to >=sys-apps/coreutils-8.27
> When I downgraded to sys-apps/coreutils-8.26 the error went away.

I can confirm that. 8.28 failed for me, 8.26 works.
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-10-10 16:31:34 UTC
I'm hitting it as well now, here's a more detailed log directly, so it shows up in searches:

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-3472.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: renameat
S: deny
P: /dev/shm/portage/sys-devel/libtool-2.4.6-r4/image/usr/share/libtool/build-aux/CuoRWOmg
A: /dev/shm/portage/sys-devel/libtool-2.4.6-r4/image/usr/share/libtool/build-aux/CuoRWOmg
R: /usr/share/gnuconfig/config.sub
C: ln -sf /usr/share/gnuconfig/config.sub /dev/shm/portage/sys-devel/libtool-2.4.6-r4/image/usr/share/libtool/build-aux/config.sub 
 * --------------------------------------------------------------------------------
Comment 13 Larry the Git Cow gentoo-dev 2017-10-10 16:47:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d151daaab1ce39f5b9bf09e0f300010d44064341

commit d151daaab1ce39f5b9bf09e0f300010d44064341
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2017-10-10 16:43:56 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2017-10-10 16:47:22 +0000

    sys-apps/coreutils: ensure sandbox supports renameat/symlinkat.
    
    Prior to sys-apps/sandbox-2.10-r4, sandbox does not correct handle the
    renameat or symlinkat calls made by newer coreutils. This causes random
    sandbox violations during package building.
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.3
    Bug: https://bugs.gentoo.org/612202
    Closes: https://bugs.gentoo.org/628928
    Closes: https://bugs.gentoo.org/633902
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 sys-apps/coreutils/coreutils-8.27.ebuild | 1 +
 sys-apps/coreutils/coreutils-8.28.ebuild | 1 +
 2 files changed, 2 insertions(+)
Comment 14 Larry the Git Cow gentoo-dev 2018-01-12 13:48:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6bed0523dd89109b9cd89b8a268c6ac9f941e3

commit db6bed0523dd89109b9cd89b8a268c6ac9f941e3
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-01-12 13:46:30 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-01-12 13:46:57 +0000

    sys-devel/libtool: ensure sandbox supports renameat
    
    Bug: https://bugs.gentoo.org/628928
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-devel/libtool/libtool-2.4.6-r2.ebuild | 5 +++--
 sys-devel/libtool/libtool-2.4.6-r3.ebuild | 5 +++--
 sys-devel/libtool/libtool-2.4.6-r4.ebuild | 5 +++--
 sys-devel/libtool/libtool-9999.ebuild     | 5 +++--
 4 files changed, 12 insertions(+), 8 deletions(-)}