Bug 229620 - net/samba48: If avahi support is enabled have samba_server rc require avahi_daemon
Summary: net/samba48: If avahi support is enabled have samba_server rc require avahi_d...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-09 00:53 UTC by Derek Schrock
Modified: 2019-08-25 05:16 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments
net/samba48 patch to require avahi_daemon (2.00 KB, patch)
2018-07-09 00:59 UTC, Derek Schrock
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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