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
mr8.5.12.1
mr8.5.2.1
mr8.5.2.2
mr8.5.3.1
mr8.5.3.2
mr8.5.4.1
mr8.5.4.2
mr8.5.5.1
mr8.5.5.2
mr8.5.5.3
mr8.5.6.1
mr8.5.6.2
mr8.5.7.1
mr8.5.7.2
mr8.5.8.1
mr8.5.8.2
mr8.5.9.1
mr9.0.1.1
mr9.0.1.2
mr9.0.1.3
mr9.1.1.1
mr9.1.1.2
mr9.2.1.1
mr9.3.1.1
mr9.4.1.1
mr9.4.1.2
mr9.5.1.1
mr9.5.1.2
mr9.5.1.3
mr9.5.1.4
mr9.5.1.5
mr9.5.2.1
mr9.5.2.2
mr9.5.3.1
mr9.5.3.2
mr9.5.4.1
mr9.5.5.1
mr9.5.5.2
mr9.5.6.1
mr9.5.7.1
mr9.5.8.1
mr9.5.9.1
${ noResults }
9 Commits (b83c53c65996a78c9413203da31242c2280fbbb2)
Author | SHA1 | Message | Date |
---|---|---|---|
|
3e894ebcc5 |
TT#47113 Change check of /var/log/debug
Merge 3 tests into one which is basically equivalent and simpler. In this way we reduce noise, since it shortens the file and often the reported errors (when it fails it will often fail several of the constraints at once), and errors are more direct and clear, reporting this: File: /var/log/debug: mode: doesn't match, expect: ["0640"] found: ["0644"] instead of: Command: find /var/log/ -type f -name debug ! -group adm: stdout: patterns not found: [!/./] which tells you the current permissions deemed wrong or owner/group used, so it's a bit more info to investigate. Presumably this was done in a separate way because of thinking that the "exists-or" didn't work or because sometimes files were created empty without proper permissions, but this presumably solved now. Change-Id: I77252743f0a204dffb838d4f7841e05689036c01 |
5 years ago |
|
4cd3d9bb9f |
TT#47113 Change check of /var/log/messages
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: Ibd392a0adef78d09e7b232ef3ccae7f9a7e83f56 |
5 years ago |
|
bac90e73dd |
TT#84555 Check debug and messages files as optional
These files are created by rsyslog with default conf file. Usually it's done after the deployment.sh's reboot. But when NGCP is installed via installer package on existing debian system there is no reboot between installation of rsyslog (as part of NGCP) and ngcp-initial-configuration which modifies /etc/rsyslog.conf. So in this case these files are not created. So check the ownership and permission of these files only if they exist. Change-Id: I33be13a4e78baee3926de8bd0135d655b89d5bb6 |
5 years ago |
|
691388de5b |
TT#47113 Change owner of nginx logs
Now nginx uses rsyslog for logging but all logs processed by rsyslog have root:adm ownership so change the test accordingly. Change-Id: I902f6a588ea60c5a0412a1c0a59fc74a2e36faa8 |
5 years ago |
|
218d5b8a98 |
TT#47113 Fix check of nginx logs
The ownership of nginx logs is www-data:adm. Also check empty files to catch wrong permissions as soon as possible. Change-Id: Icb9e1e1c9590bbef7021e3826a19419f7c21f9ce |
5 years ago |
|
051df65252 |
TT#47113 Fix for indentation
Error: yaml: line 64: found a tab character that violates indentation Change-Id: Iaf2c85cfe251f0ce0d1dcb506d3fd3a210f1c992 |
5 years ago |
|
41a3acf6fe |
TT#47113 further loosen log files check
We don't actually care whether the log files exists or not, we really only care about their permissions and ownerships. Change-Id: I094e9b262b4c4c775023beba79acd3787ec616ac |
5 years ago |
|
8dc1af22e1 |
TT#47113 Amend log files test
Remove log files that are not guaranteed to exist. Special case api.log as it's owned by group _ngcp-li while also being optional. Change-Id: Ie45a6039bbf120cc3b76ad63b9fd35310966ab48 |
5 years ago |
|
a15090529e |
TT#47113 Verify log files readable only by root
Change-Id: I4dfcf40df566b525bad5ad40530398a18c9bca8d |
5 years ago |