Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55107 - Kismet-2004.04.1 gives a fatal error when trying to access /var/run/kismet_server.pid.
Summary: Kismet-2004.04.1 gives a fatal error when trying to access /var/run/kismet_se...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 56030
  Show dependency tree
 
Reported: 2004-06-24 20:36 UTC by Andrew Rosborough
Modified: 2004-10-21 02:05 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 Andrew Rosborough 2004-06-24 20:36:11 UTC
This means Kismet will only work from 'su -'.  /usr/doc/kismet-2004.04.1/README.gz says that kismet should be installed with make suidinstall instead of make install to avoid this fatal error.  Systems with multiple users should not use suidinstall, but for many users with laptops while their card is in rfmon it can't accept connections from other users unless they are connected to more than one interface.

Reproducible: Always
Steps to Reproduce:
1. $ kismet<enter>
2.
3.

Actual Results:  
$ kismet
Server options:  none
Client options:  none
Starting server...
Waiting for server to start before startuing UI...
Will drop privs to arosboro (1000) gid 100
FATAL:  Unable to set up pidfile /var/run/kismet_server.pid, unlink() failed:
Permission denied


Expected Results:  
kismet's gui would eventally load and my network would be detected.

I have a cisco aironet 352 using kernel 2.6.4 drivers which works fine from root.

This is my first bug entry :)
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-07-07 20:30:37 UTC
I definitely do not intend to install another binary suid root by default. Just not gonna happen. Doing "su -" is an inconvenience, but none the less we should not be installing kismet suid root by default.

If you want to attach an ebuild that uses some meaningful USE flag to enable this functionality, i'd consider it. Even then i'm wary.
Comment 2 Adam R 2004-09-20 05:45:39 UTC
My .02, I think that you should be root if you're setting your card into RFMON.  Considering it's changing the usability of a piece of hardware.

I have no issues su'ing root and then loading up kismet.  If you dont want to always 'su -' I would possibly suggest using sudo to be able to start up kismet?
Comment 3 Henrik Brix Andersen 2004-10-18 07:00:42 UTC
I agree 100% with latexer.

Suggest closing as WONTFIX.
Comment 4 Henrik Brix Andersen 2004-10-21 02:05:34 UTC
Done.