Hi.
For information, I made this buzilla this morning:
https://bugzilla.redhat.com/show_bug.cgi?id=2104398
(I did similar for Fedora-34).
I wonder if there is a single case where nm-online is useful :-(
On 6 Jul 2022, at 11:52, Francis.Montagnac@inria.fr wrote:
Hi.
For information, I made this buzilla this morning:
https://bugzilla.redhat.com/show_bug.cgi?id=2104398
(I did similar for Fedora-34).
I wonder if there is a single case where nm-online is useful :-(
Yes there are use cases where this is needed. Some times network is need to complete boot in I tire before switching the the main disk.
For example Luke unlocking:
https://fedoramagazine.org/using-linux-system-roles-to-implement-clevis-and-...
Barry
-- francis _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Hi.
On Thu, 07 Jul 2022 17:16:00 +0100 Barry wrote:
I wonder if there is a single case where nm-online is useful :-(
Yes there are use cases where this is needed. Some times network is need to complete boot in I tire before switching the the main disk.
Of course, but to be clearer: doing that with nm-online does NOT work.
In my case (network boot), nm-online terminates BEFORE the default gateway is reachable. As a consequence downloading the install image (Server/x86_64/os//images/install.img) fails.
My workaround is to replace nm-online by a loop waiting for the gateway to be reachable.
Ref: https://bugzilla.redhat.com/attachment.cgi?id=1894842
On 9 Jul 2022, at 06:49, Francis.Montagnac@inria.fr wrote:
Hi.
On Thu, 07 Jul 2022 17:16:00 +0100 Barry wrote:
I wonder if there is a single case where nm-online is useful :-(
Yes there are use cases where this is needed. Some times network is need to complete boot in I tire before switching the the main disk.
Of course, but to be clearer: doing that with nm-online does NOT work.
In my case (network boot), nm-online terminates BEFORE the default gateway is reachable.
The network-online.target which nm-online is before only says that the interface has a configured ip address. It does not test connectivity.
Having said that I am very surprised that the gateway is not reachable. At least in small networks the gateway is the same host that is the dhcp server and thus will be reachable.
What you are doing with waiting until you can access the remote host seems like the required solution.
Barry
As a consequence downloading the install image (Server/x86_64/os//images/install.img) fails.
My workaround is to replace nm-online by a loop waiting for the gateway to be reachable.
Ref: https://bugzilla.redhat.com/attachment.cgi?id=1894842
-- francis _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure