Re: Cyrus-imapd fails to bind on reboot when assigned to listen on specific IP

[email protected]
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On Sunday, March 21, 2021, at 3:26 AM, Simon Matter wrote:
> And please file another BZ so this can be fixed upstream.
1941255 – Specifying bind IP in /etc/cyrus.conf results in cyrus-imapd failing to bind *at all* on reboot (redhat.com) <https://bugzilla.redhat.com/show_bug.cgi?id=1941255>
On Sunday, March 21, 2021, at 4:25 AM, Gabor Gombas wrote:
> network-online.target is also not necessarily enough, because it is not
well defined what does "online" mean. E.g., __IF__ you use NetworkManager, __and__ you've configured the proper connection with "may-fail: no", __and__ the connection comes up before NetworkManager-wait-online.service would
time out, __then__ After=network-online.target will do what you want. But
if any of the above conditions are not true, then you may still get the
same error. Of course, you may write your own systemd unit which comes
before network-online.target, and then you can freely define what does
"the network is online" mean for your specific setup.
For my setup, which has a NetworkManager-controlled interface, static IP, using network-online.target works, and cyrus-imapd is available on reboot. 
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Te727080483918be4-M1b1150e5f5e58562c5627242
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.