Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82573 - nessus-core always fails
Summary: nessus-core always fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 05:40 UTC by Daniel Herzog
Modified: 2005-02-19 16:11 UTC (History)
0 users

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


Attachments
updated ebuild (nessus-core-2.0.12.ebuild,1.83 KB, text/plain)
2005-02-19 07:06 UTC, Dean Baender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Herzog 2005-02-19 05:40:03 UTC
/var/tmp/portage/nessus-core-2.0.12/work/nessus-core/bin/nessusd /var/tmp/portage/nessus-core-2.0.12/image//usr/sbin
test -d /var/tmp/portage/nessus-core-2.0.12/image//etc || /bin/install -c -d -m 755 /var/tmp/portage/nessus-core-2.0.12/image//etc
test -d /var/tmp/portage/nessus-core-2.0.12/image//etc/nessus || /bin/install -c -d -m 755 /var/tmp/portage/nessus-core-2.0.12/image//etc/nessus
test -d /var/tmp/portage/nessus-core-2.0.12/image//etc/nessus || \
        /bin/install -c -d -m 755 /var/tmp/portage/nessus-core-2.0.12/image//etc/nessus
test -d /usr/lib/nessus/plugins || \
        /bin/install -c -d -m 755 /usr/lib/nessus/plugins
ACCESS DENIED  mkdir:     /usr/lib/nessus
/bin/install: cannot create directory `/usr/lib/nessus': Permission denied
make: *** [install-bin] Error 1

!!! ERROR: net-analyzer/nessus-core-2.0.12 failed.
!!! Function src_install, Line 62, Exitcode 2
!!! Install failed nessus-core
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-analyzer_-_nessus-core-2.0.12-20432.log"

mkdir:     /usr/lib/nessus
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1. emerge nessus-core [Actually, i typed "emerge nessus -vD"
2. Wait some time.
3. See above message.

Actual Results:  
See above.

Expected Results:  
Guess.

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  6 2005, 20:34:24)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -fprefetch-loop-arrays
-ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -fprefetch-loop-arrays
-ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/               
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo           
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo              
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo         
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo              
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo              
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X acpi alsa apache2 artworkextra audiofile avi
bash-completion bitmap-fonts bzip2 bzlib cairo calendar cdda cddb cdinstall
cdparanoia cdr codecs cracklib crypt cups dedicated dga dict divx4linux djbfft
dv encode exif fastcgi flac flood font-server foomaticdb ftp ggi gif gimp
gimpprint glitz glut gnutls gphoto2 gstreamer gtk gtk2 hal imagemagick imlib
imlib2 jabber jikes joystick jpeg kdeenablefinal lcd lesstif live lm_sensors
logitech-mouse lzo mad md5sum memlimit mime mmx mng mozilla mozsvg mpeg mplayer
native ncurses network nls no-old-linux nocd nodrm noplugin nosendmail nptl
nptlonly ntlm nvidia offensive ogg oggvorbis openal opengl pam pcre perl
playlist png posix ppds print pthreads python qemu-fast qt quicktime readline
real recode rtc scanner sdl silc simplexml slang smime sndfile speex spell sse
ssl svg symlink threads tidy tiff transcode truetype truetype-fonts type1
type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vcdimager vidix vorbis
wxwindows xanim xface xine xml xml-rpc xml2 xmms xpm xprint xv xvid xvmc zlib
linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Daniel Herzog 2005-02-19 05:44:08 UTC
Btw, root does have the right to write in /usr/lib of course.
When I use the same shell immediately after emerge fails, mkdir /usr/lib/nessus works perfectly fine.

I have no idea which user emerge tries to use to create this directory - root is able to create it.
Comment 2 Dean Baender 2005-02-19 07:06:24 UTC
Created attachment 51597 [details]
updated ebuild

Changes the make invocation in src_install.  Fixes the sandbox violation.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-02-19 16:11:52 UTC
fixed - thankyou. The sandbox prevents root from writing in places other than /var/tmp/portage/.../image at various stages of the emerge.