Package: arpwatch
Version: 2.1a15-2+b1
Severity: normal

Dear Maintainer,

I've just upgraded some little servers used as firewalls to stretch.

On reboot 'arpwatch' does not start up, and on logs i catch:

 May  7 18:32:41 fouc arpwatch: bad interface eth0: eth0: no IPv4 address 
assigned - assuming unconfigured interface
 May  7 18:32:41 fouc arpwatch[556]: Starting Ethernet/FDDI station monitor 
daemon: (chown arpwatch /var/lib/arpwatch/eth0.dat) arpwatch-eth0.
 May  7 18:32:41 fouc arpwatch: pcap open eth0: eth0: That device is not up
 May  7 18:32:42 fouc arpwatch: bad interface eth0.3: SIOCGIFADDR: eth0.3: No 
such device - assuming unconfigured interface
 May  7 18:32:42 fouc arpwatch[556]: Starting Ethernet/FDDI station monitor 
daemon: (chown arpwatch /var/lib/arpwatch/eth0.3.dat) arpwatch-eth0.3.
 May  7 18:32:42 fouc arpwatch: bad interface vlan99: SIOCGIFADDR: vlan99: No 
such device - assuming unconfigured interface
 May  7 18:32:42 fouc arpwatch[556]: Starting Ethernet/FDDI station monitor 
daemon: (chown arpwatch /var/lib/arpwatch/vlan99.dat) arpwatch-vlan99.
 May  7 18:32:42 fouc arpwatch: bad interface vlan11: SIOCGIFADDR: vlan11: No 
such device - assuming unconfigured interface
 May  7 18:32:42 fouc arpwatch[556]: Starting Ethernet/FDDI station monitor 
daemon: (chown arpwatch /var/lib/arpwatch/vlan11.dat) arpwatch-vlan11.
 May  7 18:32:42 fouc arpwatch: bad interface vlan22: SIOCGIFADDR: vlan22: No 
such device - assuming unconfigured interface
 May  7 18:32:42 fouc arpwatch[556]: Starting Ethernet/FDDI station monitor 
daemon: (chown arpwatch /var/lib/arpwatch/vlan22.dat) arpwatch-vlan22.
 May  7 18:32:42 fouc arpwatch: bad interface vlan191: SIOCGIFADDR: vlan191: No 
such device - assuming unconfigured interface
 May  7 18:32:42 fouc arpwatch[556]: Starting Ethernet/FDDI station monitor 
daemon: (chown arpwatch /var/lib/arpwatch/vlan191.dat) arpwatch-vlan191.
 May  7 18:32:42 fouc arpwatch: pcap open eth0.3: eth0.3: No such device exists 
(SIOCGIFHWADDR: No such device)
 May  7 18:32:42 fouc arpwatch: pcap open vlan99: vlan99: No such device exists 
(SIOCGIFHWADDR: No such device)
 May  7 18:32:42 fouc arpwatch: pcap open vlan11: vlan11: No such device exists 
(SIOCGIFHWADDR: No such device)
 May  7 18:32:42 fouc arpwatch: pcap open vlan22: vlan22: No such device exists 
(SIOCGIFHWADDR: No such device)
 May  7 18:32:42 fouc arpwatch: pcap open vlan191: vlan191: No such device 
exists (SIOCGIFHWADDR: No such device)

Seems to me simply that 'arpwatch' get started by systemd *BEFORE* interfaces 
get bought up, so simply does not find it.

After system booted, a:

        systemctl restart arpwatch

make arpwatch work again.


For now, i've added that on /etc/rc.local.


Thanks.

-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages arpwatch depends on:
ii  adduser     3.115
ii  libc6       2.24-11+deb9u4
ii  libpcap0.8  1.8.1-3

arpwatch recommends no packages.

arpwatch suggests no packages.

-- Configuration Files:
/etc/arpwatch.conf changed:
eth0    -Q
eth0.3  -Q
vlan99  -m root
vlan11  -m root
vlan22  -m root
vlan191 -m root


-- no debconf information

  • Bug#928647: arpwatch: systemd start arpwatch before interfac... Marco Gaiarin

Reply via email to