Terry Simons - 2007-10-14

Logged In: YES
user_id=52675
Originator: YES

Steps to reproduce:

Remove configuration file.
Open UI.
Open supplicant.
sudo chmod 777 /tmp/xsupplicant.sock

A dialog pops up about /etc/xsupplicant.conf not being readable, and asks if the user has permission, then the UI crashes.

Full supplicant log:

Sprink:~/Desktop/SeaMonkey/xsupplicant/src terry$ sudo ./xsupplicant -d A -f
Found 0 other supplicants and wireless managers.
[INIT ] Init devices structure.
File /etc/xsupplicant.conf can't be accessed
File /etc/xsupplicant.conf can't be opened. Do you have rights to it?
Couldn't read the configuration file. Building defaults.
No log path setting is defined in the configuration file. We won't roll logs!
Error rolling log files!
[INTERFACE ] Interface 1 named lo0.
[INTERFACE ] Interface 2 named gif0.
[INTERFACE ] Looking for MAC address for gif0!
[INTERFACE ] Interface 3 named stf0.
[INTERFACE ] Looking for MAC address for stf0!
[INTERFACE ] Interface 4 named en0.
[INTERFACE ] Looking for MAC address for en0!
[INTERFACE ] Interface 5 named en1.
[INTERFACE ] Looking for MAC address for en1!
[INTERFACE ] Interface 6 named fw0.
[INTERFACE ] Looking for MAC address for fw0!
[INTERFACE ] Opened socket descriptor #4 for IPC listener.
Couldn't determine the maximum buffer size needed from getgrnam_r()
[EVENT_CORE ] Registered event handler 'IPC master socket' in slot 19, with socket 4.
No devices found in the configuration!
[EVENT_CORE ] Socket 4 (IPC master socket) had an event! (Event index 19)
[INTERFACE ] (IPC) Got a request to connect a new client.
[INTERFACE ] Registering a new socket handler.
[EVENT_CORE ] Registered event handler 'client msg socket' in slot 18, with socket 5.
Xsupplicant 1.9.5.071009 has connected a new client.
[EVENT_CORE ] Socket 5 (client msg socket) had an event! (Event index 18)
[INTERFACE ] (IPC) Processing an event for socket 5!
[IPC ] Got an IPC get error queue request!
[IPC ] (IPC) Sending 229 byte(s) total.
[IPC ] Sending complete packet of 234 byte(s).
000 | 00 00 00 00 e5 3c 3f 78 6d 6c 20 76 65 72 73 69 | .....<?xml versi
010 | 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 3c 78 73 75 70 | on="1.0"?>.<xsup
020 | 5f 69 70 63 20 56 65 72 73 69 6f 6e 3d 22 31 2e | _ipc Version="1.
030 | 30 22 3e 3c 45 72 72 6f 72 5f 51 75 65 75 65 3e | 0"><Error_Queue>
040 | 3c 4e 75 6d 62 65 72 5f 4f 66 5f 45 76 65 6e 74 | <Number_Of_Event
050 | 73 3e 31 3c 2f 4e 75 6d 62 65 72 5f 4f 66 5f 45 | s>1</Number_Of_E
060 | 76 65 6e 74 73 3e 3c 45 72 72 6f 72 73 3e 3c 4d | vents><Errors><M
070 | 65 73 73 61 67 65 3e 46 69 6c 65 20 2f 65 74 63 | essage>File /etc
080 | 2f 78 73 75 70 70 6c 69 63 61 6e 74 2e 63 6f 6e | /xsupplicant.con
090 | 66 20 63 61 6e 27 74 20 62 65 20 6f 70 65 6e 65 | f can't be opene
0a0 | 64 2e 20 20 44 6f 20 79 6f 75 20 68 61 76 65 20 | d. Do you have
0b0 | 72 69 67 68 74 73 20 74 6f 20 69 74 3f 3c 2f 4d | rights to it?</M
0c0 | 65 73 73 61 67 65 3e 3c 2f 45 72 72 6f 72 73 3e | essage></Errors>
0d0 | 3c 2f 45 72 72 6f 72 5f 51 75 65 75 65 3e 3c 2f | </Error_Queue></
0e0 | 78 73 75 70 5f 69 70 63 3e 0a | xsup_ipc>.
[EVENT_CORE ] Socket 5 (client msg socket) had an event! (Event index 18)
[INTERFACE ] (IPC) Processing an event for socket 5!
[INTERFACE ] Connection broken.
[EVENT_CORE ] Deregistering event handler 'client msg socket' in slot 18, with socket 5.