Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607458 - app-admin/keepass-2.34 : sandbox issue (XDG_xxx_DIR related)
Summary: app-admin/keepass-2.34 : sandbox issue (XDG_xxx_DIR related)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alessandro Di Federico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2017-01-28 09:24 UTC by Toralf Förster
Modified: 2017-06-11 04:47 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.09 KB, text/plain)
2017-01-28 09:24 UTC, Toralf Förster
Details
app-admin:keepass-2.34:20170128-091349.log (app-admin:keepass-2.34:20170128-091349.log,29.21 KB, text/plain)
2017-01-28 09:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,270.46 KB, text/plain)
2017-01-28 09:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.02 KB, application/x-bzip)
2017-01-28 09:24 UTC, Toralf Förster
Details
sandbox-1895.log (sandbox-1895.log,635 bytes, text/plain)
2017-01-28 09:24 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-01-28 09:24:20 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 stable amd64 chroot image (named plasma-stable_20170122-095645) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.7.1
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
*)	IcedTea JDK 3.2.0 [icedtea-bin-8]
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-28 09:24:23 UTC
Created attachment 461686 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-28 09:24:27 UTC
Created attachment 461688 [details]
app-admin:keepass-2.34:20170128-091349.log
Comment 3 Toralf Förster gentoo-dev 2017-01-28 09:24:30 UTC
Created attachment 461690 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-01-28 09:24:33 UTC
Created attachment 461692 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-01-28 09:24:37 UTC
Created attachment 461694 [details]
sandbox-1895.log
Comment 6 Alessandro Di Federico 2017-01-29 22:29:10 UTC
I quickly read #567192, it's my understanding that the XDG eclass should be used. Do you have a patch for the ebuild? Do you need any help specific to this package?
Comment 7 Michael Palimaka (kensington) gentoo-dev 2017-06-11 04:47:00 UTC
I can't reproduce this with latest packages.