Package: postfix Version: 3.5.0-1 Hi,
currently the instance unit postfix@.service is linked with PartOf= to the main postfix.service. This results in a active postfix.service in case the instance postfix@.service has failed to start. Is this by design or is a stronger bonding appropriate? E.g.: (the actual start failure is due to an unrelated SELinux misconfiguration) Mar 18 12:47:40 server systemd[1]: postfix.service: Succeeded. Mar 18 12:47:40 server audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:systemd_t:s0 msg='unit=postfix comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Mar 18 12:47:40 server systemd[1]: Stopped Postfix Mail Transport Agent. Mar 18 12:47:40 server systemd[1]: Stopping Postfix Mail Transport Agent... Mar 18 12:47:40 server systemd[1]: Starting Postfix Mail Transport Agent (instance -)... Mar 18 12:47:40 server audit[2440]: AVC avc: denied { search } for pid=2440 comm="postsuper" name="defer" dev="sda1" ino=1315503 scontext=system_u:system_r:postfix_multi_t:s0 tcontext=system_u:object_r:postfix_chroot_defer_t:s0 tclass=dir permissive=0 Mar 18 12:47:40 server audit[2440]: SYSCALL arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=55620f14b250 a2=90800 a3=0 items=1 ppid=2401 pid=2440 auid=4294967295 uid=113 gid=118 euid=113 suid=113 fsuid=113 egid=118 sgid=118 fsgid=118 tty=(none) ses=429496> Mar 18 12:47:40 server audit: CWD cwd="/var/spool/postfix" Mar 18 12:47:40 server audit: PATH item=0 name="defer/C" nametype=UNKNOWN cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Mar 18 12:47:40 server audit: PROCTITLE proctitle="/usr/sbin/postsuper" Mar 18 12:47:40 server postmulti[2440]: postsuper: fatal: scan_dir_push: open directory defer/C: Permission denied Mar 18 12:47:40 server postfix/postsuper[2440]: fatal: scan_dir_push: open directory defer/C: Permission denied Mar 18 12:47:41 server postfix/postfix-script[2441]: fatal: Postfix integrity check failed! Mar 18 12:47:42 server systemd[1]: postfix@-.service: Control process exited, code=exited, status=1/FAILURE Mar 18 12:47:42 server systemd[1]: postfix@-.service: Failed with result 'exit-code'. Mar 18 12:47:42 server audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:systemd_t:s0 msg='unit=postfix@- comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Mar 18 12:47:42 server systemd[1]: Failed to start Postfix Mail Transport Agent (instance -). Mar 18 12:47:42 server systemd[1]: Starting Postfix Mail Transport Agent... Mar 18 12:47:42 server systemd[1]: Finished Postfix Mail Transport Agent. Mar 18 12:47:42 server audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:systemd_t:s0 msg='unit=postfix comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' $ systemctl status postfix ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) Active: active (exited) since Wed 2020-03-18 12:47:42 CET; 22s ago Process: 2442 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 2442 (code=exited, status=0/SUCCESS) Mar 18 12:47:42 server systemd[1]: Starting Postfix Mail Transport Agent... Mar 18 12:47:42 server systemd[1]: Finished Postfix Mail Transport Agent. $ systemctl status postfix@- ● postfix@-.service - Postfix Mail Transport Agent (instance -) Loaded: loaded (/lib/systemd/system/postfix@.service; enabled-runtime; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2020-03-18 12:47:42 CET; 26s ago Docs: man:postfix(1) Process: 2341 ExecStartPre=/usr/lib/postfix/configure-instance.sh - (code=exited, status=0/SUCCESS) Process: 2394 ExecStart=/usr/sbin/postmulti -i - -p start (code=exited, status=1/FAILURE) Mar 18 12:47:40 server systemd[1]: Starting Postfix Mail Transport Agent (instance -)... Mar 18 12:47:40 server postmulti[2440]: postsuper: fatal: scan_dir_push: open directory defer/C: Permission denied Mar 18 12:47:40 server postfix/postsuper[2440]: fatal: scan_dir_push: open directory defer/C: Permission denied Mar 18 12:47:41 server postfix/postfix-script[2441]: fatal: Postfix integrity check failed! Mar 18 12:47:42 server systemd[1]: postfix@-.service: Control process exited, code=exited, status=1/FAILURE Mar 18 12:47:42 server systemd[1]: postfix@-.service: Failed with result 'exit-code'. Mar 18 12:47:42 server systemd[1]: Failed to start Postfix Mail Transport Agent (instance -).