From cb1e8d324a6f209e97149eed3e545f5303d49abc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 27 Sep 2022 05:19:38 -0400 Subject: [PATCH] import postfix-3.5.9-19.el9 --- SPECS/postfix.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/SPECS/postfix.spec b/SPECS/postfix.spec index bc29217..6668046 100644 --- a/SPECS/postfix.spec +++ b/SPECS/postfix.spec @@ -49,7 +49,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.5.9 -Release: 18%{?dist} +Release: 19%{?dist} Epoch: 2 URL: http://www.postfix.org License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+) @@ -518,7 +518,7 @@ fi # Create self-signed SSL certificate if [ ! -f %{sslkey} ]; then umask 077 - %{_bindir}/openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out %{sslkey} + %{_bindir}/openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out %{sslkey} 2>/dev/null || echo "openssl genpkey failed" fi if [ ! -f %{sslcert} ]; then @@ -530,7 +530,7 @@ if [ ! -f %{sslcert} ]; then req_cmd="%{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \ -subj /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}" # openssl-3.0 and fallback for backward compatibility with openssl < 3.0 - $req_cmd -noenc -copy_extensions none 2>/dev/null || $req_cmd + $req_cmd -noenc -copy_extensions none 2>/dev/null || $req_cmd 2>/dev/null || echo "openssl req failed" chmod 644 %{sslcert} fi @@ -803,6 +803,10 @@ fi %endif %changelog +* Fri Aug 19 2022 Jaroslav Škarvada - 2:3.5.9-19 +- Suppressed openssl output during SSL certificates generation + Resolves: rhbz#2041589 + * Tue Feb 22 2022 Jaroslav Škarvada - 2:3.5.9-18 - Added SELinux workound for systemd service to work after 'postfix start' Resolves: rhbz#2055915