(2017-07-11, 11:53)macnb Wrote: Yes ! That build works. LIBREELEC server is visible as soon as it boots up. Thanks.
Good, thanks.
(2017-07-11, 11:53)macnb Wrote: Matter of interest, what was the problem and what did you do to fix it ?
You probably have more partitions in your system than most who run LibreELEC.
At bootup, as each partition is "seen" by udev, the new partition is mounted (/var/media/<blah>) and - if Samba auto-sharing is enabled - the partition is automatically shared by Samba.
In order for Samba to share the new partition the smbd/nmbd/samba-config services must be restarted and the new partition added to the Samba configuration. This means that smbd, nmbd and the samba-config service will be restarted up to 6 times in your case, once for each partition (/flash, /storage plus /dev/sda[2,4,5,6]).
There is a "5 restarts within 10 seconds" default limit in systemd (to prevent units/services going nuts) and unfortunately you were exceeding the 5 restart limit which resulted in the samba-config service eventually failing, which then caused the smbd and nmbd services to fail as they're both dependent on the failed samba-config service. Manually running "smbd" at the command line started the smbd daemon but you'd be missing 1 or 2 shares and nmbd would not be running (no NetBIOS support).
Both smbd and nmbd services already had this restart limit disabled, but samba-config did not.
Disabling the restart limit on the samba-config service fixes the issue (and will be backported to the next LE8 official release) - thanks for reporting!