Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908214 - sys-process/parallel-20230422: sandbox access violation
Summary: sys-process/parallel-20230422: sandbox access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-10 04:33 UTC by lekto
Modified: 2023-06-10 15:04 UTC (History)
0 users

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


Attachments
build log (build.log,9.18 KB, text/x-log)
2023-06-10 04:33 UTC, lekto
Details
emerge --info (emerge.info,5.50 KB, text/plain)
2023-06-10 04:34 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2023-06-10 04:33:41 UTC
Created attachment 863614 [details]
build log

> * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY ----------------------- 
> * LOG FILE: "/var/tmp/portage/sys-process/parallel-20230422/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: /parallel 
>A: /parallel 
>R: /parallel 
>C: perl /var/tmp/portage/sys-process/parallel-20230422/image/usr/bin/parallel --shell-completion bash
> * --------------------------------------------------------------------------------
Comment 1 lekto 2023-06-10 04:34:06 UTC
Created attachment 863615 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-10 13:39:55 UTC
Do you have PARALLEL_HOME set in your environment?
Comment 3 Larry the Git Cow gentoo-dev 2023-06-10 13:42:05 UTC
The bug has been closed via the following commit(s):

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

commit cede8243b12eb265ab597b69d7e5393bba76141e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-10 13:41:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-10 13:41:47 +0000

    sys-process/parallel: unset PARALLEL_HOME to avoid sandbox violation
    
    Closes: https://bugs.gentoo.org/908214
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/parallel/parallel-20230422.ebuild | 3 +++
 sys-process/parallel/parallel-20230522.ebuild | 3 +++
 2 files changed, 6 insertions(+)
Comment 4 lekto 2023-06-10 15:04:38 UTC
I have, I was recently using xdg-ninja to clean up my home directory from dot files and it told me this:
>[parallel]: $HOME/.parallel
>Export the following environment variables:
> 
>```bash
>export PARALLEL_HOME="$XDG_CONFIG_HOME"/parallel 
>```

So, I put it into /etc/bash/bashrc.d/xdg_fixes and looks like when logging in using serial console (or ssh) $XDG_CONFIG_HOME is unset, so it was expanded into "/parallel". And now looks like it's working, thanks!