Package: wpasupplicant Version: 0.4.7-3 Severity: normal
Hello, First af all: note that this bug might be related to #346265, but it happens to me in version 0.4.7-3 of wpasupplicant (#346265 states it is fixed in version 0.4.7-1). I think /etc/init.d/wpasupplicant script contains some errors: it does not create pidfile as it should, at start|restart time. In my opinion, it may hide some failures when starting|restarting the daemon. I include attached a diffile with a patch(?) for the problem. Daniel R. -- 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.15-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages wpasupplicant depends on: ii libc6 2.3.5-13 GNU C Library: Shared libraries an ii libncurses5 5.5-1 Shared libraries for terminal hand ii libreadline5 5.1-6 GNU readline and history libraries ii libssl0.9.8 0.9.8a-7 SSL shared libraries wpasupplicant recommends no packages. -- no debconf information
--- wpasupplicant.old 2006-03-02 11:11:29.000000000 +0100 +++ wpasupplicant 2006-03-02 11:11:29.000000000 +0100 @@ -37,8 +37,8 @@ start) echo -n "Starting wpa_supplicant: " start-stop-daemon --start --name $PNAME \ - --oknodo --startas $DAEMON -- -B $OPTIONS - if [ -f $PIFFILE ]; then + --oknodo --startas $DAEMON -- -B -P $PIDFILE $OPTIONS + if [ -f $PIDFILE ]; then echo "done."; else echo "failed."; @@ -71,8 +71,8 @@ echo -n "Starting wpa_supplicant: " start-stop-daemon --start --name $PNAME \ - --oknodo --startas $DAEMON -- -B $OPTIONS - if [ -f $PIFFILE ]; then + --oknodo --startas $DAEMON -- -B -P $PIDFILE $OPTIONS + if [ -f $PIDFILE ]; then echo "done."; else echo "failed.";