Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622150 - sys-power/upower-0.99.4-r1 : sandbox issue (XDG_xxx_DIR related)
Summary: sys-power/upower-0.99.4-r1 : 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 (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 17:27 UTC by Toralf Förster
Modified: 2018-03-25 21:33 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.74 KB, text/plain)
2017-06-18 17:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,326.07 KB, text/plain)
2017-06-18 17:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,28.38 KB, application/x-bzip)
2017-06-18 17:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.16 KB, application/x-bzip)
2017-06-18 17:27 UTC, Toralf Förster
Details
sandbox-16082.log (sandbox-16082.log,1.13 KB, text/plain)
2017-06-18 17:27 UTC, Toralf Förster
Details
sys-power:upower-0.99.4-r1:20170618-172501.log (sys-power:upower-0.99.4-r1:20170618-172501.log,76.25 KB, text/plain)
2017-06-18 17:28 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 2017-06-18 17:27:42 UTC
This issue is forced at the tinderbox by making:

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"

pls see bug #567192 too

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.0-desktop-gnome-libressl_20170611-103213

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
  [4]   jython2.7 (fallback)

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.10 [icedtea-7]
2)	IcedTea JDK 7.2.6.10 [icedtea-bin-7]
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-06-18 17:27:45 UTC
Created attachment 477134 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-18 17:27:48 UTC
Created attachment 477136 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-06-18 17:27:51 UTC
Created attachment 477138 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-06-18 17:27:54 UTC
Created attachment 477140 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-06-18 17:27:57 UTC
Created attachment 477142 [details]
sandbox-16082.log
Comment 6 Toralf Förster gentoo-dev 2017-06-18 17:28:00 UTC
Created attachment 477144 [details]
sys-power:upower-0.99.4-r1:20170618-172501.log
Comment 7 Larry the Git Cow gentoo-dev 2018-03-25 21:33:06 UTC
The bug has been closed via the following commit(s):

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

commit 78ca11162c0fbf914a5fc99cb91eb160972424a6
Author:     Gilles Dartiguelongue <eva@gentoo.org>
AuthorDate: 2018-03-25 20:57:11 +0000
Commit:     Gilles Dartiguelongue <eva@gentoo.org>
CommitDate: 2018-03-25 21:32:54 +0000

    sys-power/upower: fix XDG_* env variables related sandbox issues
    
    Closes: https://bugs.gentoo.org/622150
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-power/upower/upower-0.99.5.ebuild | 3 ++-
 sys-power/upower/upower-0.99.7.ebuild | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)