Summary: | net-analyzer/arpwatch-3.1-r2: all vendors <unknown>, opens ethercodes.dat from wrong directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ondrej Zary <ondrej> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | holger, jstein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Ondrej Zary
2021-04-16 18:49:43 UTC
In fact, it does this before the open: chdir("/") = 0 chdir("/usr/arpwatch") = -1 ENOENT (No such file or directory) Symlinking /usr/arpwatch to /usr/share/arpwatch allows it to read the ethercodes.dat file. Created attachment 700392 [details]
build.log
--datadir=/usr/share here:
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/arpwatch-3.1-r2 --htmldir=/usr/share/doc/arpwatch-3.1-r2/html --libdir=/usr/lib
-DARPDIR=\"/usr/arpwatch here:
i686-pc-linux-gnu-gcc -O3 -march=i686 -fomit-frame-pointer -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FREEBSD_TRUE=# -DHAVE_FREEBSD_FALSE=1 -DHAVE_MALLOC_H=1 -DHAVE_STRERROR=1 -DMANCFLAG=\(default\) -DZEROPAD=0 -DRETSIGTYPE=void -DRETSIGVAL=/\*\*/ -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DHAVE_LIBRESOLV=1 -DHAVE_PCAP_FINDALLDEVS=1 -DHAVE_DN_SKIPNAME=1 -DWATCHER=\"root\" -DWATCHEE=\"arpwatch\" -DARPDIR=\"/usr/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -I/usr/local/include -c ./arpwatch.c
|