dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

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

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