Ticket #52 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Static services get unpublished with SIGHUP

Reported by: yaegashi <yaegashi@…> Owned by: lennart
Milestone: Avahi 0.6.13 Component: avahi-daemon
Keywords: Cc:

Description

How to reproduce (with  Avahi 0.6.11 Debian package):

% sudo cp /usr/share/doc/avahi-daemon/examples/ssh.service /etc/avahi/services
% sudo /etc/init.d/avahi-daemon start
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
% avahi-browse -at
+ eth0 IPv4 arwen [00:16:3e:3c:f9:e8]                     Workstation          local
+ eth0 IPv4 Remote Terminal on arwen                      SSH Remote Terminal  local
% sudo avahi-daemon -r
% avahi-browse -at
+ eth0 IPv4 arwen [00:16:3e:3c:f9:e8]                     Workstation          local

The problem seems still outstanding in the trunk. avahi-daemon removes all registered static services just after adding them in signal_callback() of [source:trunk/avahi-daemon/main.c main.c] when SIGHUP received.

Change History

Changed 7 years ago by lennart

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

(In [1249]) don't remove static services from the avahi daemon on SIGHUP. Add static hosts properly to avahi daemon on SIGHUP. (closes #52)

Changed 7 years ago by lennart

  • milestone set to Avahi 0.6.13
Note: See TracTickets for help on using tickets.