Possibly SOLVED, Re: postfix starting before network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Benfell writes:

Hi all,

This is still going awry....

[root@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@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@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

--snip--

After poking around a bit, it appears the network.target is insufficiently stringent. I have modified postfix.service, nsd.service, and ejabberd.service to use network-online.target instead.

I will not be surprised if other services also need this change. I don't know what the shortcut is that's taken with network.target, but such a shortcut doesn't sound right to me.

--
David Benfell
See https://parts-unknown.org/node/2 if you do not understand the attachment.

Attachment: pgp2BNpuTaVVA.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux