Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53866 - x11-misc/imwheel-1.0.0_pre11 sandbox violation
Summary: x11-misc/imwheel-1.0.0_pre11 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 01:21 UTC by Andreas Simon
Modified: 2004-06-19 05:00 UTC (History)
5 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 Andreas Simon 2004-06-14 01:21:20 UTC
emerge imwheel-1.0.0_pre11 fails because of a sandbox violation:
It tries to rename the file /etc/X11/imwheelrc

...
make[1]: Entering directory `/var/tmp/portage/imwheel-1.0.0_pre11/work/imwheel-1.0.0pre11'
make[2]: Entering directory `/var/tmp/portage/imwheel-1.0.0_pre11/work/imwheel-1.0.0pre11'
test -z "/var/tmp/portage/imwheel-1.0.0_pre11/image//usr/bin" || mkdir -p -- . "/var/tmp/portage/imwheel-1.0.0_pre11/image//usr/bin"
  /bin/install -c 'imwheel' '/var/tmp/portage/imwheel-1.0.0_pre11/image//usr/bin/imwheel'
make  install-exec-hook
make[3]: Entering directory `/var/tmp/portage/imwheel-1.0.0_pre11/work/imwheel-1.0.0pre11'
./mkinstalldirs /var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel
mkdir /var/tmp/portage/imwheel-1.0.0_pre11/image/etc
mkdir /var/tmp/portage/imwheel-1.0.0_pre11/image/etc/X11
mkdir /var/tmp/portage/imwheel-1.0.0_pre11/image/etc/X11/imwheel
[ -f /etc/imwheelrc ] && mv /etc/imwheelrc /var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel/imwheelrc || true
[ -f /etc/X11/imwheelrc ] && mv /etc/X11/imwheelrc /var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel/imwheelrc || true
ACCESS DENIED  rename:    /etc/X11/imwheelrc
mv: cannot move `/etc/X11/imwheelrc' to `/var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel/imwheelrc': Permission denied
[ -f /var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel/imwheelrc ] && install -m 644 imwheelrc /var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel/imwheelrc.new || install -m 644 imwheelrc /var/tmp/portage/imwheel-1.0.0_pre11/image//etc/X11/imwheel/imwheelrc
make[3]: Leaving directory `/var/tmp/portage/imwheel-1.0.0_pre11/work/imwheel-1.0.0pre11'
test -z "/var/tmp/portage/imwheel-1.0.0_pre11/image//usr/share/man/man1" || mkdir -p -- . "/var/tmp/portage/imwheel-1.0.0_pre11/image//usr/share/man/man1"
 /bin/install -c -m 644 './imwheel.1' '/var/tmp/portage/imwheel-1.0.0_pre11/image//usr/share/man/man1/imwheel.1'
make[2]: Leaving directory `/var/tmp/portage/imwheel-1.0.0_pre11/work/imwheel-1.0.0pre11'
make[1]: Leaving directory `/var/tmp/portage/imwheel-1.0.0_pre11/work/imwheel-1.0.0pre11'
man:
gzipping man page: imwheel.1
prepallstrip:
strip:
strip:
   usr/bin/imwheel
>>> Completed installing into /var/tmp/portage/imwheel-1.0.0_pre11/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-x11-misc_-_imwheel-1.0.0_pre11-27277.log"

rename:    /etc/X11/imwheelrc
--------------------------------------------------------------------------------


# cat /tmp/sandbox-x11-misc_-_imwheel-1.0.0_pre11-27277.log
rename:    /etc/X11/imwheelrc


# emerge --info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.7-rc3)
=================================================================
System uname: 2.6.7-rc3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage /opt/portage-kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga divx4linux dvb dvd encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sasl sdl slang spell sse ssl tcltk tcpd tetex theora threads tiff truetype unicode x86 xml2 xmms xv xvid zlib"
Comment 1 Claes Mogren 2004-06-14 10:28:05 UTC
Same problem here.. Any tip how to fix it?
Comment 2 Simon Watson 2004-06-14 14:09:07 UTC
Same problem also.
Comment 3 Markus Nigbur (RETIRED) gentoo-dev 2004-06-14 16:19:36 UTC
goddamn, i tinkered with this problem about 3 hours before i commited the package with the patch and now..

I'll recheck this tomorrow.
Comment 4 Anthony Fields 2004-06-17 13:31:00 UTC
Don't want to open a new bug...esearch imwheel gives wrong homepage, it gives:
http://jcatki.dhs.org/imwheel/

The homepage is now: http://imwheel.sourceforge.net/

Cheers.
Comment 5 Markus Nigbur (RETIRED) gentoo-dev 2004-06-19 05:00:27 UTC
fixed.