Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677810 - app-arch/gcab-1.2 : sandbox issue (XDG_xxx_DIR related)
Summary: app-arch/gcab-1.2 : sandbox issue (XDG_xxx_DIR related)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2019-02-12 16:19 UTC by Toralf Förster
Modified: 2019-02-13 23:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.64 KB, text/plain)
2019-02-12 16:19 UTC, Toralf Förster
Details
app-arch:gcab-1.2:20190212-134943.log (app-arch:gcab-1.2:20190212-134943.log,25.70 KB, text/plain)
2019-02-12 16:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.59 KB, text/plain)
2019-02-12 16:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.37 KB, application/x-bzip)
2019-02-12 16:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,818 bytes, application/x-bzip)
2019-02-12 16:19 UTC, Toralf Förster
Details
sandbox-4.log (sandbox-4.log,2.22 KB, text/plain)
2019-02-12 16:19 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 2019-02-12 16:19:39 UTC
This issue is forced at the tinderbox (pls see bug #567192 too) by setting:

export XDG_DESKTOP_DIR="/root/Desktop"
export XDG_DOCUMENTS_DIR="/root/Documents"
export XDG_DOWNLOAD_DIR="/root/Downloads"
export XDG_MUSIC_DIR="/root/Music"
export XDG_PICTURES_DIR="/root/Pictures"
export XDG_PUBLICSHARE_DIR="/root/Public"
export XDG_TEMPLATES_DIR="/root/Templates"
export XDG_VIDEOS_DIR="/root/Videos"
export XDG_RUNTIME_DIR="/root/run"
export XDG_CONFIG_HOME="/root/config"
export XDG_CACHE_HOME="/root/cache"
export XDG_DATA_HOME="/root/share"

sandbox output:

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

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-no-multilib_20190208-174509

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.32.0 *



emerge -qpvO app-arch/gcab
[ebuild     U ] app-arch/gcab-1.2 [0.8] USE="introspection -gtk-doc% -test% -vala"
Comment 1 Toralf Förster gentoo-dev 2019-02-12 16:19:42 UTC
Created attachment 564944 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-12 16:19:45 UTC
Created attachment 564946 [details]
app-arch:gcab-1.2:20190212-134943.log
Comment 3 Toralf Förster gentoo-dev 2019-02-12 16:19:48 UTC
Created attachment 564948 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-02-12 16:19:51 UTC
Created attachment 564950 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-12 16:19:53 UTC
Created attachment 564952 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-12 16:19:56 UTC
Created attachment 564954 [details]
sandbox-4.log
Comment 7 Larry the Git Cow gentoo-dev 2019-02-13 23:37:10 UTC
The bug has been closed via the following commit(s):

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

commit 87500c07b00e2500ff3f22ecf04dbc905797fca5
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-13 23:28:16 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-13 23:36:08 +0000

    app-arch/gcab-1.2: use xdg.eclass for environment reset
    
    Closes: https://bugs.gentoo.org/677810
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 app-arch/gcab/gcab-1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)