Soren Hansen <[EMAIL PROTECTED]> 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?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

-- 
wpasupplicant doesn't start when the network start
https://bugs.launchpad.net/bugs/44194
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to