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

Bug 277048

Summary: ACCESS VIOLATION: app-admin/webmin-1.480
Product: Gentoo Linux Reporter: Neil Bothwick <neil>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED DUPLICATE    
Severity: normal CC: marsoft, vostorga
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge log file
sandbox error log

Description Neil Bothwick 2009-07-08 16:13:56 UTC
Emerging app-admin/webmin-1.480 produces the following sandbox violation

>>> Install webmin-1.480 into /var/tmp/portage/app-admin/webmin-1.480/image/ category app-admin
>>> Completed installing webmin-1.480 into /var/tmp/portage/app-admin/webmin-1.480/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-12308.log"

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: open_wr
S: deny
P: /dev/mapper/control
A: /dev/mapper/control
R: /dev/device-mapper
C: vgdisplay --version

F: open_wr
S: deny
P: /etc/lvm/cache/.cache
A: /etc/lvm/cache/.cache
R: /etc/lvm/cache/.cache
C: vgdisplay --version
--------------------------------------------------------------------------------

>>> Failed to emerge app-admin/webmin-1.480, Log file:

>>>  '/var/log/portage/app-admin:webmin-1.480:20090708-160927.log'

This happens on ~x86 and ~amd64 boxes, although all have /usr on an LVM filesystem.

% emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 08 Jul 2009 14:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/mnt/portage/packages/zaphod"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/layman/sunrise /mnt/portage/local"
SYNC="rsync://desiato/gentoo"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 audiofile berkdb branding bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus directfb dv dvb dvd dvdr dvdread encode exif fam ffmpeg flac foomaticdb gdbm gif gimp gnutls gphoto2 gpm gtk hal htmlhandbook iconv id3 ieee1394 imagemagick imap isdnlog jabber java jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kipi libnotify libwww lirc lm_sensors mad mailwrapper midi mmx mmxext mng mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql ncurses nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp oss pcre pda pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection reiserfs samba scanner sdl session slp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vnc vorbis webkit x264 xcb xcomposite xfs xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon nikon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" LIRC_DEVICES="devinput mceusb mceusb2" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Neil Bothwick 2009-07-08 16:14:38 UTC
Created attachment 197202 [details]
emerge log file
Comment 2 Neil Bothwick 2009-07-08 16:15:16 UTC
Created attachment 197203 [details]
sandbox error log
Comment 3 VĂ­ctor Ostorga (RETIRED) gentoo-dev 2009-07-14 15:43:48 UTC
Have you checked out your LVM setup?
Comment 4 Neil Bothwick 2009-07-14 17:03:21 UTC
What should I be looking for? This happens on an ~amd64 desktop and an ~x86 server, with different LVM setups. I';ve also just tried it on my ~x86 Eee PC, same result. However, it does work on my MythTV backend, which runs amd64 with only a few packages at ~amd64, which makes me think it may be the ~ version of one of its dependent packages causing the problem.
Comment 5 Neil Bothwick 2009-07-14 17:12:27 UTC
Rolling back to sys-apps/sandbox-1.6-r2, which the working system uses, makes no difference.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-29 20:51:06 UTC

*** This bug has been marked as a duplicate of bug 249904 ***