Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73176 - midas-nms src_install sandbox violation, sysconfdir wrong
Summary: midas-nms src_install sandbox violation, sysconfdir wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 16:11 UTC by gentoo
Modified: 2004-12-24 02:36 UTC (History)
0 users

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 gentoo 2004-12-02 16:11:16 UTC
midas-nms tries to install itself in a very rude fasion:

>>> Install midas-nms-2.2f into /var/tmp/portage/midas-nms-2.2f/image/ category net-analyzer
mkdir /usr
mkdir: cannot create directory `/usr': File exists
make: [install] Error 1 (ignored)
mkdir /usr/etc
mkdir: cannot create directory `/usr/etc': File exists
make: [install] Error 1 (ignored)
mkdir /usr/bin
mkdir: cannot create directory `/usr/bin': File exists
make: [install] Error 1 (ignored)
mkdir /usr/var
mkdir: cannot create directory `/usr/var': File exists
make: [install] Error 1 (ignored)
cp MIDASa/MIDASa /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/MIDASa
cp: cannot create regular file `/usr/bin/MIDASa': Permission denied
make: [install] Error 1 (ignored)
cp MIDASa/MIDASa.cf.dist /usr/etc
ACCESS DENIED  open_wr:   /usr/etc/MIDASa.cf.dist
cp: cannot create regular file `/usr/etc/MIDASa.cf.dist': Permission denied
make: [install] Error 1 (ignored)
cp MIDASb/MIDASb /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/MIDASb
cp: cannot create regular file `/usr/bin/MIDASb': Permission denied
make: [install] Error 1 (ignored)
cp MIDASb/MIDASb.cf.dist /usr/etc
ACCESS DENIED  open_wr:   /usr/etc/MIDASb.cf.dist
cp: cannot create regular file `/usr/etc/MIDASb.cf.dist': Permission denied
make: [install] Error 1 (ignored)
cp MIDASc/MIDASc /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/MIDASc
cp: cannot create regular file `/usr/bin/MIDASc': Permission denied
make: [install] Error 1 (ignored)
cp MIDASc/MIDASc.cf.dist /usr/etc
ACCESS DENIED  open_wr:   /usr/etc/MIDASc.cf.dist
cp: cannot create regular file `/usr/etc/MIDASc.cf.dist': Permission denied
make: [install] Error 1 (ignored)
cp MIDASd/MIDASd /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/MIDASd
cp: cannot create regular file `/usr/bin/MIDASd': Permission denied
make: [install] Error 1 (ignored)
cp MIDASd/MIDASd.cf.dist /usr/etc
ACCESS DENIED  open_wr:   /usr/etc/MIDASd.cf.dist
cp: cannot create regular file `/usr/etc/MIDASd.cf.dist': Permission denied
make: [install] Error 1 (ignored)
cp MIDASs/MIDASs /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/MIDASs
cp: cannot create regular file `/usr/bin/MIDASs': Permission denied
make: [install] Error 1 (ignored)
cp MIDASs/MIDASs.cf.dist /usr/etc
ACCESS DENIED  open_wr:   /usr/etc/MIDASs.cf.dist
cp: cannot create regular file `/usr/etc/MIDASs.cf.dist': Permission denied
make: [install] Error 1 (ignored)
cp MIDASn/MIDASn /usr/bin
ACCESS DENIED  open_wr:   /usr/bin/MIDASn
cp: cannot create regular file `/usr/bin/MIDASn': Permission denied
make: [install] Error 1 (ignored)
cp MIDASn/MIDASn.cf.dist /usr/etc
ACCESS DENIED  open_wr:   /usr/etc/MIDASn.cf.dist
cp: cannot create regular file `/usr/etc/MIDASn.cf.dist': Permission denied
make: [install] Error 1 (ignored)
install: cannot stat `/usr/share/midas-nms/sql/': No such file or directory

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-analyzer_-_midas-nms-2.2f-3087.log"

open_wr:   /usr/bin/MIDASa
open_wr:   /usr/etc/MIDASa.cf.dist
open_wr:   /usr/bin/MIDASb
open_wr:   /usr/etc/MIDASb.cf.dist
open_wr:   /usr/bin/MIDASc
open_wr:   /usr/etc/MIDASc.cf.dist
open_wr:   /usr/bin/MIDASd
open_wr:   /usr/etc/MIDASd.cf.dist
open_wr:   /usr/bin/MIDASs
open_wr:   /usr/etc/MIDASs.cf.dist
open_wr:   /usr/bin/MIDASn
open_wr:   /usr/etc/MIDASn.cf.dist
--------------------------------------------------------------------------------


also note the bodged /usr/etc sysconfdir


Reproducible: Always
Steps to Reproduce:
1. emerge midas-nms
Comment 1 José Alberto Suárez López (RETIRED) gentoo-dev 2004-12-24 02:36:00 UTC
fixed in cvs