Public bug reported:

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:

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

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

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: config dhclient

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to