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
(cherry picked from commit 790ca5ce32)
mr10.5.3
Mykola Malkov 3 years ago
parent 64a8bc922d
commit d17f6ca4aa

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

Loading…
Cancel
Save