Summary: | x11-wm/fluxbox-1.3.7-r2 : sandbox issue (XDG_xxx_DIR related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | zlg (RETIRED) <zlg> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pchrist |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 567192 | ||
Attachments: |
emerge-history.txt
sandbox-11161.log x11-wm:fluxbox-1.3.7-r2:20160701-043753.log emerge-info.txt emerge-history.txt etc.portage.tbz2 logs.tbz2 sandbox-3475.log x11-wm:fluxbox-1.3.7-r3:20170620-101855.log fluxbox-1.3.7-r4.ebuild |
Description
Toralf Förster
2016-07-01 07:35:37 UTC
Created attachment 439302 [details]
emerge-history.txt
Created attachment 439304 [details]
sandbox-11161.log
Created attachment 439306 [details]
x11-wm:fluxbox-1.3.7-r2:20160701-043753.log
Thanks for linking to the other bug, which allowed me to catch up and understand what's going on. This looks like all it needs is to 'inherit xdg'. Is that what you think is good? I tested it with a few of those exports, and inheriting xdg worked AOK. I'd like confirmation before I commit and push. (In reply to Daniel Campbell from comment #4) > Thanks for linking to the other bug, which allowed me to catch up and > understand what's going on. > > This looks like all it needs is to 'inherit xdg'. Is that what you think is > good? I tested it with a few of those exports, and inheriting xdg worked > AOK. I'd like confirmation before I commit and push. I was unable to reproduce this problem using the given `export` commands in conjunction with 'sandbox' within FEATURES. The build log points to fluxbox-generate_menu trying to create a directory in one specific line. This could be patched out, but if the xdg eclass correctly handles those directories for sandbox use, then I think that's the way to go. It's been over 30 days without any feedback or results. I've added xdg to the `inherit` line and have revbumped the package as a result. Please sync and test it to confirm (since I was unable to reproduce it). Marking as IN_PROGRESS. Commit-Hash: 0d92d16e45b83928e1813c8ed5109c09fc0f4e28 x11-wm/fluxbox-1.3.7-r3 (which fixes this) has been stabilized, closing. same issue with x11-wm/fluxbox-1.3.7-r3 at the unstable amd64 chroot image 17.0-desktop_20170610-230638 at the tinderbox Created attachment 477332 [details]
emerge-info.txt
Created attachment 477334 [details]
emerge-history.txt
Created attachment 477336 [details]
etc.portage.tbz2
Created attachment 477338 [details]
logs.tbz2
Created attachment 477340 [details]
sandbox-3475.log
Created attachment 477342 [details]
x11-wm:fluxbox-1.3.7-r3:20170620-101855.log
Created attachment 487250 [details] fluxbox-1.3.7-r4.ebuild This ebuild pulls in xdg-utils.eclass and uses xdg_environment_reset in src_configure per dilfridge's comment at https://bugs.gentoo.org/show_bug.cgi?id=567192#c24. I have tested the ebuild using: XDG_CACHE_HOME="/root/cache" FEATURES="ipc-sandbox network-sandbox sandbox usersandbox" ebuild fluxbox-1.3.7-r4.ebuild merge It completed without any issues, but since I've been unable to reproduce it, please re-test at your convenience. (In reply to Daniel Campbell from comment #15) fixed, yep commit 519639679fa386fdda27b75714b3238d95adb2f2 Author: Daniel Campbell <zlg@gentoo.org> Date: Sun Jul 30 19:35:30 2017 -0700 x11-wm/fluxbox: revbump to fix sandbox issues Bug: 587660 Gentoo-Bug-URL: https://bugs.gentoo.org/587660 Package-Manager: Portage-2.3.6, Repoman-2.3.3 |