@@ -1286,9 +1286,11 @@
if (strcmp(mnt, "/") == 0 || strcmp(mnt, "/sbin") == 0 ||
strcmp(mnt, "/bin") == 0 || strcmp(mnt, "/tmp") == 0 ||
strcmp(mnt, "/usr") == 0 || strncmp(mnt, "/usr/lib", 8) == 0 ||
- strncmp(mnt, "/etc", 4) == 0 || strncmp(mnt, "/proc", 5) == 0 ||
+ strcmp(mnt, "/etc") == 0 || strncmp(mnt, "/proc", 5) == 0 ||
strncmp(mnt, "/dev", 4) == 0 || strncmp(mnt, "/sys", 4) == 0 ||
- strncmp(mnt, "/var", 4) == 0 || strncmp(mnt, "/lib", 4) == 0)
+ strncmp(mnt, "/var", 4) == 0 || strncmp(mnt, "/lib", 4) == 0 ||
+ strncmp(mnt, "/lib64", 6) == 0 ||
+ strncmp(mnt, "/usr/lib64", 10) == 0)
continue;
if (umount2(mnt, MNT_DETACH) < 0 && errno != ENOENT) {
condlog(0, "failed to umount '%s' (%s). skipping", mnt, strerror(errno));