Package: ifupdown
Version: 0.8.11
Severity: important

Hi.

Since quite a while already (but after we've discussed that in another bug)
I have one particular case again in which a daemon, that is configured to
bind to particular addresses fails to start, because when it does, the
address is apparently configured.

Apr 22 15:25:28 kronecker sks[825]: Starting sks daemons: sksdb.. sksrecon.. 
done.
Apr 22 15:25:28 kronecker systemd[1]: Started sks.service.
...
Apr 22 15:25:28 kronecker sks[825]: 2016-04-22 15:25:28 Failed to listen on 
1.2.3.4:11370: Failure("Failure while binding socket.  Probably another socket 
bound to this address")
Apr 22 15:25:28 kronecker sks[825]: 2016-04-22 15:25:28 Failed to listen on 
a:b:c:d::1:2:11370: Failure("Failure while binding socket.  Probably another 
socket bound to this address")
Apr 22 15:25:28 kronecker sks[825]: Fatal error: exception Failure("Could not 
listen on any address.")


IIRC, this didn't come with an upgrade of ifupdown (but maybe I'm wrong), so
perhaps there are still some timing issues or it was due to a chance in systemd?

Last time we've had discussed issues like these, the resolution, AFAIR, was
to use auto/allow-auto, right?
This is the case, i.e. lo and eth0 (on which the addresses above are set is 
brought
up with allow-auto).

Interestingly, sks runs two daemons (or better said the same one in two modes,
db and recon)... db always succeeds to start up, while recon always
fails.

Any ideas?

Chris.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages ifupdown depends on:
ii  adduser              3.114
ii  init-system-helpers  1.29
ii  iproute2             4.3.0-1+b1
ii  libc6                2.22-7
ii  lsb-base             9.20160110

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.3.4-1

Versions of packages ifupdown suggests:
ii  ppp     2.4.7-1+2
pn  rdnssd  <none>

-- debconf information:
  ifupdown/convert-interfaces: true

Reply via email to