Ticket #162 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

segfault after avahi-daemon fails to open resolv.conf

Reported by: zml Assigned to: lennart
Priority: major Milestone: Avahi 0.6.22
Component: avahi-daemon Version:
Keywords: Cc:

Description

# avahi-daemon --debug --no-rlimits --no-drop-root avahi-daemon 0.6.21 starting up. WARNING: No NSS support for mDNS detected, consider installing nss-mdns! Failed to open /etc/resolv.conf: No such file or directory Loading service file /etc/avahi/services/sftp-ssh.service. Loading service file /etc/avahi/services/ssh.service. Joining mDNS multicast group on interface em1.IPv4 with address 169.254.4.86. New relevant interface em1.IPv4 for mDNS. Joining mDNS multicast group on interface em0.IPv4 with address 10.54.139.16. New relevant interface em0.IPv4 for mDNS. Network interface enumeration completed. Registering new address record for 169.254.4.86 on em1.IPv4. Registering new address record for 10.54.139.16 on em0.IPv4. zsh: segmentation fault (core dumped)

Patch attached.

Attachments

avahi_resolv_conf_segfault.patch (481 bytes) - added by zml on 08/24/07 17:57:24.

Change History

08/24/07 17:57:24 changed by zml

  • attachment avahi_resolv_conf_segfault.patch added.

08/26/07 01:25:20 changed by lennart

  • status changed from new to closed.
  • resolution set to fixed.

(In [1525]) Don't segfault when no browse domains are configured in resolv.conf. Original patch from zml. Closes #162

08/26/07 02:50:03 changed by lennart

  • milestone set to Avahi 0.6.22.