ServerContainers/samba

/etc/avahi/services/samba.service

thielj opened this issue · 1 comments

thielj commented

Hi,

I believe the 2nd <service> section should be within the group:
 

/etc/avahi/services # cat samba.service
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
 <name replace-wildcards="yes">Samba File Server</name>
 <service>
   <type>_smb._tcp</type>
   <port>445</port>
 </service>
</service-group>
 <service>
  <type>_device-info._tcp</type>
  <port>0</port>
  <txt-record>model=TimeCapsule</txt-record>
 </service>
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.8 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
Loading service file /services/samba.service.
XML_ParseBuffer() failed at line 10: junk after document element.

Failed to load service group file /services/samba.service, ignoring.

thank you for noticing - occurred because the avahi configuration was split, so the model config was separated from a timemachine setup