[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 13:55:06 UTC 2018


** Description changed:

  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, what I observer if that a default configuration is being used,
- i.e. I observer that 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:
+ 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
+  dhclient -v -cf /etc/dhcp/my_config.conf eth0
  
  On this occasion, I observed that my custom config is being applied.

-- 
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