Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24969 - [mkinitcpio] blkid and duplicate label
Attached to Project:
Arch Linux
Opened by Alexander Zubkov (green) - Thursday, 30 June 2011, 19:17 GMT
Last edited by Dave Reisner (falconindy) - Friday, 22 July 2011, 00:53 GMT
Opened by Alexander Zubkov (green) - Thursday, 30 June 2011, 19:17 GMT
Last edited by Dave Reisner (falconindy) - Friday, 22 July 2011, 00:53 GMT
|
Detailsmkinitcpio generates init image with init_functions containig this:
device=$(blkid -t "$root" -o device) But if I have multiple filesystems with same LABEL or UUID, then blkid would return all of them and it will break $device setting and leave system unbootable. Yes, I have to identical filesystems. I use them for backup purpose. Example of calling blkid: # blkid -t "LABEL=test" -o device /dev/loop0 /dev/loop1 To fix this, one should add option "-l" to blkid: # blkid -l -t "LABEL=test" -o device /dev/loop1 |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 22 July 2011, 00:53 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.7.1
Friday, 22 July 2011, 00:53 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.7.1
Comment by Thomas Bächler (brain0) -
Thursday, 30 June 2011, 20:19 GMT
https://projects.archlinux.org/mkinitcpio.git/commit/?id=726ff1f9466847cbe27e807cf79560070651781c