Existe uma maneira de fazer com que um pacote de bugs funcione no debian stretch?

1

Eu preciso instalar isc-dhcp-server no debian stretch, mas o pacote não pode ser instalado corretamente.

apt-listbugs list isc-dhcp-server :

 #867362 - isc-dhcp-server: DHCP server does not start after upgrade to Stretch

Depois de instalar o pacote

# systemctl status isc-dhcp-server

● isc-dhcp-server.service - LSB: DHCP server
   Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-10-05 11:47:47 UTC; 2min 52s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5416 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)

oct. 05 11:47:45 stretch isc-dhcp-server[5416]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc
oct. 05 11:47:45 stretch dhcpd[5427]: irs_resconf_load failed: 59.
oct. 05 11:47:45 stretch dhcpd[5427]: Unable to set resolver from resolv.conf; startup continuing but DDNS support may be affected
oct. 05 11:47:45 stretch dhcpd[5427]: Wrote 0 leases to leases file.
oct. 05 11:47:47 stretch isc-dhcp-server[5416]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
oct. 05 11:47:47 stretch isc-dhcp-server[5416]:  failed!
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
oct. 05 11:47:47 stretch systemd[1]: Failed to start LSB: DHCP server.
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Unit entered failed state.
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.

Instalar o pacote da fonte (versão 4.3.6) não pode resolver o problema. Existe uma maneira de instalar isc-dhcp-server no debian stretch?

journalctl | grep isc-dhcp-server :

oct. 05 11:45:09 stretch isc-dhcp-server[5288]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc-dhcp-server if you only want one or the other).
oct. 05 11:45:12 stretch isc-dhcp-server[5288]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
oct. 05 11:45:12 stretch isc-dhcp-server[5288]:  failed!
oct. 05 11:45:12 stretch systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
oct. 05 11:45:11 stretch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=isc-dhcp-server comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
oct. 05 11:45:12 stretch systemd[1]: isc-dhcp-server.service: Unit entered failed state.
oct. 05 11:45:12 stretch systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
oct. 05 11:47:45 stretch isc-dhcp-server[5416]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc-dhcp-server if you only want one or the other).
oct. 05 11:47:47 stretch isc-dhcp-server[5416]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
oct. 05 11:47:47 stretch isc-dhcp-server[5416]:  failed!
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
oct. 05 11:47:47 stretch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=isc-dhcp-server comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Unit entered failed state.
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.

systemctl list-units --state=failed :

  UNIT                    LOAD   ACTIVE SUB    DESCRIPTION                                        
● dnsmasq.service         loaded failed failed dnsmasq - A lightweight DHCP and caching DNS server
● isc-dhcp-server.service loaded failed failed LSB: DHCP server                                   
    
por GAD3R 05.10.2017 / 13:55

1 resposta

2

Eu tenho usado os pacotes oficiais do ISC DHCPd Debian em Stretch sem systemd, e tenho usado no Debian e atualizado esse cluster DHCP em particular desde o Debian 6 sem muitos problemas.

Quanto ao Stretch, eu tenho usado o isc-dhcp nele por mais de um ano, eu acho , já que migrei anteriormente para aproveitar novas versões, em vez de montar um deb do meu próprio . (Eu tinha alguns motivos relacionados aos clientes DHCP do Windows)

Como normalmente esse tipo de serviço deveria estar sozinho em uma máquina, sugiro fazer uma exceção e ter um servidor Debian com os utilitários init sysV.

Para isso, você pode fazer:

sudo apt-get install  sysvinit-core sysvinit 
    
por 05.10.2017 / 14:40