The vfs_fruit module supports Apple extensions for Samba shares. Aspects of vfs_fruit require mdns functionality (provided by avahi-daemon). However, vanilla firewall implementations may block mdns traffic, causing vfs_fruit to fail in non-obvious ways. The vfs_fruit documentation must note the requirement that any firewall be configured to allow mdns. If appropriate, an example command line could be shown, such as "firewall-cmd --permanent --zone=public --add-service=mdns"; but I recognize this may be problematic given the variety of firewalld implementations that may use different command lines. In my case, with the firewall blocking mdns without my realizing it, vfs_fruit would work for a minute or two and then fail. Restarting smbd or avahi (doing either would work) would restore functionality for another minute or two. No errors were logged by either smbd or avahi-daemon that gave a clue to the problem. It would have been a godsend to see some discussion of the mdns firewall requirement in the vfs_fruit documentation.
*** Bug 13324 has been marked as a duplicate of this bug. ***