New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samba: update to samba-4.x #1469
Conversation
Updated with the addition of |
I have a suggestion for this PR, the removal of the samba-autoshare script. A better approach is simply sharing /var/media as "Media" when SAMBA_AUTOSHARE=true. I can't see the point of creating a separate share on plugging a disk and restarting smbd each time, it's unnecessary complex. Here's the changes I did in my build: escalade@788161b There seems to be an issue with reported file size when Kodi uses libsmbclient from the updated version as well: https://forum.libreelec.tv/thread-302-post-42037.html#pid42037 Probably a good idea to test this PR properly :) |
I'd probably be more inclined to handle that as a separate PR, as I'm not convinced this change has legs right now.
Yes, already fixed in this PR - the escalade@788161b commit on your branch is out of date, you should re-pull this PR.
Unless we can resolve the anonymous access issue, and also the occasional thread locking issue (some kind of race condition?) I'm inclined to park this regardless of whatever it might fix. So far I've seen no evidence it actually fixes anything, and just causes more problems. |
Update to samba-4.6.1 due to security vulnerability: https://www.samba.org/samba/history/samba-4.6.1.html |
Updated to 4.6.2 which fixes a regression introduced by the 4.6.1 bug fix... |
Added a systemd commit.
When shutting down the system without the requirement on Adding the |
you can mount /var in initramfs: http://sprunge.us/DTLa and save yourself some pain. |
Thanks @stefansaraev - have dropped the systemd commit and added #1554 |
Re-added systemd commit as #1554 didn't work as expected due to systemd annoyances. |
When removing |
@mglae great thanks - that seems to work nicely! systemd patch removed, var.mount patch added. |
Build pre-requisite: if
fails then you need to install
sudo cpan JSON
sudo apt-get install libjson-perl
prior to building or thesamba
package will fail.Thanks @sraue and @koying for laying the ground work on this.
This PR has a dependency on LibreELEC/service.libreelec.settings#62 which needs to be merged and LE settings bumped when this goes in.