Jun 25 07:56:59 syslog rsyslogd[1740]: error during config processing: omfile: creating parent directories for file '/home/rsyslog/syslog/rsyslogd.log' failed: Permission denied [v8.2312.0 try https://www.ryslog.com/e/2207 ]
FIX
Update /etc/apparmor.d/usr.sbin.rsyslogd and add the second line here under the first:
Code: Select all
/var/log/** rw,
/datadrive/** rw,2. Commands
Run:
Code: Select all
sudo chgrp syslog /home/rsyslog
sudo chmod g+w /home/rsyslog
sudo systemctl restart apparmor.service
sudo systemctl restart rsyslog.service