Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829157

Summary: net-fs/nfs4-acl-tools-0.3.7 - sandbox issue
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-fs:nfs4-acl-tools-0.3.7:20211214-105352.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-14 10:57:33 UTC
head: cannot open '/var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/temp/sandbox.log' for reading: No such file or directory

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211213-184654

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
php cli:

  HEAD of ::gentoo
commit bb13312b8c178b0d597a90b6df29722257173bf1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 14 09:51:41 2021 +0000

    2021-12-14 09:51:39 UTC

emerge -qpvO net-fs/nfs4-acl-tools
[ebuild  N    ] net-fs/nfs4-acl-tools-0.3.7
Comment 1 Toralf Förster gentoo-dev 2021-12-14 10:57:34 UTC
Created attachment 758906 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-14 10:57:35 UTC
Created attachment 758907 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-14 10:57:37 UTC
Created attachment 758908 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-14 10:57:37 UTC
Created attachment 758909 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-14 10:57:38 UTC
Created attachment 758910 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-14 10:57:39 UTC
Created attachment 758911 [details]
net-fs:nfs4-acl-tools-0.3.7:20211214-105352.log
Comment 7 Toralf Förster gentoo-dev 2021-12-14 10:57:40 UTC
Created attachment 758912 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-14 12:35:30 UTC
=== nfs4_getfacl ===
../install-sh -o root -g root -m 755 -d /var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin
 * ACCESS DENIED:  fchmodat:      /var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin
chmod: changing permissions of '//var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin': Permission denied
gmake[1]: *** [Makefile:48: install] Error 1
make: *** [Makefile:88: install] Error 2
 * ERROR: net-fs/nfs4-acl-tools-0.3.7::gentoo failed (install phase):
 *   emake failed

 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/temp/sandbox.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: fchmodat
S: deny
P: //var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin
A: /var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin
R: //var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin
C: chmod 755 //var/tmp/portage/net-fs/nfs4-acl-tools-0.3.7/image/usr/bin