Bug#882504: Problem still exists
Taylor Raack <[email protected]> Wed, 13 May 2026 16:34:09 -1000
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <6e3cc8f6c529f6b4ce04f1fd0435021afd612942.camel__17089.8849073396$1778727210$gmane$org@raack.info> |
I can confirm that adding RequiredForOnline=no to the unconfigured interface's .network file resolves the timeout issue. I did want to ask about the broader user experience: "apt-helper wait-online" calls "systemd-networkd-wait-online" without any interface arguments, which means it waits for all interfaces systemd-networkd manages. For users with unconfigured interfaces (secondary ethernet, unused wifi cards on servers, etc.), this causes a 30-second delay on every apt-daily run. While the RequiredForOnline=no solution works, it requires users to know about this systemd-networkd option and manually create .network files. Would it be worth considering one of the following? * A configuration option in apt to specify which interfaces to wait for * Documenting this behavior more prominently in apt's documentation? The current behavior was surprising to me, since I had expected apt to work without manual systemd-networkd configuration.