cdown / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0098-umount-exclude-selinuxfs-from-all.patch

05ad79
From 92da0dea47ffceffb4a049a0a1094e41e212ceee Mon Sep 17 00:00:00 2001
05ad79
From: Karel Zak <kzak@redhat.com>
05ad79
Date: Thu, 9 Feb 2017 11:21:49 +0100
05ad79
Subject: [PATCH 098/116] umount: exclude selinuxfs from --all
05ad79
05ad79
Upstream: https://github.com/karelzak/util-linux/commit/9e66fd30d7bfbd7279db6100830aa9045d0255ca
05ad79
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1417722
05ad79
Signed-off-by: Karel Zak <kzak@redhat.com>
05ad79
---
05ad79
 sys-utils/umount.c | 2 +-
05ad79
 1 file changed, 1 insertion(+), 1 deletion(-)
05ad79
05ad79
diff --git a/sys-utils/umount.c b/sys-utils/umount.c
05ad79
index 9c47744..48483dc 100644
05ad79
--- a/sys-utils/umount.c
05ad79
+++ b/sys-utils/umount.c
05ad79
@@ -605,7 +605,7 @@ int main(int argc, char **argv)
05ad79
 
05ad79
 	if (all) {
05ad79
 		if (!types)
05ad79
-			types = "noproc,nodevfs,nodevpts,nosysfs,norpc_pipefs,nonfsd";
05ad79
+			types = "noproc,nodevfs,nodevpts,nosysfs,norpc_pipefs,nonfsd,noselinuxfs";
05ad79
 
05ad79
 		mnt_context_set_fstype_pattern(cxt, types);
05ad79
 		rc = umount_all(cxt);
05ad79
-- 
05ad79
2.9.3
05ad79