Linux - avahi-daemon: Falha ao localizar usuário 'avahi'

2

Estou com problemas ao executar o avahi-daemon 0.6.31 .

Eu também desinstalei e reinstalei novamente, mas sempre tenho erros na inicialização:

Jan 14 12:13:27  avahi-daemon[1773]: Failed to find user 'avahi'.
Jan 14 12:13:28  systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:13:28  systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:13:28  systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:42  avahi-daemon[4758]: Failed to find user 'avahi'.
Jan 14 12:24:42  systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:24:42  systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:24:42  systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:42  avahi-daemon[4773]: Failed to find user 'avahi'.
Jan 14 12:24:42  systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:24:43  systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:24:43  systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:43  avahi-daemon[4790]: Failed to find user 'avahi'.
Jan 14 12:24:43  systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:24:43  systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:24:43  systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:44  avahi-daemon[4812]: Failed to find user 'avahi'.
Jan 14 12:24:44  systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:24:44  systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:24:44  systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:45  avahi-daemon[4824]: Failed to find user 'avahi'.
Jan 14 12:24:45  systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:24:45  systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:24:45  systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:45  systemd[1]: start request repeated too quickly for avahi-daemon.service
Jan 14 12:24:45  systemd[1]: Unit avahi-daemon.socket entered failed state.
Jan 14 12:24:45  systemd[1]: avahi-daemon.service failed.

executando

systemctl status avahi-daemon.service

sempre retorna:

● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Thu 2016-01-14 12:24:45 UTC; 16min ago
  Process: 4824 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=255)
 Main PID: 4824 (code=exited, status=255)

Jan 14 12:24:44 systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Jan 14 12:24:45 avahi-daemon[4824]: Failed to find user 'avahi'.
Jan 14 12:24:45 systemd[1]: avahi-daemon.service: main process exited, code=exited, status=255/n/a
Jan 14 12:24:45 systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
Jan 14 12:24:45 systemd[1]: Unit avahi-daemon.service entered failed state.
Jan 14 12:24:45 systemd[1]: avahi-daemon.service failed.
Jan 14 12:24:45 systemd[1]: start request repeated too quickly for avahi-daemon.service
Jan 14 12:24:45 systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
Jan 14 12:24:45 systemd[1]: avahi-daemon.service failed.

enquanto o usuário e o grupo avahi estão em / etc / shadow e / etc / group .. Procurando na internet a mensagem de erro:

Failed to find user 'avahi'

não me retorna resultados muito úteis ..
O que poderia causar esse problema?

    
por simo-zz 14.01.2016 / 13:47

1 resposta

0

link isso corrigiu esse problema para mim.

Go edit /etc/avahi/avahi-daemon.conf
Find the line:
"#disallow-other-stacks=no"
and change to
"disallow-other-stacks=yes"

This flag is apparently what now causes avahi to attempt to use SO_REUSEPORT (and turning it to yes disables this new behavior.) The docs indicate this is some mechanism to accomodate nasty setups with more than one mdns handler on them at the same time.

    
por 27.10.2016 / 19:02

Tags