dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

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

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