[Bug 1790644] Re: dhclient fails to apply custom config outside of the /etc/dhcp directory

Peter Johnson 1790644 at bugs.launchpad.net
Tue Sep 4 16:10:34 UTC 2018


*** This bug is a duplicate of bug 1704174 ***
    https://bugs.launchpad.net/bugs/1704174

** This bug has been marked a duplicate of bug 1704174
   update apparmor rules to include wicd's dhclient.conf file

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1790644

Title:
  dhclient fails to apply custom config outside of the /etc/dhcp
  directory

Status in isc-dhcp package in Ubuntu:
  New

Bug description:
  1.)

  Ubuntu 14.04.1 LTS

  2.)

  Package version:

  isc-dhcp-client 4.2.4-7ubuntu12.13

  3.)

  I have attempted to run dhclient using the '-cf' option to pass the
  path to a custom configuration file in '/etc'. My custom configuration
  differs from the default as it does not request a default router
  gateway for the interface.

  i.e.

  dhclient -v -cf /etc/my_config.conf eth0

  4.)

  I would have expected that dhclient uses the configuration file in
  '/etc' as the path is valid.

  5.)

  Instead, I observe that a default configuration is being used, i.e.
  the router option is still being requested. I re-attempted the test
  but this time placing the new configuration file in '/etc/dhcp' and
  rerun the client:

   dhclient -v -cf /etc/dhcp/my_config.conf eth0

  On this occasion, I observed that my custom config is being applied.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1790644/+subscriptions



More information about the foundations-bugs mailing list