[pkg-wpa-devel] Bug#416234: wpasupplicant: wpa-ifupdown init script
starts, but should stop, on runlevels 0 and 6
Brian Cox
coxbrian at msu.edu
Mon Mar 26 06:15:56 CET 2007
Package: wpasupplicant
Version: 0.5.5-4
Severity: normal
This package's init script, /etc/init.d/wpa-ifupdown, is configured to
start rather than stop during runlevels 0 and 6. This is especially
perplexing since the init script itself does absolutely nothing for
'start'.... All of the action happens when the script is called with
'stop'.
The problem appears to be in the postinst hook:
# Automatically added by dh_installinit
if [ -x "/etc/init.d/wpa-ifupdown" ]; then
update-rc.d wpa-ifupdown start 15 0 6 . >/dev/null || exit $?
fi
# End automatically added section
The call to update-rc.d should specify a stop set, not a start set.
Cheers,
Brian
-- System Information:
Debian Release: 4.0 by Linux-Systeme
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages wpasupplicant depends on:
ii libc6 2.3.6.ds1-14 GNU C Library: Shared libraries
ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libreadline5 5.2-2 GNU readline and history libraries
ii libssl0.9.8 0.9.8e-5 SSL shared libraries
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
Versions of packages wpasupplicant recommends:
pn dhcp3-client <none> (no description available)
-- no debconf information
More information about the Pkg-wpa-devel
mailing list