The check of /var/log/messages was not strict enough, and it failed: 22 - - Command: find /var/log/ -type f -name messages ! -group adm: stdout: patterns not found: [!/./] 0 ms 34 - - Command: find /var/log/ -type f -name messages ! -perm 640: stdout: patterns not found: [!/./] 0 ms 51 - - Command: find /var/log/ -type f -name messages ! -user root: stdout: patterns not found: [!/./] 0 ms due to matches of /var/log/asterisk/messages which were not intended, and doesn't follow the same ownership and permissions rules: root@spce:~# ls -l /var/log/asterisk/messages -rw-rw---- 1 asterisk asterisk 0 Dec 10 2019 /var/log/asterisk/messages So convert /var/log/messages back to be a basic check of type "file", as it was initially, because now it's guaranteed to be created (by systemd-tmpfiles). Change-Id: Ibd392a0adef78d09e7b232ef3ccae7f9a7e83f56mr9.1
parent
743e0d0edb
commit
4cd3d9bb9f
Loading…
Reference in new issue