Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638706 - sys-auth/elogind-234.4-r1 : sandbox issue (XDG_xxx_DIR related)
Summary: sys-auth/elogind-234.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: Andreas Sturmlechner
URL:
Whiteboard:
Keywords:
: 638708 (view as bug list)
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2017-11-24 16:57 UTC by Toralf Förster
Modified: 2017-12-02 22:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.05 KB, text/plain)
2017-11-24 16:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.67 KB, text/plain)
2017-11-24 16:57 UTC, Toralf Förster
Details
environment (environment,135.86 KB, text/plain)
2017-11-24 16:57 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.69 KB, application/x-bzip)
2017-11-24 16:57 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,17.05 KB, application/x-bzip)
2017-11-24 16:57 UTC, Toralf Förster
Details
sandbox-3880.log (sandbox-3880.log,2.15 KB, text/plain)
2017-11-24 16:57 UTC, Toralf Förster
Details
sys-auth:elogind-234.4-r1:20171124-025410.log.bz2 (sys-auth:elogind-234.4-r1:20171124-025410.log.bz2,19.57 KB, application/x-bzip)
2017-11-24 16:57 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,53.20 KB, application/x-bzip)
2017-11-24 16:57 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-11-24 16:57:32 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: 13.0-no-multilib_libressl_20171119-113915

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv sys-auth/elogind
[ebuild  N    ] sys-auth/elogind-234.4-r1  USE="acl pam -debug -policykit (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2017-11-24 16:57:35 UTC
Created attachment 506292 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-24 16:57:38 UTC
Created attachment 506294 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-24 16:57:41 UTC
Created attachment 506296 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-24 16:57:44 UTC
Created attachment 506298 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-24 16:57:47 UTC
Created attachment 506300 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-24 16:57:50 UTC
Created attachment 506302 [details]
sandbox-3880.log
Comment 7 Toralf Förster gentoo-dev 2017-11-24 16:57:53 UTC
Created attachment 506304 [details]
sys-auth:elogind-234.4-r1:20171124-025410.log.bz2
Comment 8 Toralf Förster gentoo-dev 2017-11-24 16:57:56 UTC
Created attachment 506306 [details]
temp.tbz2
Comment 9 Andreas Sturmlechner gentoo-dev 2017-12-02 22:35:53 UTC
*** Bug 638708 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2017-12-02 22:56:37 UTC
The bug has been closed via the following commit(s):

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

commit 75595ff182c08f38b641ca0caaf13151b253d630
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-02 22:49:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-02 22:55:24 +0000

    sys-auth/elogind: Fix XDG dir sandbox issue
    
    Closes: https://bugs.gentoo.org/638706
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-auth/elogind/Manifest                |  2 +-
 sys-auth/elogind/elogind-233.7-r1.ebuild | 10 +++++++---
 sys-auth/elogind/elogind-234.4-r1.ebuild | 11 +++++++----
 3 files changed, 15 insertions(+), 8 deletions(-)