Page MenuHomePhabricator

DHCP Proxy wpad url can not be configured
Closed, ResolvedPublicBUG

Description

Reported by user via Slack

set service dhcp-server shared-network-name ELEVES subnet 172.22.132.0/24 wpad-url 'http://172.22.254.201'

Results in

Apr 10 16:47:54 39-FRW01 dhcpd: /etc/dhcp/dhcpd.conf line 25: unknown option dhcp.wpad-url
Apr 10 16:47:54 39-FRW01 dhcpd:         option wpad-url ""
Apr 10 16:47:54 39-FRW01 dhcpd:                 ^
Apr 10 16:47:54 39-FRW01 dhcpd: Configuration file errors encountered -- exiting
Apr 10 16:47:54 39-FRW01 dhcpd:
Apr 10 16:47:54 39-FRW01 dhcpd: If you think you have received this message due to a bug rather
Apr 10 16:47:54 39-FRW01 dhcpd: than a configuration issue please read the section on submitting
Apr 10 16:47:54 39-FRW01 dhcpd: bugs on either our web page at www.isc.org or in the README file
Apr 10 16:47:54 39-FRW01 dhcpd: before submitting a bug.  These pages explain the proper
Apr 10 16:47:54 39-FRW01 dhcpd: process and the information we find helpful for debugging..
Apr 10 16:47:54 39-FRW01 dhcpd:
Apr 10 16:47:54 39-FRW01 dhcpd: exiting.
Apr 10 16:47:54 39-FRW01 dhcpd: /etc/dhcp/dhcpd.conf line 25: unknown option dhcp.wpad-url
Apr 10 16:47:54 39-FRW01 dhcpd:         option wpad-url ""
Apr 10 16:47:54 39-FRW01 dhcpd:                 ^
Apr 10 16:47:54 39-FRW01 dhcpd: Configuration file errors encountered -- exiting
Apr 10 16:47:54 39-FRW01 dhcpd:
Apr 10 16:47:54 39-FRW01 dhcpd: If you think you have received this message due to a bug rather
Apr 10 16:47:54 39-FRW01 dhcpd: than a configuration issue please read the section on submitting
Apr 10 16:47:54 39-FRW01 dhcpd: bugs on either our web page at www.isc.org or in the README file
Apr 10 16:47:54 39-FRW01 dhcpd: before submitting a bug.  These pages explain the proper
Apr 10 16:47:54 39-FRW01 dhcpd: process and the information we find helpful for debugging..
Apr 10 16:47:54 39-FRW01 dhcpd:
Apr 10 16:47:54 39-FRW01 dhcpd: exiting.
Apr 10 16:47:54 39-FRW01 systemd[1]: isc-dhcp-server.service: control process exited, code=exited status=1
Apr 10 16:47:54 39-FRW01 systemd[1]: Failed to start LSB: DHCP server.
Apr 10 16:47:54 39-FRW01 systemd[1]: Unit isc-dhcp-server.service entered failed state.

Reason is a bug in the dhcp Python script

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0
Why the issue appeared?
Implementation mistake

Event Timeline

c-po created this task.Apr 10 2019, 3:07 PM
c-po claimed this task.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed the task status from Open to Needs testing.Apr 10 2019, 3:16 PM
c-po updated the task description. (Show Details)
c-po renamed this task from DHCP Procx wpad url can not be configured to DHCP Proxy wpad url can not be configured.Apr 10 2019, 3:20 PM
c-po moved this task from Need Triage to VyOS 1.2.1 on the VyOS 1.2 Crux board.
c-po edited projects, added VyOS 1.2 Crux (VyOS 1.2.1); removed VyOS 1.2 Crux.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.1) board.
c-po closed this task as Resolved.