General question if RAMLOG is enabled, is there a possiblity to include also syslog in it, currently its only visible in full log option. Could rsyslog be enabled by default and /var/log mounted as tmpfs, and writtent to disk on reboot ?
I also noticed Samba logging has some permission problems on /var/log/samba/cores
syslog shows;
Sep 14 10:21:22 Odroid-C2 nmbd[476]: Starting NetBIOS name server: nmbdinvalid permissions on directory ‘/var/log/samba/cores’: has 0775 should be 0700
Sep 14 10:21:22 Odroid-C2 nmbd[476]: Failed to create /var/log/samba/cores for user 0 with mode 0700
Sep 14 10:21:22 Odroid-C2 nmbd[476]: Unable to setup corepath for nmbd: Success
and samba log; Copyright Andrew Tridgell and the Samba Team 1992-2014
[2016/09/14 10:21:23.189746, 0] …/lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon ‘smbd’ finished starting up and ready to serve connections
Unable to connect to CUPS server localhost:631 - Bad file descriptor
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Unable to connect to CUPS server localhost:631 - Bad file descriptor
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2016/09/14 10:22:42.795436, 0] …/lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2016/09/14 10:22:44, 0] …/lib/util/util.c:285(directory_create_or_exist_strict)
invalid permissions on directory ‘/var/log/samba/cores’: has 0775 should be 0700
[2016/09/14 10:22:44, 0] …/source3/lib/dumpcore.c:59(get_default_corepath)
Failed to create /var/log/samba/cores for user 0 with mode 0700
[2016/09/14 10:22:44, 0] …/source3/lib/dumpcore.c:250(dump_core_setup)
Unable to setup corepath for smbd: Success
[2016/09/14 10:22:44, 0] …/source3/smbd/server.c:1241(main)
smbd version 4.2.10-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2014
[2016/09/14 10:22:44.559634, 0] …/lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon ‘smbd’ finished starting up and ready to serve connections
Unable to connect to CUPS server localhost:631 - Bad file descriptor
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL