postfix starting before network
David Benfell
benfell at parts-unknown.org
Wed Jul 2 21:18:23 UTC 2014
Hi all,
This is still going awry....
[root at munich]/home/benfell# systemctl status postfix
postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/etc/systemd/system/postfix.service; enabled)
Active: failed (Result: exit-code) since Wed 2014-07-02 05:00:31 PDT; 9h
ago
Process: 1196 ExecStart=/usr/sbin/postfix start (code=exited,
status=1/FAILURE)
Process: 1194 ExecStartPre=/usr/libexec/postfix/chroot-update
(code=exited, status=0/SUCCESS)
Process: 371 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited,
status=75)
The restart (several hours later when I discover the problem) succeeds.
[root at munich]/home/benfell# ls -al /etc/systemd/system/multi-
user.target.wants/postfix.service
lrwxrwxrwx 1 root root 35 Jul 1 18:42 /etc/systemd/system/multi-
user.target.wants/postfix.service -> /etc/systemd/system/postfix.service
[root at munich]/home/benfell# cat /etc/systemd/system/multi-
user.target.wants/postfix.service
[Unit]
Description=Postfix Mail Transport Agent
Requires=network.target
After=syslog.target network.target
Conflicts=sendmail.service exim.service
[Service]
Type=forking
PIDFile=/var/spool/postfix/pid/master.pid
EnvironmentFile=-/etc/sysconfig/network
ExecStartPre=-/usr/libexec/postfix/aliasesdb
ExecStartPre=-/usr/libexec/postfix/chroot-update
ExecStart=/usr/sbin/postfix start
ExecReload=/usr/sbin/postfix reload
ExecStop=/usr/sbin/postfix stop
[Install]
WantedBy=multi-user.target
This is the postfix service file as modified per the exchange yesterday.
I'm sure glad I have a secondary server for both mail and DNS, because nsd
is failing also.
--
David Benfell
See https://parts-unknown.org/node/2 if you do not understand the
attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140702/0b3ac4be/attachment.sig>
More information about the users
mailing list