Public bug reported:

For networked systems, for instance booting with an iSCSI root, dhclient
writes an output file in the form of /run/net-<iface>.conf that contains
data for other programs to consume. This allows, for instance, open-
iscsi to get the right information and properly connect to the server to
mount the root filesystem.

It is common for DHCP servers to only provide a domain name value, and
no search domains. In this case, isc-dhcp doesn't currently write
DOMAINSEARCH, but people may wish to use short names to resolve things
(such as in iSCSI server).

In the not-initramfs dhclient-script, when domain_search isn't provided
but domain_name is, domain_name is written to the search string. If both
are provided, domain_search is written. The initramfs enter hook should
do the same.

** Affects: isc-dhcp (Ubuntu)
     Importance: High
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
         Status: In Progress

** Affects: isc-dhcp (Ubuntu Xenial)
     Importance: High
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
         Status: In Progress

** Affects: isc-dhcp (Ubuntu Zesty)
     Importance: High
         Status: Triaged

** Also affects: isc-dhcp (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: isc-dhcp (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: isc-dhcp (Ubuntu)
       Status: New => In Progress

** Changed in: isc-dhcp (Ubuntu)
   Importance: Undecided => High

** Changed in: isc-dhcp (Ubuntu)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: isc-dhcp (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: isc-dhcp (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: isc-dhcp (Ubuntu Zesty)
   Importance: Undecided => High

** Changed in: isc-dhcp (Ubuntu Xenial)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: isc-dhcp (Ubuntu Zesty)
       Status: New => Triaged

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

Title:
  missing DOMAINSEARCH in initramfs output files if the DHCP server
  doesn't provide one

Status in isc-dhcp package in Ubuntu:
  In Progress
Status in isc-dhcp source package in Xenial:
  In Progress
Status in isc-dhcp source package in Zesty:
  Triaged

Bug description:
  For networked systems, for instance booting with an iSCSI root,
  dhclient writes an output file in the form of /run/net-<iface>.conf
  that contains data for other programs to consume. This allows, for
  instance, open-iscsi to get the right information and properly connect
  to the server to mount the root filesystem.

  It is common for DHCP servers to only provide a domain name value, and
  no search domains. In this case, isc-dhcp doesn't currently write
  DOMAINSEARCH, but people may wish to use short names to resolve things
  (such as in iSCSI server).

  In the not-initramfs dhclient-script, when domain_search isn't
  provided but domain_name is, domain_name is written to the search
  string. If both are provided, domain_search is written. The initramfs
  enter hook should do the same.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1713747/+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