Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345243 - net-analyzer/ngrep-1.45-r2 fails accessing /etc/sysinfo.conf
Summary: net-analyzer/ngrep-1.45-r2 fails accessing /etc/sysinfo.conf
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-12 22:05 UTC by Peter Abrahamsen
Modified: 2014-01-14 18:55 UTC (History)
1 user (show)

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 Peter Abrahamsen 2010-11-12 22:05:28 UTC
ngrep fails with this (dtruss output):

Espy app # dtruss ngrep -d lo0 -W byline tcp port 3000
<snip>
open_nocancel("/etc/sysinfo.conf\0", 0x0, 0x1B6)		 = -1 Err#2
writev_nocancel(0x2, 0x7FFF5FBFE960, 0x4)		 = 78 0
sigaction(0x2, 0x7FFF5FBFF160, 0x7FFF5FBFF190)		 = 0 0
sigaction(0x6, 0x7FFF5FBFF160, 0x7FFF5FBFF190)		 = 0 0
sigaction(0x3, 0x7FFF5FBFF160, 0x7FFF5FBFF190)		 = 0 0
sigaction(0xD, 0x7FFF5FBFF160, 0x7FFF5FBFF190)		 = 0 0
sigaction(0x1C, 0x7FFF5FBFF160, 0x7FFF5FBFF190)		 = 0 0
madvise(0x100300000, 0x80000, 0x9)		 = 0 0
close(0x3)		 = 0 0

darwinports has ngrep, so it's possible to run on darwin. It'd be great to have this tool working.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-11-16 20:59:55 UTC
Need to figure out how to "trick" it or something. Not sure though, ngrep doesn't even install the file itself. And macports uses the same configure options as we do...
Comment 2 Fabian Groffen gentoo-dev 2014-01-14 18:55:44 UTC
the sources don't reference this file, neither does libpcap do.