Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTERFACES default option deprecated on Debian 9 #177

Closed
mainvoid opened this issue Mar 11, 2018 · 0 comments · Fixed by #189
Closed

INTERFACES default option deprecated on Debian 9 #177

mainvoid opened this issue Mar 11, 2018 · 0 comments · Fixed by #189

Comments

@mainvoid
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: PE 2017.3
  • Ruby: PE ruby
  • Distribution: Debian 9 (stretch)
  • Module version: 3.2.0

How to reproduce (e.g Puppet code you use)

Configure IPv4 range to be served from a Debian 9 system.

What are you seeing

/etc/default/isc-dhcp-server contains an INTERFACES variable. Latest versions appear to have split that up between INTERFACESv4 and INTERFACESv6 so one may server each on differing interfaces as required.

What behaviour did you expect instead

Expected running servive, but systemd sees it as a failure.

Output log

Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop systemd[1]: Stopping LSB: DHCP server...
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop isc-dhcp-server[16583]: Stopping ISC DHCPv4 server: dhcpd.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop systemd[1]: Stopped LSB: DHCP server.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop systemd[1]: Starting LSB: DHCP server...
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop isc-dhcp-server[16596]: DHCPv4 interfaces are no longer set by the INTERFACES variable in
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop isc-dhcp-server[16596]: /etc/default/isc-dhcp-server. Please use INTERFACESv4 instead.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop isc-dhcp-server[16596]: Migrating automatically for now, but this will go away in the futu
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop isc-dhcp-server[16596]: Launching IPv4 server only.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: Internet Systems Consortium DHCP Server 4.3.5
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: Copyright 2004-2016 Internet Systems Consortium.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: All rights reserved.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: For info, please visit https://www.isc.org/software/dhcp/
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: Wrote 0 deleted host decls to leases file.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: Wrote 0 new dynamic host decls to leases file.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:20 desktop dhcpd[16607]: Wrote 29 leases to leases file.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:22 desktop isc-dhcp-server[16596]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ...
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:22 desktop isc-dhcp-server[16596]: failed!
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:22 desktop systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:22 desktop systemd[1]: Failed to start LSB: DHCP server.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:22 desktop systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Mar 11 20:46:22 desktop puppet-agent[16440]: (/Stage[main]/Dhcp/Service[isc-dhcp-server]) Mar 11 20:46:22 desktop systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.

Any additional information you'd like to impart

vStone added a commit to vStone/voxpupuli-puppet-dhcp that referenced this issue Jul 26, 2018
Since stretch, the /etc/defaults/isc-dhcp-server entry for the
interfaces to listen on has changed to INTERFACESv4. This change
reflects that.

Fixes voxpupuli#177 and closes voxpupuli#185
vStone added a commit to vStone/voxpupuli-puppet-dhcp that referenced this issue Jul 26, 2018
Since stretch, the /etc/default/isc-dhcp-server entry for the
interfaces to listen on has changed to INTERFACESv4. This change
reflects that.

Fixes voxpupuli#177 and closes voxpupuli#185
vStone added a commit to vStone/voxpupuli-puppet-dhcp that referenced this issue Jul 26, 2018
Since stretch, the /etc/default/isc-dhcp-server entry for the
interfaces to listen on has changed to INTERFACESv4. This change
reflects that.

Fixes voxpupuli#177 and closes voxpupuli#185
vStone added a commit to vStone/voxpupuli-puppet-dhcp that referenced this issue Jul 26, 2018
Since stretch, the /etc/default/isc-dhcp-server entry for the
interfaces to listen on has changed to INTERFACESv4. This change
reflects that.

Fixes voxpupuli#177 and closes voxpupuli#185
cegeka-jenkins pushed a commit to cegeka/puppet-dhcp that referenced this issue Jun 26, 2020
Since stretch, the /etc/default/isc-dhcp-server entry for the
interfaces to listen on has changed to INTERFACESv4. This change
reflects that.

Fixes voxpupuli#177 and closes voxpupuli#185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant