Skip to content

Add rpm-ostree network-wait #3096

Open
@cgwalters

Description

@cgwalters

I followed the docs for https://docs.fedoraproject.org/en-US/fedora-coreos/os-extensions/
and of course hit a race between network-online.target and actually being able to fetch the repos.

The idea of network-wait would be:

For each configured ostree remote and each enabled yum repository, wait until we can reach those over the network.

We could add rpm-ostree install -N to network-wait. It's actually kind of tempting to make it the default...

See also https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gnetworkmonitor.h which would be good to use for this.

This also strongly relates to #3041 (comment)

Also zincati could (should) use this instead of polling.

Metadata

Metadata

Assignees

Labels

good-first-issuegood issue for someone newjirafor syncing to jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions