Re: Are the scripts in /etc/dhcp/dhclient.d deprecated?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/26/2010 04:12 PM, Robert Nichols wrote:
> On 03/26/2010 10:23 AM, Aaron Konstam wrote:
>> On Thu, 2010-03-25 at 16:28 -0500, Robert Nichols wrote:
>>> When dhclient is invoked from NetworkManager, it does not appear that the
>>> scripts in /etc/dhcp/dhclient.d are executed.  The callout to those
>>> scripts is in /sbin/dhclient-script, but NetworkManager substitutes its
>>> own /usr/libexec/nm-dhcp-client.action in place of dhclient-script, and
>>> the scripts do not get invoked.
>>>
>>> How are the functions in the dhclient.d scripts supposed to be preformed
>>> now?
>>>
>>> --
>>> Bob Nichols     "NOSPAM" is really part of my email address.
>>>                    Do NOT delete it.
>>>
>>
>> This is a question for the network-manager list at:
>> networkmanager-list@xxxxxxxxx
>>
>> I thought we had gotten passed the "network is better than
>> networkmanager" debate  but I guess not. NM is so much better for>90%
>> of users but there are always diehards out there. But it is true that
>> good  documentation for NM is lacking.
>
> Thanks for the list pointer.  I'll try there.

And now I am quite embarrassed because the answer can be found in, of all
places, the manpage for NetworkManager.  There's not a whole lot of info
in that manpage, but it does cover in detail how scripts in
/etc/NetworkManager/dispatcher.d get executed when an interface changes
state, and in particular how data from DHCP options is made available,
which is exactly what I need.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux