Another workaround or dirty hack, but it should not affect network
filesystems mount.

** Description changed:

- Wi-Fi interfaces, that use configuration file /etc/network/interfaces
- and wpa_supplicant package, should be bring up after mounting /run,
- because wpa_supplicant uses /run mountpoint. In other case sometimes on
- boot Wi-Fi connection can be established properly, sometimes can not.
+ Wi-Fi interfaces, that use configuration file /etc/network/interfaces and 
wpa_supplicant package, should be bring up after mounting /run, because 
wpa_supplicant uses /run mountpoint. In other case sometimes on boot Wi-Fi 
connection can be established properly, sometimes can not. In logs I can see:
+ /var/log/upstart/network-interface-wlan0.log
+ 
+ mkdir[ctrl_interface]: No such file or directory
+ wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
+ run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
  
  Proposed patch is not the best solution, but I can not get working
  solution with "mounted MOUNTPOINT=/run" instead of "filesystem". If I
  use "mounted MOUNTPOINT=/run", I do not get any errors messages using
  "initctl check-config" and "init-checkconf -d /etc/init/network-
  interface.conf", init just does not want start on boot, there is black
  screen after bootloader even without 'quite splash' kernel parameters
  and with '--debug' kernel parameter, there is no records in logs.
+ 
+ Also there is another workaround or dirty hack, but it should not affect
+ network filesystems mount, see attachment "network-
+ interface.conf.workaround".

** Attachment added: "network-interface.conf.workaround"
   
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1144997/+attachment/3558102/+files/network-interface.conf.workaround

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1144997

Title:
  Race condition on boot for Wi-Fi interfaces with wpa_supplicant

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1144997/+subscriptions

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

Reply via email to