Comment 43 for bug 44194

Revision history for this message
kelmo (kelrin) wrote : Re: [Bug 44194] Re: wpasupplicant doesn't start when the network start

On Friday 05 December 2008 00:25:02 Reinhard Tartler wrote:
> Soren Hansen <email address hidden> writes:
>
> > Glancing at its pre-up script, I'm guessing your problem is this:
> >
> > # quit if executables are not installed
> > if [ ! -x "$WPA_SUP_BIN" ] || [ ! -x "$WPA_CLI_BIN" ]; then
> > exit 0
> > fi
>
> This is a perfectly valid use case when the wpasupplicant package is
> removed but not purged.
>
> The wpasupplicant-ifupdown script is installed as a conffile, because we
> expected that local users might want to do some changes to
> it. /etc/network/if-*.d is installed in /etc/ as conffile for a reason
> after all.
>
> What we could do however is to move the ifupdown conffile to
> /var/lib/wpasupplicant or something and exit with exitcode 1 to indicate
> to ifupdown that starting the interface has failed. After skimming the
> ifupdown code, it seems that /etc/init.d/networking (which calls 'ifup
> -a') *should* then retry to 'up' the interface.
>
> Kel, how do you think about this idea?

After Soren jumped all over my last casual remark, i don't dare comment until
such a time i can review the entire bug, which aint gonna be for a few weeks.

I haven't seen any sign of this bug in the Debian BTS and have not read the
full LP 44194.

Kel.