[PVE-User] Upgrade to PVE8, logcheck, error on journalctl...

Marco Gaiarin gaio at lilliput.linux.it
Mon Aug 19 10:52:43 CEST 2024


Mandi! Alwin Antreich
  In chel di` si favelave...

> Then, the user logcheck is running as really can't access the journal from the
> system, as it has no permission. Like the error message says. 
> For the permission you need to use systemd-journal, it has changed since Debian
> 8 (Jessie). Members of this group can use the command journalctl and read log
> files of systemd (in /var/log/journal).

The problem is exactly that. 'logcheck' is a member of group 'adm', and in
'plain' Debian 12 can access journal, in PVE 8 no.

So, seems a specific 'PVE bug'; the apparmor hint was a good hint (because
AFAIK Debian does not enable apparmor by default), but seems not that...


> Maybe you also have a look at journalcheck instead? It seems to be a
> replacement for logcheck.

You meant this?:
	https://github.com/lynix/journalcheck

seems not just packaged... and logcheck support journal!

-- 




More information about the pve-user mailing list