Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840544 - app-misc/rdfind-1.5.0 - sandbox issue
Summary: app-misc/rdfind-1.5.0 - sandbox issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: tastytea
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: 839747
  Show dependency tree
 
Reported: 2022-04-24 07:09 UTC by Toralf Förster
Modified: 2022-04-27 13:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.41 KB, text/plain)
2022-04-24 07:09 UTC, Toralf Förster
Details
app-misc:rdfind-1.5.0:20220424-064822.log (app-misc:rdfind-1.5.0:20220424-064822.log,7.22 KB, text/plain)
2022-04-24 07:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,216.59 KB, text/plain)
2022-04-24 07:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.90 KB, application/x-bzip)
2022-04-24 07:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.26 KB, application/x-bzip)
2022-04-24 07:09 UTC, Toralf Förster
Details
sandbox.log (sandbox.log,518 bytes, text/plain)
2022-04-24 07:09 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 2022-04-24 07:09:26 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: rename
S: deny
P: /bin//ls
A: /bin/ls
R: /bin/ls
C: /var/tmp/portage/app-misc/rdfind-1.5.0/work/rdfind-releases-1.5.0/rdfind -makehardlinks true . /bin/ls 

F: rename
S: deny
P: /bin//ls
A: /bin/ls
R: /bin/ls

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

  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-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0
  [2]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 67138b49ce257cf9f23b9e698e3ccedd51733237
Merge: 2f6ca13e5ebe 8cf1e2be6fed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 24 03:03:08 2022 +0000

    Merge updates from master

emerge -qpvO app-misc/rdfind
[ebuild  N    ] app-misc/rdfind-1.5.0
Comment 1 Toralf Förster gentoo-dev 2022-04-24 07:09:27 UTC
Created attachment 774037 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-24 07:09:28 UTC
Created attachment 774040 [details]
app-misc:rdfind-1.5.0:20220424-064822.log
Comment 3 Toralf Förster gentoo-dev 2022-04-24 07:09:29 UTC
Created attachment 774043 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-24 07:09:30 UTC
Created attachment 774046 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-24 07:09:31 UTC
Created attachment 774049 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-24 07:09:32 UTC
Created attachment 774052 [details]
sandbox.log
Comment 7 tastytea 2022-04-24 10:24:59 UTC
The errors come from testcases/hardlink_fails.sh and testcases/symlinking_action.sh. They try to replace /bin/ls with a hard/symbolic link and expect it to fail because it doesn't have permissions (it will not run with `[ "$(id -u)" -eq 0 ]`). Will add it to the predict list.
Comment 8 Larry the Git Cow gentoo-dev 2022-04-27 13:19:03 UTC
The bug has been closed via the following commit(s):

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

commit 4cca1e667154408161a63371d25eb6d3d24b6379
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2022-04-24 10:41:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-04-27 13:18:56 +0000

    app-misc/rdfind: addpredict / for tests
    
    Tests are trying to modify $(which ls) and expect it to fail.
    
    Closes: https://bugs.gentoo.org/840544
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/rdfind/rdfind-1.5.0.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)