Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625458 - net-wireless/wpa_supplicant should wait for udev settle
Summary: net-wireless/wpa_supplicant should wait for udev settle
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-17 18:01 UTC by Johannes Willem (Hans) Fernhout
Modified: 2018-04-19 02:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Willem (Hans) Fernhout 2017-07-17 18:01:20 UTC
The change in udev behavior as described in this article https://www.gentoo.org/support/news-items/2016-11-04-important_fstab_and_localmount_update.html can also cause wpa_supplicant to malfunction. If wpa_supplicant starts before the network device is settled and the proper kernel module is not loaded yet then wpa_supplicant startup fails. This happens with my fast new laptop with nvme storage.

Adding rc_want="dev-settle" to /etc/conf.d/wpa_supplicant helps to work around this. My suggestion would be to do this by default, or add this to /etc/init.d/wpa_supplicant.
Comment 1 William Hubbs gentoo-dev 2018-04-16 22:59:22 UTC
Since this isn't going to be needed everywhere, I would tend to
recommend putting it in /etc/conf.d/wpa_supplicant if you need it
rather than putting it in the init script by default.
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2018-04-19 02:25:54 UTC
added as a comment to confd file.  users will get the change on update/rebuild but I am not bumping to add a comment.