[PATCH 58/67] policycoreutils: semanage: FIXME If you do a semanage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


This patch looks good to me. acked.

The previous patch gave the wrong args.  Verified in RHEL6 testing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5yWgIACgkQrlYvE4MpobPC+wCgtzLap8APd5Sqkjk88TCDcUeB
yfEAoJPRQOWjUlzhY8w+WAeD/+RlkXlz
=0hd+
-----END PGP SIGNATURE-----
>From 3d12661e6cb4780207c9ff01cefc48b0459be8a3 Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Fri, 2 Sep 2011 08:36:09 -0400
Subject: [PATCH 58/67] policycoreutils: semanage: FIXME If you do a semanage
 permissive -l, on an SELinux disabled machine
 semanage crashes with a python exception

Needs Review.

Signed-off-by: Dan Walsh <dwalsh@xxxxxxxxxx>
---
 policycoreutils/semanage/semanage |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/policycoreutils/semanage/semanage b/policycoreutils/semanage/semanage
index ca31483..2c0cfdd 100644
--- a/policycoreutils/semanage/semanage
+++ b/policycoreutils/semanage/semanage
@@ -576,4 +576,4 @@ Object-specific Options (see above):
 	except OSError, error:
 		errorExit(error.args[1])
 	except RuntimeError, error:
-		errorExit(error.args[1])
+		errorExit(error.args[0])
-- 
1.7.6.2


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux