Summary: | sys-apps/openrc-0.6.4 not starting net-wireless/wpa_supplicant-0.7.2-r3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Sagal <bensagal> |
Component: | [OLD] Core system | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aidanamarks, alon.barlev, andrey, doron.fediuck, droide, wd |
Priority: | High | Keywords: | InOverlay |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ben Sagal
2010-11-16 19:59:03 UTC
(In reply to comment #0) > After installing sys-apps/openrc-0.6.4 wpa_supplicant is not started when > starting the new.wlan0 service. When downgraning to 0.6.3 it gats stated Same here. (In reply to comment #1) > (In reply to comment #0) > > After installing sys-apps/openrc-0.6.4 wpa_supplicant is not started when > > starting the new.wlan0 service. When downgraning to 0.6.3 it gats stated > > Same here. > Here too. Any fix? Hello, I have the same problem, but I try to add /etc/init.d/net.wlan0 restart in /etc/conf.d/local and it doesn't work. To solve this problem I unmerge ifplugd and restart my computer. emerge --unmerge sys-apps/ifplugd reboot It's not the good way, but it works. (In reply to comment #3) > To solve this problem I unmerge ifplugd and restart my computer. > emerge --unmerge sys-apps/ifplugd > reboot > It's not the good way, but it works. Well, I unmerged ifplugd, emerged netplug and all is working fine. So there must be some incompatibility between openrc-0.6.4 and ifplugd (which seems quite abandoned to me). Maybe masking ifplugd in favor of netplug could have some sense. I have removed sys-apps/ifplugd and am now using the built in carrier detection in dhcpcd-5 which seems to work fine The wpa_supplicant_pre_start is never called, the ifplugd is called before and takes ownership of the interface. diff -urNp openrc-0.6.3/net/ifplugd.sh openrc-0.6.4/net/ifplugd.sh --- openrc-0.6.3/net/ifplugd.sh 2010-09-02 18:15:17.000000000 +0300 +++ openrc-0.6.4/net/ifplugd.sh 2010-11-15 18:17:17.000000000 +0200 @@ -27,8 +27,8 @@ ifplugd_pre_start() return 0 fi - # We don't work on bonded, bridges, tun/tap, vlan or wireless - for f in bond bridge tuntap vlan wireless; do + # We don't work on bonded, bridges, tun/tap or vlan + for f in bond bridge tuntap vlan; do if type "_is_${f}" >/dev/null 2>&1; then if _is_${f}; then veinfo "ifplugd does not work with ${f}" Reverting hank of comment#7 solves the problem. As there is no changelog I cannot know why someone thought ifplugd can handle wireless. Even if it does know how to handle wireless, it uses the old wireless extensions and not cfg8022. Please revert. (In reply to comment #8) > Reverting hank of comment#7 solves the problem. > As there is no changelog I cannot know why someone thought ifplugd can handle > wireless. Even if it does know how to handle wireless, it uses the old wireless > extensions and not cfg8022. > Please revert. Here is the commit that introduced this change. http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=4ea75dd1d6c1e475f103f027fd05861d237add4d The bug is bug #335494. So if I revert this, that bug comes back. Does ifplugd not work for wireless interfaces? If not I will do this revert. Thanks, William if as bug #335494 is correct, then when ifplugd detects the kill switch is off, it should run wpa_supplicant. (In reply to comment #10) > if as bug #335494 is correct, then when ifplugd detects the kill switch is off, > it should run wpa_supplicant. > Incorrect. ifplugd uses old wireless extensions and not suitable for newer cards that use cfg80211. Please revert. This has been reverted in the overlay, and this will be included in the next release. Thanks, William *** Bug 346197 has been marked as a duplicate of this bug. *** Should be kept open till there is a fix in the portage tree, as many people are not finding this bug report and making duplicates Should be kept open till there is a fix in the portage tree, as many people are not finding this bug report and making duplicates *** Bug 346259 has been marked as a duplicate of this bug. *** openrc-0.6.5 is in portage. |