Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 100:27:24 |
Calls: | 290 |
Files: | 905 |
Messages: | 76,508 |
Am 27.12.24 um 13:50 schrieb Vincent Lefevre:
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.
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.