diff --git a/library/system/setup b/library/system/setup index 5e4c76c3f3c..f8f7926e840 100644 --- a/library/system/setup +++ b/library/system/setup @@ -1633,7 +1633,7 @@ class LinuxVirtual(Virtual): return # Beware that we can have both kvm and virtualbox running on a single system - if os.path.exists("/proc/modules"): + if os.path.exists("/proc/modules") and os.access('/proc/modules', os.R_OK): modules = [] for line in open("/proc/modules").readlines(): data = line.split(" ", 1)