On Tue, Apr 21, 2020 at 11:08:10AM +0200, Andreas Henriksson wrote:
> Control: tags -1 + upstream
> 
> Hello Josh Triplett,
> 
> Thanks for your bug report.
> 
> On Sat, Jan 04, 2020 at 12:44:51PM -0800, Josh Triplett wrote:
> > Just spent a while debugging a boot issue caused by blkid treating UUIDs
> > as case-sensitive:
> > 
> > Gave up waiting for root file system device.  Common problems:
> >  - Boot args (cat /proc/cmdline)
> >    - Check rootdelay= (did the system wait long enough?)
> >  - Missing modules (cat /proc/modules; ls /dev)
> > ALERT!  PARTUUID=5D75BD2D-6C59-4F73-9762-F4025CA97033 does not exist.  
> > Dropping to a shell!
> > (initramfs) blkid -l -t PARTUUID=5D75BD2D-6C59-4F73-9762-F4025CA97033 -o 
> > device
> > (initramfs) blkid
> > /dev/vda1: UUID="83d14a86-02e0-4d48-abda-53b4ed66c8e0" TYPE="ext4" 
> > PARTUUID="5d75bd2d-6c59-4f73-9762-f4025ca97033"
> > (initramfs) blkid -l -t PARTUUID=5d75bd2d-6c59-4f73-9762-f4025ca97033 -o 
> > device
> > /dev/vda1
> > 
> > I would normally expect a string of hexadecimal to not care about the
> > case of the a-f digits. Either this needs documenting somewhere, or it
> > needs fixing in blkid.
> 
> Please feel free to report this as an issue to upstream[1].

Done: https://github.com/karelzak/util-linux/issues/1014

> However you
> might also want to note that blkid is in deep maintenance mode as it
> has been superseeded by the more easily extendable lsblk utility.
> Maybe it would thus be better to consider reporting this as a wishlist
> bug against initramfs-tools (and consider its current usage of blkid
> as an implementation detail that possibly could be changed to fix this).

I don't think I'd consider this bug to be an initramfs-tools bug, but if
blkid is considered somewhat deprecated in favor of lsblk, it certainly
seems reasonable for initramfs-tools to consider switching.

- Josh Triplett

Reply via email to