FS#54583 - [arch-install-scripts] `lsblk` still returns old UUID after `mkfs`, causing `genfstab -U` to fail
Attached to Project:
Arch Linux
Opened by tromang (tromang) - Sunday, 25 June 2017, 05:17 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 26 November 2017, 22:43 GMT
Opened by tromang (tromang) - Sunday, 25 June 2017, 05:17 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 26 November 2017, 22:43 GMT
|
Details
... since [`genfstab -U` uses
`lsblk`](https://git.archlinux.org/arch-install-scripts.git/tree/genfstab.in).
`blkid` returns correct UUID immediately. `lsblk -f` still returns old UUID (which no longer exists). Returns correct UUID after rebooting. ---- As a result, running `genfstab -U` as (and when) [prescribed](https://wiki.archlinux.org/index.php/installation_guide) causes the now-nonexistent UUIDs returned by `lsblk` to be written to `/etc/fstab`, causing a nasty boot failure. Using `archlinux-2017.06.01-x86_64.iso` on a Lenovo N21. ---- Further discussion: https://www.reddit.com/r/archlinux/comments/6j34ra/archiso_lsblk_still_returns_old_uuid_after_mkfs/ |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 26 November 2017, 22:43 GMT
Reason for closing: Won't fix
Additional comments about closing: Not a problem with arch-install-scripts.
Sunday, 26 November 2017, 22:43 GMT
Reason for closing: Won't fix
Additional comments about closing: Not a problem with arch-install-scripts.
I don't want to make genfstab rely on blkid, because then it requires privileged access to the disk to read UUIDs (and even then, it might cache bad data).