[Bug 1774342] [NEW] /lib/systemd/system/isc-dhcp-server.service $INTERFACES variable

JOSE CARLOS MARTIN IGLESIAS 1774342 at bugs.launchpad.net
Thu May 31 07:03:00 UTC 2018


Public bug reported:

package: isc-dhcp-server

/etc/default/isc-dhcp-server define the variables INTERFACESv4 and
INTERFACESv6 for define listening network interface, but
/lib/systemd/system/isc-dhcp-server.service and /lib/systemd/system/isc-
dhcp-server6.service use the variable INTERFACES (exec dhcpd -user dhcpd
-group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE
$INTERFACES'). This causes the service to listen on all interfaces.

The correct way would be for /lib/systemd/system/isc-dhcp-server.service:
......
 exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACESv4'
......

for /lib/systemd/system/isc-dhcp-server.service:
......
exec dhcpd -user dhcpd -group dhcpd -f -6 -pf /run/dhcp-server/dhcpd6.pid -cf $CONFIG_FILE $INTERFACESv6'
.........

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

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

Title:
  /lib/systemd/system/isc-dhcp-server.service $INTERFACES variable

Status in isc-dhcp package in Ubuntu:
  New

Bug description:
  package: isc-dhcp-server

  /etc/default/isc-dhcp-server define the variables INTERFACESv4 and
  INTERFACESv6 for define listening network interface, but
  /lib/systemd/system/isc-dhcp-server.service and /lib/systemd/system
  /isc-dhcp-server6.service use the variable INTERFACES (exec dhcpd
  -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf
  $CONFIG_FILE $INTERFACES'). This causes the service to listen on all
  interfaces.

  The correct way would be for /lib/systemd/system/isc-dhcp-server.service:
  ......
   exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACESv4'
  ......

  for /lib/systemd/system/isc-dhcp-server.service:
  ......
  exec dhcpd -user dhcpd -group dhcpd -f -6 -pf /run/dhcp-server/dhcpd6.pid -cf $CONFIG_FILE $INTERFACESv6'
  .........

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



More information about the foundations-bugs mailing list