[Pkg-utopia-maintainers] Bug#978935: Bug#978935: network-manager: disconnect on upgrade

Michael Biebl biebl at debian.org
Fri Jan 1 14:12:06 GMT 2021


Am 01.01.21 um 14:55 schrieb Vincent Lefevre:
> On 2021-01-01 12:58:48 +0100, Michael Biebl wrote:
>> Am 01.01.21 um 01:19 schrieb Vincent Lefevre:
>>> The name of the active connection could be stored in a file, so that
>>> a reexec'ed daemon could pick the information. By active connection,
>>> I mean the last connection chosen by the user, under the condition
>>> that the user has not explicitly disconnected.
>>
>> It's not that simple, unfortunately. There is much more state,
>> especially in external daemons like wpasupplicant.
> 
> The name of the active connection and the associate device is shown
> by "nmcli connection". This is everything what one needs to know.
> I just had to do "nmcli device wifi connect <SSID>" to reconnect.

That is something different. This stops your connection when 
NetworkManager stops and starts it again, when NetworkManager starts.
That's basically what's happening today for WiFi connections, if they 
are marked as autoconnect.


>>>> Ethernet connections should not be torn down on a daemon stop.
>>

>> The alternative of not restarting NM on upgrades isn't great either.
> 
> This could be another solution, asking the user to do that when safe.
> This would not be the only case where a service is not restarted
> automatically (there's udev).
> 

udev is restarted on upgrades.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20210101/e6e267a5/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list