Remote upgrade over aiccu connection failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aiccu (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
I was upgrading a Lubuntu machine to precise over ssh using a SIXXS tunnel managed by aiccu. The last message I saw was:
Preparing to replace aiccu 20070115-14ubuntu1 (using .../aiccu_
runlevel:
So it looks lot like aiccu dropped te connction during the upgrade. Or possibly failed to upgrade and broke. This machine is owned by a completely non-technical person who has already suffered a week of autage because the upgrade to precise failed (libc6 not upgraded from 2.13 to 2.15 before sysv-rc and grub-pc, leading to about 15 broken essential/required packages (including perl, upstart, module-init-tools, plymouth, libnih). installing libc fixed that and allow apt-get dist-upgrade to proceed, which went well until the above message.
Like ssh, it's very important that network-management tools do not break on upgrade, and preserve connections wherever possible, otherwise remote upgrades become very dangerous to perform. I donlt know if there is some good reason why this is not practical in this case, but it seems to me that expecting my connection to stay up during upgrades is not unreasonable.
Changed in aiccu (Ubuntu): | |
status: | New → Opinion |
> So it looks lot like aiccu dropped te connction during the upgrade.
Replacing a package (and thus the binary) implies restarting AICCU to get the new binary up and running.
The only way to figure out what happened and what failed is to see the log, which is not attached.
> preserve connections wherever possible,
Due to the restart of the binary, that is impossible. In these kind of situations one could say to not upgrade tools like this remotely....
Note that the way that ssh "solves" this is to run an other binary on a different port, this is not possible with AICCU as it is actualy providing the connectivity.
The other work around is of course to use IPv4, at least as a backup, as that connectivity is likely there; thus: ssh into the box using IPv6, set up a reverse SSH over IPv4 as a backup connection (similar to the SSH scenario where the alternative port SSH is the backup) and then get into that one over IPv4 too to be sure to be able to survive the AICCU restart.
In the end though this is a non-bug mostly. Though there could maybe be a huge warning, similar to the SSH case, to note to the user that AICCU (and any other VPN tool like OpenVPN etc) is being used and that it might be that that connection gets lost, in the same way as SSH.