Linux - Release 22.12
This commit is contained in:
parent
72e4b3f045
commit
e172c27f63
|
@ -5,14 +5,6 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
||||||
|
|
||||||
### Added
|
### 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
|
### Changed
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
@ -21,12 +13,29 @@ New checks :
|
||||||
|
|
||||||
### Fixed
|
### 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_EVOBACKUP_INCS: fix quote.
|
||||||
* IS_PURGE_FAIL2BAN: fix function never called in main().
|
* IS_PURGE_FAIL2BAN: fix function never called in main().
|
||||||
* IS_NOTUPGRADED: silence "grep: (...) binary file matches" messages.
|
* IS_NOTUPGRADED: silence "grep: (...) binary file matches" messages.
|
||||||
|
|
||||||
### Security
|
|
||||||
|
|
||||||
## [22.11] 2022-11-27
|
## [22.11] 2022-11-27
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Linux (Debian) server
|
# Script to verify compliance of a Linux (Debian) server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="22.11"
|
VERSION="22.12"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Linux (Debian) server
|
# Script to verify compliance of a Linux (Debian) server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="22.11"
|
VERSION="22.12"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
@ -133,6 +133,7 @@ check_dpkgwarning() {
|
||||||
}
|
}
|
||||||
# Check if localhost, localhost.localdomain and localhost.$mydomain are set in Postfix mydestination option.
|
# Check if localhost, localhost.localdomain and localhost.$mydomain are set in Postfix mydestination option.
|
||||||
check_localhost_in_postfix_mydestination() {
|
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
|
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."
|
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
|
fi
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Linux (Debian) server
|
# Script to verify compliance of a Linux (Debian) server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="22.11"
|
VERSION="22.12"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
|
Loading…
Reference in a new issue