MT#33035 Make user.log optional

It's an often error after upgrade that this file is missing.
It happens because right after reboot there is no such file and it's not
created by logrotate because we use missingok, notifempty option for
it.

So make it optional.

Change-Id: I4ee18e8ba5e93d19e4b80fd3fcf8197d144f1ea3
bookworm/master
Mykola Malkov 3 years ago
parent 5a674e4f22
commit 790ca5ce32

@ -35,8 +35,12 @@ file:
group: adm
filetype: file
/var/log/user.log:
exists: true
exists:
or:
- true
- false
mode: "0640"
owner: root
group: adm

Loading…
Cancel
Save