appliance: Remove /usr/sbin/tcpd - it's unreadable on RHEL 5.4.
[libguestfs.git] / appliance / init
index 02d2b72..fe135b4 100755 (executable)
@@ -33,6 +33,10 @@ else
   modprobe virtio_net
 fi
 
+if grep -sq selinux=1 /proc/cmdline; then
+  mount -t selinuxfs none /selinux
+fi
+
 modprobe dm_mod ||:
 
 ifconfig lo 127.0.0.1
@@ -44,6 +48,7 @@ lvm vgchange -ay --ignorelockingfailure
 
 # Keep these to enhance the usefulness of debug output.
 ls -l /dev
+cat /proc/mounts
 lvm pvs
 lvm vgs
 lvm lvs