Description of problem: The man page of dhclient-script lists many 'hooks' scrips which are to be sourced during the various states of DHCP. They are not being executed. Version-Release number of selected component (if applicable): dhclient-4.1.1-5.fc12.x86_64 How reproducible: Always Steps to Reproduce: 1.make scripts as described in man pages 2.bring interfaces up 3.renew DHCP lease Actual results: Nothing Expected results: Scripts run Additional info: Man page says scripts are to be placed in /usr/local/etc/ but I tried /etc/ also just in case the man pages lie.
You are right Matt. Paths in man pages need fix. Correct path is /etc/dhcp/, so you can create one of these: /etc/dhcp/dhclient-${interface}-up-hooks /etc/dhcp/dhclient-${interface}-down-hooks /etc/dhcp/dhclient-up-hooks /etc/dhcp/dhclient-down-hooks /etc/dhcp/dhclient-enter-hooks /etc/dhcp/dhclient-exit-hooks To see in detail how these scripts are called look directly into /sbin/dhclient-script. Oh ... and maybe you will need to add DHCLIENTARGS=-nc to your /etc/sysconfig/network-scripts/ifcfg-${interface} (see. -nc option in man dhclient)
dhcp-4.1.1-9.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2763
Jiri, which man pages got updated? I see the note about fixing paths in man pages on koji, but I don't see where the man pages in the dhcp package even reference them. The man pages that need to be fixed are in the dhclient package, for which there is apparently no distinct component in bugzilla.
dhcp-4.1.1-9.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dhcp'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2763
(In reply to comment #3) > Jiri, which man pages got updated? I see the note about fixing paths in man > pages on koji, but I don't see where the man pages in the dhcp package even > reference them. The man pages that need to be fixed are in the dhclient > package, for which there is apparently no distinct component in bugzilla. I fixed dhclient-script(8) and dhcpd.conf(5). - dhclient-script is in dhclient package - dhcpd.conf is in dhcp package dhclient is subpackage of dhcp so in bugzilla it belongs to dhcp component. See the build http://koji.fedoraproject.org/koji/buildinfo?buildID=158653
Sorry Jiri, I must be losing my mind. I have *all* of the update now, and it looks good.
dhcp-4.1.1-9.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.