[refpolicy] Take virtio disks into account

Mika Pflüger debian at mikapflueger.de
Fri Jul 23 08:40:38 CDT 2010


Hi,

When using selinux in a virtualized system with virtio disks, the virtio
devices (/dev/vd*) are not labelled correctly. This can be fixed by this one-
liner, treating virtio disks just like any other disk (sata, ide, etc).

Without this patch, the booting grinds to a halt when selinux denies mounting
the root fs (which has to reside on a virtio disk, of course).

Cheers,

Mika Pflüger



More information about the refpolicy mailing list