Re: f42: hostname vs. sendmail (vs. systemd depsolver) bug?

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

 



Once upon a time, Gary Buhrmaster <gary.buhrmaster@xxxxxxxxx> said:
> On Mon, Apr 21, 2025 at 3:17 PM Gabriel L. Somlo <gsomlo@xxxxxxxxx> wrote:
> > Adding `After=networ-online.target` to `sendmail.service` does *not*
> > seem to help.
> 
> As I recall, the network is considered
> "online" a lot earlier than you might
> think (after the loopback is up?)
> without additional requirements.  If
> you want to wait for your system to
> (possibly) acquire a dhcp address
> and possibly acquire a name, you
> need to also make sure one of the
> appropriate network configuration
> complete services (depending
> on your network configuration
> preferences) are enabled.
> 
>   NetworkManager-wait-online
>      -or-
>   systemd-networkd-wait-online

That is incorrect.  network-online.target is a special unit that is
after whatever network system thinks the network is "up".  For example,
NetworkManager-wait-online.service explictly declares
Before=network-online.target.  You should not ever need to refer to the
individual services, network-online.target is sufficient.
-- 
Chris Adams <linux@xxxxxxxxxxx>
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux