[Samba] turned on log level = 10 . . . no logs

Reindl Harald h.reindl at thelounge.net
Sun Oct 2 21:44:10 UTC 2016

Am 02.10.2016 um 22:53 schrieb Bob of Donelson Trophy via samba:
> To close the subject line "turned on log level = 10 . . . no logs" I
> discovered that while running an ssd I had redirected /var/log/* to
> tmpfs to reduce the writes to and from the ssd. Disabling this
> redirection in /etc/fstab and "mkdir /var/log/samba/" and now samba is
> logging normally

well, or ensure that at startup subfolders mith the correct owner exists 
- /run is also a tmpfs which needs subfolders and hence 
https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html was invited

besides that store logfiles in memory is more than just questionable - 
have fun debugging crashes when your logs are always gone

More information about the samba mailing list