tag 438733 - confirmed thanks Removing "confirmed" tag, and closing bug: lanmap is designed to run as root, since it needs raw access to the network interface, as illustrated below:
~ # sudo chmod 777 /usr/share/lanmap ~ # lanmap -vvv -o /tmp verbosity level 3 using interfaces... reporting every 60 seconds... 8459 records loaded from /usr/share/lanmap//data/mac_vendor Couldn't find default interface: no suitable device found generating final report... ====== 0 Machines ======= cmd:twopi -Tpng -o /usr/share/lanmap//tmp.lanmap lanmap.dot && mv /usr/share/lanmap//tmp.lanmap /tmp/lanmap.png && rm lanmap.dot done. ~ # echo $? 1 ~ # Cheers, --Seb On Sun, Aug 19, 2007 at 10:17:17AM -0300, Joaquín Martínez wrote: > Package: lanmap > Version: 0.1+svn20060227-4 > Severity: grave > > > > -- System Information: > Debian Release: lenny/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core) > Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) > (ignored: LC_ALL set to en_IE.UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages lanmap depends on: > ii graphviz 2.8-2.6 rich set of graph drawing tools > ii libc6 2.6-2 GNU C Library: Shared libraries > ii libpcap0.8 0.9.5-1 System interface for user-level > pa > > lanmap recommends no packages. > > -- debconf-show failed > > <above the emacs debian-bug command output> > > The exact and complete text of any error messages printed or logged. > (IPs and MAC info <REMOVED>): > > root # lanmap -vvv -o /tmp/ > /usr/share/lanmap//tmp.lanmap: Read-only file system > /usr/share/lanmap//tmp.lanmap: Read-only file system > verbosity level 3 > using devices... > reporting every 60 seconds... > 8459 records loaded from /usr/share/lanmap//data/mac_vendor > using device eth1... > opening eth1 in promiscuous mode... > device 'eth1' net: 0x0000A8C0, mask: 0x00FFFFFF > ====== 1 Machine ======= > Machine (134807496): > Roles: Bridge > Hostname: "" > Operating System: "?" > <REMOVED> > mac <REMOVED> <-> ip <REMOVED> > received signal 2, quitting... > generating final report... > ====== 2 Machines ======= > Machine (134807856): > Roles: Bridge > Hostname: "" > Operating System: "?" > <REMOVED> > Machine (134808968): > Roles: > Hostname: "" > Operating System: "?" > <REMOVED> > <REMOVED> > done. > > root # > > > A description of the incorrect behaviour: exactly what behaviour > you were expecting, and what you observed. > > Attempting to write on and read only filesystem /usr > and no image file is generated in /tmp/ > I was expecting that the temp data were under /var > > Suggested fix: 1) to use the /var hierachy to temp/lib/running data files > 2) to symlink the /usr file to an /var file on the installation scripts > > > I have added an CCO (I do not like to use his email on a public BTS) > to Ryan Flynn just to keep him informed. > > Thank you for your work and time. > > > Best regards > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]