Rowland Penny
2024-Jan-08 14:49 UTC
[Samba] 'Permission denied' Journal entries for '/var/log/samba/log.rpcd_classic'
On Mon, 8 Jan 2024 15:32:13 +0100 Luis Peromarta <lperoma at icloud.com> wrote:> Hey Rowland, how are ya. > > Just wondering do you have a procedure for this ? I have been looking > at this for some time, but afraid of not doing it right and miss logs. > > Cheers, > On Jan 8, 2024 at 15:30 +0100, samba at lists.samba.org > <samba at lists.samba.org>, wrote: > > > > I have no idea about the systemd journal, the first thing I do on > > Debian bookworm is to install rsyslog and turn off the journal.OK, but you do this at your own risk, I haven't had any problems, but who knows ? :-) sudo apt update sudo apt install rsyslog At this point you need you stop systemd-journald from logging, or you will get double logging. To do this, just remove the logging directory, /var/log/journal. rm -rf /var/log/journal Rowland
Luis Peromarta
2024-Jan-08 15:57 UTC
[Samba] 'Permission denied' Journal entries for '/var/log/samba/log.rpcd_classic'
Cheers sir, nothing to uninstall for journals ? Just remove the directory then? Thanks a lot, all the best for the new year. On Jan 8, 2024 at 15:50 +0100, samba at lists.samba.org <samba at lists.samba.org>, wrote:> > OK, but you do this at your own risk, I haven't had any problems, but > who knows ? :-) > > sudo apt update > > sudo apt install rsyslog > > At this point you need you stop systemd-journald from logging, or you will get double logging. > > To do this, just remove the logging directory, /var/log/journal. > > rm -rf /var/log/journal > > Rowland