- 
                Notifications
    
You must be signed in to change notification settings  - Fork 25
 
Open
Description
I use this container to share my media directories with Kodi that runs on a Raspberry Pi on LibreELEC.
I have tried several share configurations and cannot make the directories discoverable.
From what I've found on the interwebs, I think it needs to have the Avahi daemon running and added a service for NFS, like this:
<service-group>                                                                    
  <name replace-wildcards="yes">NFS share on %h</name>                                   
  <service>
    <type>_nfs._tcp</type>
    <port>2049</port>
    <txt-record>path=/exports</txt-record>
  </service>
</service-group>
Enabling the avahi daemon on this image just results in some warnings and it exits:
bash-4.3# avahi-daemon 
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.6.32 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
WARNING: Failed to contact D-Bus daemon.
avahi-daemon 0.6.32 exiting.
The share options I've tried are:
rw,fsid=root,no_subtree_check,nohide,insecure
rw,sync,no_root_squash,no_all_squash,no_subtree_check,nohide,insecure
rw,no_subtree_check,nohide,insecure
rw,sync,no_root_squash,no_all_squash,no_subtree_check
None of these seem to enable the auto discovery.
I've asked for help on the LibreELEC forum, but got no reply.
I'd love for this image to have that option, but I'm not sure what else to try.
Metadata
Metadata
Assignees
Labels
No labels