initramfs-tools: UUID checks now fail for NTFS which has upper cases UUIDS
Bug #1553107 reported by
Andy Whitcroft
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Critical
|
Andy Whitcroft |
Bug Description
The new code to lowercase all UUIDs is breaking NTFS mounts because those have UPPERcase UUIDs exclusivly. The correct fix would be to make blkid handle this as it knows what range of values the various UUIDs have and whether upper/lower casing them is even safe.
For initramfs-tools it is clear we should be checking that the UUIDs unmodified before attempting to change their case. This guearentees existing installs are never affected. We should likely also only case map those in a known UUID format which is case insensitive.
NOTE: the bug herein was only exposed in -proposed and found by testers on Bug #1548120, thanks goes to them.
Changed in initramfs-tools (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Andy Whitcroft (apw) |
milestone: | none → ubuntu-16.03 |
description: | updated |
To post a comment you must log in.
$ apt-cache policy initramfs-tools ppa.launchpad. net/apw/ initramfs- tools-test/ ubuntu xenial/main arm64 Packages
initramfs-tools:
Installed: 0.122ubuntu6~rc1
Candidate: 0.122ubuntu6~rc1
Version table:
*** 0.122ubuntu6~rc1 500
500 http://
root=PARTUUID= 7c5978e5- a56f-4c4c- a3f1-de1467d0b6 02 (lower case) works 7C5978E5- A56F-4C4C- A3F1-DE1467D0B6 02 (upper case) does not work.
root=PARTUUID=