[pkg-wpa-devel] Bug#488078: wpasupplicant: exit 0 in ifupdown.sh keeps wpa_cli and wpa_supplicant running

Tino Keitel tino.keitel at tikei.de
Thu Jun 26 06:40:38 UTC 2008


Package: wpasupplicant
Version: 0.6.3-2
Severity: normal

Hi,

when I do ifdown wlan0, the processes wpa_cli and wpa_supplicant are not
killed. A later ifup wlan0 doesn't work because wpa_supplicant doesn't seem
to re-associate, at least not within 3 minutes.

With the attached patch both processes are killed and ifup wlan0 works as
intended.

I use the wpa-roam feature.

Regards,
Tino

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.9 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wpasupplicant depends on:
ii  adduser                      3.108       add and remove users and groups
ii  libc6                        2.7-12      GNU C Library: Shared libraries
ii  libdbus-1-3                  1.2.1-2     simple interprocess messaging syst
ii  libpcsclite1                 1.4.101-2   Middleware to access a smart card 
ii  libreadline5                 5.2-3       GNU readline and history libraries
ii  libssl0.9.8                  0.9.8g-10.1 SSL shared libraries
ii  lsb-base                     3.2-12      Linux Standard Base 3.2 init scrip

wpasupplicant recommends no packages.

-- no debconf information
-------------- next part --------------
--- ifupdown.sh	2008-06-26 08:23:13.000000000 +0200
+++ /etc/wpa_supplicant/ifupdown.sh	2008-06-26 08:38:26.000000000 +0200
@@ -123,7 +123,7 @@
 			*)
 				# allow wpa_cli daemon (wpa-roam/wpa_action) to continue,
 				# we are in a standard runlevel
-				exit 0
+				return 0
 				;;
 		esac
 	elif test_wpa_supplicant; then


More information about the Pkg-wpa-devel mailing list