Overlaying /sys was causing hangs.

Maybe it should be bind mounted instead?
This commit is contained in:
Andrew Hamilton 2016-01-31 23:18:02 +00:00
parent 460d58bab1
commit 4f5867adae

View file

@ -52,8 +52,7 @@ def _parse_proc_mounts():
def _find_mounts():
all_mounts = set(part[1] for part in _parse_proc_mounts())
mount_points = {"/", "/usr", "/bin", "/etc", "/lib", "/dev", "/proc",
"/home", "/boot", "/opt", "/run", "/sys", "/root", "/var",
"/tmp"}
"/home", "/boot", "/opt", "/run", "/root", "/var", "/tmp"}
return all_mounts.intersection(mount_points)