http://bhqityoevbljuefl4m2khh3mw6ezcv7gg673qnyorka2o6loj3m6qead.onion/news/technical-details-for-the-noble-migration
Combined with the fact it was shipped as a Debian package, we ran into an odd scenario in which the package containing the script was upgraded by apt, so it instructed systemd to restart all of its services, which in turn killed the script and apt mid-upgrade. We adopted a similar solution to what unattended-upgrades does: 1) spawn apt in a separate process group , and 2) set KillMode=process in the systemd service so apt will stay alive. We also set RefuseManualStop ,...