Bug 229620

Summary: net/samba48: If avahi support is enabled have samba_server rc require avahi_daemon
Product: Ports & Packages Reporter: Derek Schrock <dereks>
Component: Individual Port(s)Assignee: Timur I. Bakeyev <timur>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (timur)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
net/samba48 patch to require avahi_daemon none

Description Derek Schrock 2018-07-09 00:53:32 UTC
If you're building samba (4.8 in this case) with Avahi support samba should start after avahi_daemon.

This is important for the 4.8 Time Machine feature.  Normal Time Machine configuration uses avahi to find Time Machine volumes.

It appears during startup if samba starts before avahi-daemon _smb._tcp and _adisk._tcp (timemachine) are not registered.  Restarting samba_server will register these services.

If this is the correct direction for avahi support then I can also produce a patch for all supported net/samba4X ports.
Comment 1 Derek Schrock 2018-07-09 00:59:13 UTC
Created attachment 194970 [details]
net/samba48 patch to require avahi_daemon

Patch for net/samba48 to require avahi_daemon if avahi support is enabled.
If acceptable I can produce a patch for 46 and 47
Comment 2 Derek Schrock 2019-08-25 05:16:10 UTC
Fixed by r492474