xen and dom0 'mount by LABEL' dangerous?

Paul Jakma paul at dishone.st
Mon May 16 15:32:16 UTC 2005


Hi,

FC sets up fstab to mount by extX label.

What happens if you run Xen, 'delegate' devices (eg LVM LV's) to a 
domU and the {malicious,clueless} domU administrator does:

e2label /dev/hda1 /
e2label /dev/hda2 /usr

Potential for confusion next time dom0 boots up, no? Does this mean 
dom0 fstab should be converted to specify actual devices?

If so, should be documented somewhere at least, no? :)

Another solution would be to assign LV's to domU's as 'whole disks'. 
dom0 partition scanning wont be run on LV's, so no chance of 
e2label's getting confused afaict - however it appears XenU vbd isnt 
able to recognise partitions on 'whole disks' correctly unfortunately 
(i've opened a bug with upstream).

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
Sometimes you get an almost irresistible urge to go on living.




More information about the fedora-test-list mailing list