Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80429 - gai-album gives an "access denied" in the sandbox
Summary: gai-album gives an "access denied" in the sandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: REMOVED
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2005-02-02 01:39 UTC by Christian Weiske
Modified: 2006-10-25 12:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weiske 2005-02-02 01:39:28 UTC
When emerging "gai-album", you get an access denied error (probably because the ebuild tries to leave the sandbox).
When using
> FEATURES="-sandbox"
in the /etc/make.conf, it works.

Reproducible: Always
Steps to Reproduce:
1. make sure the sandbox isn't disabled in /etc/make.conf
2. emerge gai-album

Actual Results:  
mkdir -p /usr/share/pixmaps/gai-album
ACCESS DENIED  mkdir:     /usr/share/pixmaps/gai-album
mkdir: cannot create directory `/usr/share/pixmaps/gai-album': Permission denied
make: *** [install-images] Error 1
Comment 1 Mark Byers 2005-05-14 08:12:26 UTC
I can emerge both gai-album-0.6 and 0.7 without problems. I do not get an access denied, even when sandbox is enabled.

From the ebuild I am guessing that these lines were probably added to fix the sandbox violation that this bug refers to:

>        # fixing install location for ROX panel stuff
>        # if this doesn't work as expected please report a bug at bugs.gentoo.org
>        mv ${S}/Makefile ${S}/Makefile.orig
>        sed s%\"/usr/share%\"${D}/usr/share%g ${S}/Makefile.orig > ${S}/Makefile

Also, from bug 52978 (http://bugs.gentoo.org/show_bug.cgi?id=59278
) I can see that Thomas Raschbacher claims to have fixed a sandbox violation:

> Additional Comment #1 From Thomas Raschbacher  2004-10-08 10:11 UTC -------

> done (and fixed sandbox violation bug)
> please test

Therefore, I believe that this bug is fixed and should be closed.
Comment 2 Jim Laflin 2005-09-03 15:55:57 UTC
The access violation hasn't been fixed here, still happening

Jim

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://mirror.gentoo.gr.jp
http://ftp.gentoo.or.kr/ ftp://mirror.nutsmaas.nl/gentoo/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amarok amd64 avi berkdb bitmap-fonts browserplugin cdb cdr crypt
cups curl directfb dvd dvdr dvdread eds encode esd fam flac foomaticdb fortran
freetype gdbm gif gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib
ipv6 java jpeg junit kde kdeenablefinal libwww lzw lzw-tiff mad mikmod mp3 mpeg
mplayer msn ncurses nls nocd nvidia ogg oggvorbis opengl oss pam pdflib perl pic
png python qt quicktime readline real ruby samba sdl spell ssl symlink tcltk
tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l
vcd vorbis xine xml2 xmms xpm xv zlib linguas_en_GB userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 3 Adrian Frühwirth 2005-09-22 17:15:41 UTC
appearently breaks because of the use of einstall. using make DESTDIR="${D}" 
install worksforme.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-25 15:47:41 UTC
Looks like this ebuild needs a maintainer. 
Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-03 16:15:43 UTC
old
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-26 08:21:00 UTC
I can't compile gai (a dep of gai album) to test this package.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2006-10-25 12:12:32 UTC
Removed.