[Pkg-utopia-maintainers] Bug#1091475: Bug#1091475: Bug#1091475: network-manager: breaks the wifi network for how-can-i-help
Michael Biebl
biebl at debian.org
Fri Dec 27 13:03:19 GMT 2024
Am 27.12.24 um 13:50 schrieb Vincent Lefevre:
> On 2024-12-27 13:27:34 +0100, Michael Biebl wrote:
>> Am 27.12.24 um 12:46 schrieb Vincent Lefevre:
>>> Package: network-manager
>>> Version: 1.50.1-1
>>> Severity: important
>>>
>>> The upgrade to network-manager 1.50.1-1 temporarily broke the wifi
>>> network, with the consequence:
>>
>> It doesn't break the Wi-Fi network, it re-establishes the Wi-Fi connection
>> when NetworkManager restarts.
>> NM has always behaved like this as it is not really possible to transfer
>> over the state on restarts for Wi-Fi connections as external components like
>> wpa_supplicant are involved.
>> This only works for Ethernet connections, which are much simpler.
>>
>> Not restarting NetworkManager on upgrades would be an option, but has other
>> downsides, like requiring a system reboot apply (security) fixes. So I would
>> like to avoid that.
>>
>> Which is why I'm leaning towards closing this was wontfix.
>
> The restart should be smoother, so that the address resolution
> does not fail immediately, but waits for the ongoing restart to
> complete (with a success or failure).
Not quite sure what mean by that or how NetworkManager could influence
the behaviour of an application that requires name resolution.
>>> how-can-i-help: Error downloading data file: Failed to open TCP connection to udd.debian.org:443 (getaddrinfo: Temporary failure in name resolution)
>>
>> This sounds like how-can-i-help runs some downloads in postinst.
>
> No, this is done via /etc/apt/apt.conf.d/99how-can-i-help
Ok, thanks for the info.
>> Does it fail the package installation is this just a warning message?
>>
>> Maybe it would be better if how-can-i-help runs the download on demand or
>> via a systemd timer.
>
> I think that the output should depend on the installed packages,
> so that a systemd timer would not be correct.
The output should depend on the installed packages but also on their bug
status which changes independently of the installed state.
Just throwing out some ideas:
If the apt hook fails to update its local database (for whatever
reason), it could touch a flag file (somewhere in /var/lib) and the next
time how-can-i-help is executed (by the user), how-can-i-help runs a
refresh of its database on-demand.
Or if the apt hook fails, it uses something like "systemd-run" to try
the update again in say 5min.
That said, I don't know the internals of how-can-i-help well enough, so
I've CCed Tomasz
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20241227/b22cac0b/attachment-0001.sig>
More information about the Pkg-utopia-maintainers
mailing list