View previous topic :: View next topic |
Author |
Message |
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Jan 11, 2016 11:12 am Post subject: "Some dhcpcd hooks are now examples" |
|
|
https://gentoo.org/support/news-items/2016-01-08-some-dhcpcd-hooks-are-now-examples.html wrote: | Title: Some dhcpcd hooks are now examples
Author: William Hubbs <williamh@gentoo.org>
Content-Type: text/plain
Posted: 2016-01-08
Revision: 2
News-Item-Format: 1.0
Display-If-Installed: <=net-misc/dhcpcd-6.10.0
In dhcpcd-6.10.0, the following hooks are no longer installed in
/lib/dhcpcd/dhcpcd-hooks by default:
10-wpa_supplicant
15-timezone
29-lookup-hostname
These are now installed in /usr/share/dhcpcd/hooks, which is an example
directory.
If you were using these hooks before you upgrade to 6.10.0, you will
need to copy them back to the /lib/dhcpcd/dhcpcd-hooks directory after the
upgrade. |
This news item recommends copying files manually into /lib/dhcpcd/dhcpcd-hooks?
After doing so it starts working again. But, couldn't this be done better automatically by using appropriate USE flags in the ebuild? |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Thu Jan 14, 2016 8:28 am Post subject: Re: "Some dhcpcd hooks are now examples" |
|
|
charles17 wrote: | This news item recommends copying files manually into /lib/dhcpcd/dhcpcd-hooks?
After doing so it starts working again. But, couldn't this be done better automatically by using appropriate USE flags in the ebuild? |
USE flags that don't affect what is delivered, are frowned upon/banned by policy depending on whom you talk with, and whether they want to ignore the policy for situation X.
So in general, no; I'd check the upstream dhcpcd codebase if I were you. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat Jan 16, 2016 1:46 pm Post subject: Re: "Some dhcpcd hooks are now examples" |
|
|
UberLord wrote: | We would find that the Gentoo ebuild and news item are just reflecing upstream at this point. |
Cool, that's pretty much what I expected. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Wed Mar 23, 2016 12:14 pm Post subject: |
|
|
Means with those patches applied, no more need to copy the example hooks but should have wpa_supplicant started as a service?
Then the wiki article needs to be adjusted for next release.
Without epatch_user support in the ebuild I'll prefer waiting for a next wpa_suplicant release. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Wed Mar 23, 2016 2:47 pm Post subject: |
|
|
Thanks for clarification and for all your brilliant work.
Would this change also affect dhcpcd-ui? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Oct 08, 2016 6:39 am Post subject: |
|
|
UberLord wrote: | I have no idea when that would be, and I would likely forget so I posted this here once the patches were accepted upstream. | Are the changes included in wpa_supplicant-2.6? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Oct 10, 2016 5:43 pm Post subject: |
|
|
bug 596606
Will there be any need for running wpa_supplicant as a service then? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Dec 19, 2016 3:24 pm Post subject: |
|
|
UberLord wrote: | CONFIG_MATCH_IFACE=yes
is needed to build support in for it though, so the ebuild will probably need to be modified. | Maybe I could start a pull request for this.
Should it be activated unconditionally or does it need an additional USE flag? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3462 Location: Canada
|
Posted: Sun Jul 02, 2017 10:52 pm Post subject: |
|
|
A stupid question, does one still need to run dhcpcd as an initi service ? I.e am I to not copying the hook, but running both dhcpcd and wpa_supplicant (with M option) as services ? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3462 Location: Canada
|
Posted: Fri Jul 07, 2017 3:42 pm Post subject: |
|
|
UberLord wrote: | You run both as a service. |
Thx, works nicely ! |
|
Back to top |
|
|
|