[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660670: lenny->squeeze: UUID configuration lists several unrelated devices, and incorrectly



On Mon, 2012-02-20 at 11:33 -0800, Josh Triplett wrote:
> Package: upgrade-reports
> Severity: normal
> 
> When upgrading an old system from lenny to squeeze, I encountered the
> dialog from linux-base about changing system configuration to use UUIDs.

No, it asks whether to 'Update disk device IDs in system configuration?'

> The first section ("These devices will be assigned UUIDs or labels:")
> correctly showed /dev/hda1 (my root filesystem) and the UUID assigned to
> it.
> 
> The second section ("These configuration files will be updated:")
> correctly showed the list of configuration files this change would
> update.
> 
> However, the third section ("The device IDs will be changed as
> follows:") contained several confusing and possibly incorrect bits of
> information.  First, it listed /dev/hdc as changing to /dev/cdrom, which
> doesn't seem related to UUIDs or labels.

Indeed it isn't, but we never claimed it was.  udev has a separate means
to generate stable names for optical disc drivers and we cover those as
well.

>   Second, it showed /dev/hda2
> (my swap device), which didn't appear in the previous sections, and in
> addition to showing a UUID for it,

This is a list of the device ID changes that will be used *in those
configuration files*.  Your swap partition already had a UUID, so it
didn't appear in the first list.

>  the line right after /dev/hda2 showed:
> + PATH=pci-0000:00:1f.1-scsi-1:0:0:0
> 
> At first glance that looked like the results of incorrectly parsing the
> output of a command, leaving me concerned that this would incorrectly
> edit one of my configuration files to contain that appended to a UUID.

It's not, it's a crappy way of representing that we'll add a udev rule
(in persistent-cd.rules) for this path.  There perhaps ought to be a
separate section listing these, but the message is unwieldy already.

Ben.

-- 
Ben Hutchings
One of the nice things about standards is that there are so many of them.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: