Linux - Release 22.12

This commit is contained in:
William Hirigoyen 2023-02-10 11:37:33 +01:00
parent 72e4b3f045
commit e172c27f63
4 changed files with 23 additions and 13 deletions

View File

@ -5,14 +5,6 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
### Added
New checks :
* IS_LOCALHOST_IN_POSTFIX_MYDESTINATION
* IS_SSH_FAIL2BAN_JAIL_RENAMED
* IS_NO_LXC_CONTAINER
* IS_LXC_PHP_FPM_SERVICE_UMASK_SET
* use bash array for tmp files to cleanup
### Changed
### Deprecated
@ -21,12 +13,29 @@ New checks :
### Fixed
### Security
## [22.12] 2023-02-10
### Added
New checks :
* IS_LOCALHOST_IN_POSTFIX_MYDESTINATION
* IS_SSH_FAIL2BAN_JAIL_RENAMED
* IS_NO_LXC_CONTAINER
* IS_LXC_PHP_FPM_SERVICE_UMASK_SET
### Changed
* Use bash array for tmp files to cleanup.
### Fixed
* IS_EVOBACKUP_INCS: fix quote.
* IS_PURGE_FAIL2BAN: fix function never called in main().
* IS_NOTUPGRADED: silence "grep: (...) binary file matches" messages.
### Security
## [22.11] 2022-11-27
### Added

View File

@ -4,7 +4,7 @@
# Script to verify compliance of a Linux (Debian) server
# powered by Evolix
VERSION="22.11"
VERSION="22.12"
readonly VERSION
# base functions

View File

@ -4,7 +4,7 @@
# Script to verify compliance of a Linux (Debian) server
# powered by Evolix
VERSION="22.11"
VERSION="22.12"
readonly VERSION
# base functions
@ -133,6 +133,7 @@ check_dpkgwarning() {
}
# Check if localhost, localhost.localdomain and localhost.$mydomain are set in Postfix mydestination option.
check_localhost_in_postfix_mydestination() {
# shellcheck disable=SC2016
if ! grep mydestination /etc/postfix/main.cf | grep --extended-regexp 'localhost[^\\.]' | grep 'localhost.localdomain' | grep 'localhost.$mydomain'; then
failed "IS_LOCALHOST_IN_POSTFIX_MYDESTINATION" "'localhost' and/or 'localhost.localdomain' and/or 'localhost.\$mydomain' are missing in Postfix mydestination option. Consider adding then."
fi

View File

@ -4,7 +4,7 @@
# Script to verify compliance of a Linux (Debian) server
# powered by Evolix
VERSION="22.11"
VERSION="22.12"
readonly VERSION
# base functions