Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87166 - Dsniff will not run due to dsniff.services file not found
Summary: Dsniff will not run due to dsniff.services file not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 13:39 UTC by Brandyn A. White
Modified: 2005-03-29 14:47 UTC (History)
0 users

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


Attachments
This ebuild should resolve this issue. (dsniff-2.3-r3.ebuild,2.18 KB, application/octet-stream)
2005-03-29 14:23 UTC, Brandyn A. White
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandyn A. White 2005-03-29 13:39:51 UTC
After emerging dsniff-2.3-r3 and trying to run dsniff it says...
dsniff: couldn't open /etc/dsniff/dsniff.services
After searching for the file it is located in /usr/dsniff.services.

Reproducible: Always
Steps to Reproduce:
1.emerge dsniff-2.3-r3
2.run "dsniff"

Actual Results:  
dsniff: couldn't open /etc/dsniff/dsniff.services

Expected Results:  
Not produced error message

I've tried unmerging and remerging and same thing.  A simple fix is to do an
ln -sf /usr/dsniff.services /etc/dsniff/dsniff.services
However, the file should go directly into the etc folder so a move might be more
appropriate.


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-nitro2 i686)
=================================================================
System uname: 2.6.11-nitro2 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 14 2005, 22:34:34)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3
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="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo
http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/
http://gentoo.ccccom.com"
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="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl
divx4linux dv dvd dvdread emboss encode fam foomaticdb fortran freetype gdbm gif
gimpprint gpm gtk gtk2 imagemagick imlib ipv6 jpeg kde libg++ libwww live mad
mikmod mmx mmx2 motif mp3 mpeg nas ncurses network nls nptl oggvorbis opengl oss
other_var1 other_var2 pam pdflib perl pic png ppds python qt quicktime readline
real sdl spell sse ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts
usb wifi xml2 xmms xpm xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Brandyn A. White 2005-03-29 14:23:26 UTC
Created attachment 54795 [details]
This ebuild should resolve this issue.

All I changed in this ebuild is the mv from /usr/lib to /usr/ because that is
where the files actually end up.
Comment 2 Brandyn A. White 2005-03-29 14:24:53 UTC
I fixed the issue, it just needs to be added to the portage tree.
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-03-29 14:47:40 UTC
Now in CVS, thanks for reporting and solving the bug.

In the future, please do two things: 1) post a diff instead of the whole ebuild, it makes it easier to read, 2) don't mark the bug resolved fixed or it may be ignored.