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
Touch seeded packages, 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, 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.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to