[Pkg-utopia-maintainers] Bug#856311: avahi-daemon: Won't start due to rlimit nproc, confused by lxc containers

Matthew Gabeler-Lee cheetah at fastcat.org
Mon Feb 27 15:35:18 UTC 2017


Package: avahi-daemon
Version: 0.6.32-2
Severity: normal

On one of my systems, avahi-daemon can't start due to its default rlimit-nproc value of 3.

In my case this seems to be because an lxc container running on this host is
using the same uid for avahi as the host system, but for a different
function.  Even if it was using it for the same function, the rlimit-nproc
is enforcing in the wrong scope it seems.

Feb 27 10:28:34 hostname avahi-daemon[23274]: Found user 'avahi' (UID 104) and group 'avahi' (GID 110).
Feb 27 10:28:34 hostname avahi-daemon[23274]: Successfully dropped root privileges.
Feb 27 10:28:34 hostname avahi-daemon[23274]: chroot.c: fork() failed: Resource temporarily unavailable
Feb 27 10:28:34 hostname avahi-daemon[23274]: failed to start chroot() helper daemon.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages avahi-daemon depends on:
ii  adduser              3.115
ii  bind9-host [host]    1:9.10.3.dfsg.P4-12
ii  dbus                 1.10.16-1
ii  host                 1:9.10.3.dfsg.P4-12
ii  init-system-helpers  1.47
ii  libavahi-common3     0.6.32-2
ii  libavahi-core7       0.6.32-2
ii  libc6                2.24-9
ii  libcap2              1:2.25-1
ii  libdaemon0           0.14-6
ii  libdbus-1-3          1.10.16-1
ii  libexpat1            2.2.0-2
ii  lsb-base             9.20161125

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.10-8

Versions of packages avahi-daemon suggests:
pn  avahi-autoipd  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list