xen and dom0 'mount by LABEL' dangerous?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx	paul@xxxxxxxxx	Key ID: 64A2FF6A
Fortune:
Sometimes you get an almost irresistible urge to go on living.


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]