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

2018-05-31 Thread JOSE CARLOS MARTIN IGLESIAS
package isc-dhcp-server version 4.3.5-3ubuntu7

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

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

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

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

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

2018-05-31 Thread JOSE CARLOS MARTIN IGLESIAS
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774342

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

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

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