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

Bug 839825

Summary: sys-fs/e2fsprogs-1.46.5-r1 - sandbox issue
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/util-linux/util-linux/pull/1664
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 839747    
Attachments: emerge-info.txt
emerge-history.txt
etc.portage.tar.bz2
logs.tar.bz2
sys-fs:e2fsprogs-1.46.5-r1:20220421-052814.log

Description Toralf Förster gentoo-dev 2022-04-21 07:40:26 UTC
head: cannot open '/var/tmp/portage/sys-fs/e2fsprogs-1.46.5-r1/temp/sandbox.log' for reading: No such file or directory

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4_test-20220420-221025

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Rust versions:
  [1]   rust-bin-1.60.0 *
php cli:

  HEAD of ::gentoo
commit 3849ea9b6a814c7a7eb84e45020e269803671e39
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 21 04:53:45 2022 +0000

    2022-04-21 04:53:45 UTC

emerge -qpvO sys-fs/e2fsprogs
[ebuild     U ] sys-fs/e2fsprogs-1.46.5-r1 [1.46.5] USE="nls (split-usr) test%* threads tools -cron -fuse -lto -static-libs" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-04-21 07:40:27 UTC
Created attachment 772421 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-21 07:40:28 UTC
Created attachment 772424 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-21 07:40:29 UTC
Created attachment 772427 [details]
etc.portage.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-04-21 07:40:30 UTC
Created attachment 772430 [details]
logs.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-21 07:40:32 UTC
Created attachment 772433 [details]
sys-fs:e2fsprogs-1.46.5-r1:20220421-052814.log
Comment 6 Mike Gilbert gentoo-dev 2022-04-23 00:02:02 UTC
 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/var/tmp/portage/sys-fs/e2fsprogs-1.46.5-r1/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: mkdir
S: deny
P: /run/blkid
A: /run/blkid
R: /run/blkid
C: ../e2fsck/e2fsck -fn /var/tmp/portage/sys-fs/e2fsprogs-1.46.5-r1/temp/e2fsprogs-tmp-f_detect_xfs.NXSrcE 

F: mkdir
S: deny
P: /run/blkid
A: /run/blkid
R: /run/blkid
C: ../debugfs/debugfs -R quit /var/tmp/portage/sys-fs/e2fsprogs-1.46.5-r1/temp/e2fsprogs-tmp-f_detect_xfs.NXSrcE 

F: mkdir
S: deny
P: /run/blkid
A: /run/blkid
R: /run/blkid
C: ../misc/tune2fs -i 0 /var/tmp/portage/sys-fs/e2fsprogs-1.46.5-r1/temp/e2fsprogs-tmp-f_detect_xfs.NXSrcE 
 * --------------------------------------------------------------------------------
Comment 7 Mike Gilbert gentoo-dev 2022-04-24 01:42:33 UTC
I'm having trouble figuring this one out. The test suite sets BLKID_FILE=/dev/null in the environment. This should cause libblkid to use that for its cache file, instead of the default location under /run/blkid.