Package: wifi-radar
Version: 1.9.6-2
Severity: normal

*** Please type your report below this line ***

As a normal user I typed:

   $ /usr/sbin/wifi-radar

and was rewarded with:

  Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 1357, in ?
  confFile.write( open( CONF_FILE, "w" ) )
  IOError: [Errno 13] Permission denied: '/etc/wifi-radar.conf'

That's fine, time to read the manpage.
It states that the wifi-radar.conf file is in these locations:
   /etc/conf.d/wifi-radar.conf
   /etc/wifi-radar/wifi-radar.conf
neither of which is correct according to the traceback above.

A quick check of the source confirms this.


Please consider applying the patch attached.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages wifi-radar depends on:
ii  debconf [debconf-2.0]         1.5.4      Debian configuration management sy
ii  dhcp3-client                  3.0.4-8    DHCP Client
ii  menu                          2.1.30     generates programs menu for all me
ii  python                        2.4.3-11   An interactive high-level object-o
ii  python-gtk2                   2.8.6-5    Python bindings for the GTK+ widge
ii  wireless-tools                28-1       Tools for manipulating Linux Wirel

Versions of packages wifi-radar recommends:
ii  wpasupplicant                 0.5.4-5    Client support for WPA and WPA2 (I

-- debconf information:
  wifi-radar/wifi_interface:

--- wifi-radar.1.orig   2006-09-28 07:33:18.000000000 +1000
+++ wifi-radar.1        2006-10-03 00:09:53.000000000 +1000
@@ -22,7 +22,7 @@
 
 \fB\-d\fR, \fB\-\-daemon\fR set wifi-radar in daemon mode.
 .TP 1
-It will always look for the config file in /etc/conf.d/wifi-radar.conf.
+It will always look for the config file in /etc/wifi-radar.conf.
 You can change that in wifi-radar
 .TP 5
 * If the conf file does not exist, it will create it, so you must
@@ -37,7 +37,7 @@
 Recent version partially implements WPA-TKIP with wpa_supplicant. You
 need a running wpa_supplicant installation with a
 /etc/wpa_supplicant/wpa_supplicant.conf file.  Then by setting in your
-/etc/wifi-radar/wifi-radar.conf file the "use_wpa = yes" option and
+/etc/wifi-radar.conf file the "use_wpa = yes" option and
 "wpa_driver = ipw" for example, wpa_supplicant will be launched when
 you connect using this profile.
 .TP 2
@@ -48,7 +48,7 @@
 wifi-radar.
 .SH FILES
 .TP 10
-.B /etc/wifi-radar/wifi-radar.conf
+.B /etc/wifi-radar.conf
 See
 .BR wifi-radar.conf (5)
 for more information.

Reply via email to