Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618670

Summary: net-misc/eventd-0.21.0 : sandbox issue (XDG_xxx_DIR related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Coacher <itumaykin+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/gentoo/gentoo/pull/4651
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 567192    
Attachments: emerge-info.txt
config.log.tbz2
emerge-history.txt
etc.portage.tbz2
net-misc:eventd-0.21.0:20170516-030738.log
sandbox-5607.log

Description Toralf Förster gentoo-dev 2017-05-16 16:59:41 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: gnome_20170512-200701

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

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)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-05-16 16:59:44 UTC
Created attachment 472802 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-16 16:59:48 UTC
Created attachment 472804 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-05-16 16:59:52 UTC
Created attachment 472806 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-05-16 16:59:55 UTC
Created attachment 472808 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-05-16 16:59:58 UTC
Created attachment 472810 [details]
net-misc:eventd-0.21.0:20170516-030738.log
Comment 6 Toralf Förster gentoo-dev 2017-05-16 17:00:01 UTC
Created attachment 472812 [details]
sandbox-5607.log
Comment 7 Coacher 2017-05-16 21:11:19 UTC
Yes, can reproduce. Fix is on the way.
Comment 8 Coacher 2017-05-21 22:39:45 UTC
Fixed in commit 50d7fead2031032d693f66a528878eb7dbe1169c
Author:     Ilya Tumaykin <itumaykin@gmail.com>
AuthorDate: Wed May 17 04:34:13 2017 +0300
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun May 21 23:03:41 2017 +0200

    net-misc/eventd: reset XDG env wrt bug 618670

    Closes: https://github.com/gentoo/gentoo/pull/4651
    Package-Manager: Portage-2.3.5, Repoman-2.3.2