all scripts are runnning regardles what is set in the configuration

Bug #622876 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

please see
https://answers.launchpad.net/wicd/+question/122390

./postconnect:
total 24
drwxr-xr-x 2 root root 4096 2010-08-23 19:16 ./
drwxr-xr-x 6 root root 4096 2010-08-23 17:14 ../
-rw-r--r-- 1 root root 454 2010-08-21 21:38 .empty_on_purpose
-rwxr--r-- 1 root root 117 2010-08-21 11:53 openvpnstart*
-rwxr--r-- 1 root root 72 2010-08-23 17:05 proxy.wien*

if I set proxy.wien for one wlan connection also openvpnstart is executed (which is specified for another wlan)

Revision history for this message
Ferdinand (office-chricar) wrote :

meanwhile I found the log files

IMHO shows that ALL scripts in post connect are executed
whereas only proxy.wien is entered in the properties

********************** log *******************
 Running DHCP with hostname cc
 /sbin/dhcpcd eth1 -h cc

 DHCP connection successful
 not verifying

 Executing /etc/wicd/scripts/postconnect/None with params wireless wien 00
 /etc/wicd/scripts/postconnect/None returned 0

 Executing /etc/wicd/scripts/postconnect/openvpnstart with params wireless wien 00
 /etc/wicd/scripts/postconnect/openvpnstart returned 0

 Executing /etc/wicd/scripts/postconnect/proxy.wien with params wireless wien 00
 /etc/wicd/scripts/postconnect/proxy.wien returned 0

 Executing post-connection script
 Expanded 'proxy.wien' to 'proxy.wien'
 Executing proxy.wien with params
 proxy.wien returned 127

 Connecting thread exiting.
 ifconfig eth1
 IP Address is
 Sending connection attempt result Success
***********************
I just wonder
1) why there is a return code 127 (command not found)
2) why
 Executing proxy.wien with params
and not
 Executing proxy.wien with params wireless wien 00

this is "proxy.wien"
/bin/sleep 2 && /bin/cp /etc/sysconfig/proxy.wien /etc/sysconfig/proxy

thank you for looking into this

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.