Added SELinux workound for systemd service to work after 'postfix start'
Resolves: rhbz#2055915
This commit is contained in:
parent
be6411fc27
commit
121b96a055
@ -11,6 +11,7 @@ PrivateTmp=true
|
||||
CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
|
||||
ProtectSystem=true
|
||||
PrivateDevices=true
|
||||
ExecStartPre=-/usr/sbin/restorecon -R /var/spool/postfix/pid/master.pid
|
||||
ExecStartPre=-/usr/libexec/postfix/aliasesdb
|
||||
ExecStartPre=-/usr/libexec/postfix/chroot-update
|
||||
ExecStart=/usr/sbin/postfix start
|
||||
|
11
postfix.spec
11
postfix.spec
@ -49,7 +49,7 @@
|
||||
Name: postfix
|
||||
Summary: Postfix Mail Transport Agent
|
||||
Version: 3.5.9
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
Epoch: 2
|
||||
URL: http://www.postfix.org
|
||||
License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
|
||||
@ -62,7 +62,10 @@ Requires(preun): %{_sbindir}/alternatives
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
# Required by /usr/libexec/postfix/postfix-script
|
||||
Requires: diffutils, findutils
|
||||
Requires: diffutils
|
||||
Requires: findutils
|
||||
# for restorecon
|
||||
Requires: policycoreutils
|
||||
Provides: MTA smtpd smtpdaemon server(smtp)
|
||||
|
||||
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
|
||||
@ -800,6 +803,10 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Feb 22 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-18
|
||||
- Added SELinux workound for systemd service to work after 'postfix start'
|
||||
Resolves: rhbz#2055915
|
||||
|
||||
* Tue Feb 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-17
|
||||
- Fixed problem in the dict_inline found by coverity
|
||||
Resolves: rhbz#1938847
|
||||
|
Loading…
Reference in New Issue
Block a user