do-release-upgrade assumes /usr/sbin/sshd exists if you are upgrading over ssh

Bug #1123343 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Triaged
Medium
Unassigned
update-manager (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

do-release-upgrade assumes that /usr/sbin/sshd exists if you are
upgrading over ssh. While that may seem intuitively true, it's not
always the case, e.g. I was upgrading a chroot on a machine via ssh.
The host/base OS had openssh-server installed; the chroot did not.

Requiring /usr/sbin/sshd is not unreasonable, but the code should give
a more useful error message (i.e. not a python traceback), if it
doesn't.

Revision history for this message
James Troup (elmo) wrote :

This was trying to upgrade a lucid chroot to precise, FWIW. The base OS was also lucid, if it matters.

Changed in update-manager (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

This code appears to be unchanged since Precise and so this is likely still an issue.

Changed in update-manager (Ubuntu):
status: New → Triaged
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.