[pkg-wpa-devel] Bug#416234: wpasupplicant: wpa-ifupdown init script starts, but should stop, on runlevels 0 and 6

Kel Modderman kel at otaku42.de
Fri Apr 6 03:02:33 UTC 2007


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.



More information about the Pkg-wpa-devel mailing list