Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-block persistent config is too fragile #3437
Comments
andrewdavidwong
added
bug
C: core
labels
Jan 2, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Jan 2, 2018
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zander commentedJan 1, 2018
Qubes OS version:
Qubes 4.0RC3
Steps to reproduce the behavior:
Using qvm-block shows output like this;
Using qvm-block add with the persistent flag will alter qubes.xml and the 'sdb1' or similar would be the part that is stored in there.
This is a design issue because drive numbers change.
In my own setup I used a new drive created inside of an already existing LVM thin-pool and called it 'bulk' (in pool "Slow"), for some reason qvm-block shows this as dm-32.
When I rebooted this showed up as dm-40, another time as 35.
Expected behavior:
Most distros switched to using UUID based mounting configuration files.
I think its time for Qubes to follow and make sure that in the qubes.xml we no longer have an 'id' attribute that is a not-unique identification number.
Please consider dropping the 'id' and adding the 'uuid' attribute. See
sudo blkid.Actual behavior:
Starting a qube where its persistent disk ID could not be found gives a traceback in the journal;