Your message dated Fri, 6 Apr 2007 13:02:33 +1000
with message-id <[EMAIL PROTECTED]>
and subject line [pkg-wpa-devel] Bug#416234: wpasupplicant: wpa-ifupdown init
script starts, but should stop, on runlevels 0 and 6
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
On Tuesday 27 March 2007 13:59, Brian Cox wrote:
> Hi Kel,
>
> On Monday 26 March 2007, Kel Modderman wrote:
> > It could be either. Using a 'stop' set would cause the init script to
> > by prefixed with K, and not S. It would be executed earlier than
> > intended.
>
> [... detailed examples showing how initscripts processes start sets as
> stop sets in runlevels 0 and 6 omitted ...]
>
> > The above examples were used a basis for introducing this sysv
> > curiosity into wpasupplicant (for better or worse).
>
> Thanks for the explanation! I had naively assumed that the rc script
> does a straightforward mapping of K[0-9][0-9]* scripts to stop actions
> and likewise for S[0-9][0-9]* scripts and start actions, but I now see
> that init scripts are called with the stop action in runlevels 0 and 6
> regardless of which prefix they have. BTW, it seems as if this
> sysv 'curiosity' is consistent with what file-rc does, as well.
>
> My apologies for filing what has turned out to be a non-bug.
None required, it was a valid query.
Closing.
Kel.
--- End Message ---