Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623992 - sys-libs/libblockdev-2.10 : sandbox issue (XDG_xxx_DIR related)
Summary: sys-libs/libblockdev-2.10 : 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: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2017-07-06 16:12 UTC by Toralf Förster
Modified: 2019-02-23 12:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.75 KB, text/plain)
2017-07-06 16:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,321.52 KB, text/plain)
2017-07-06 16:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,27.29 KB, application/x-bzip)
2017-07-06 16:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.76 KB, application/x-bzip)
2017-07-06 16:13 UTC, Toralf Förster
Details
sandbox-6251.log (sandbox-6251.log,1.00 KB, text/plain)
2017-07-06 16:13 UTC, Toralf Förster
Details
sys-libs:libblockdev-2.10:20170706-141815.log (sys-libs:libblockdev-2.10:20170706-141815.log,59.61 KB, text/plain)
2017-07-06 16:13 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-07-06 16:12:58 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_20170627-180303

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

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)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-07-06 16:13:02 UTC
Created attachment 481176 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-06 16:13:05 UTC
Created attachment 481178 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-06 16:13:08 UTC
Created attachment 481180 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-07-06 16:13:11 UTC
Created attachment 481182 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-06 16:13:15 UTC
Created attachment 481184 [details]
sandbox-6251.log
Comment 6 Toralf Förster gentoo-dev 2017-07-06 16:13:18 UTC
Created attachment 481186 [details]
sys-libs:libblockdev-2.10:20170706-141815.log
Comment 7 skaumo 2018-12-26 16:30:41 UTC
Still occurring, although workaround from https://bugs.gentoo.org/567192#c18 seems to work.


F: mkdir
S: deny
P: /tmp2/root/g-ir-scanner
A: /tmp2/root/g-ir-scanner
R: /tmp2/root/g-ir-scanner
C: /usr/bin/python3.6 /usr/bin/g-ir-scanner --namespace=BlockDev --nsversion=2.0 --libtool=/bin/sh ../../libtool --include=GObject-2.0 --pkg-export=blockdev --library=libblockdev.la --warn-error --warn-all --identifier-prefix=BD --symbol-prefix=bd --cflags-begin -I./../../include/ --cflags-end -L./../utils/ -lbd_utils plugin_apis/kbd.h plugin_apis/mdraid.h plugin_apis/swap.h plugin_apis/btrfs.h plugin_apis/lvm.h plugin_apis/crypto.h plugin_apis/dm.h plugin_apis/loop.h plugin_apis/mpath.h plugin_apis/part.h plugin_apis/fs.h ../utils/exec.c ../utils/extra_arg.h ../utils/dev_utils.h ../utils/sizes.h ../utils/extra_arg.c ../utils/dev_utils.c ../utils/utils.h ../utils/exec.h blockdev.c blockdev.h plugins.c plugins.h libblockdev.la --output BlockDev-2.0.gir
Comment 8 Larry the Git Cow gentoo-dev 2019-02-23 12:12:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d4a6baf0fb4fb56c4a7e9bedadc4ab095793125

commit 6d4a6baf0fb4fb56c4a7e9bedadc4ab095793125
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-02-23 12:11:42 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-02-23 12:12:33 +0000

    sys-libs/libblockdev: Revbump to backport two fixes.
    
    - Reset xdg environment
    - Added "device-mapper" USE flag
    
    Closes: https://bugs.gentoo.org/623992
    Closes: https://bugs.gentoo.org/677534
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../{libblockdev-2.20-r1.ebuild => libblockdev-2.20-r2.ebuild}   | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a092a118d843b0f7fa4fecd800bbba83e55120

commit 04a092a118d843b0f7fa4fecd800bbba83e55120
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-02-23 12:06:46 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-02-23 12:12:32 +0000

    sys-libs/libblockdev: Bump to version 2.21
    
    - Reset xdg environment
    - Added "device-mapper" USE flag
    - Added "tools" USE flag
    
    Bug: https://bugs.gentoo.org/623992
    Bug: https://bugs.gentoo.org/677534
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-libs/libblockdev/Manifest                |   1 +
 sys-libs/libblockdev/libblockdev-2.21.ebuild | 104 +++++++++++++++++++++++++++
 sys-libs/libblockdev/metadata.xml            |   6 +-
 3 files changed, 109 insertions(+), 2 deletions(-)