-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 semanage was blowing up on platforms that did not support audit, this patch fixes this. This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJpNVQACgkQrlYvE4MpobN0NQCeIh3a1Xu9FtmeBLbqRj9b9for Vu0AoKzY600g0RSwqUUXEDWx3bx7hmpp =GbaH -----END PGP SIGNATURE-----
>From 274ea7f7134acd639af28467dcbcc9da49def0fe Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@xxxxxxxxxx> Date: Fri, 11 Oct 2013 08:50:06 -0400 Subject: [PATCH 48/74] Fix bug in logger. If you do not use auding, the syslog calls blows up because of this bug. --- policycoreutils/semanage/seobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py index 4e9588f..511daec 100644 --- a/policycoreutils/semanage/seobject.py +++ b/policycoreutils/semanage/seobject.py @@ -104,7 +104,7 @@ except: self.log_list=[] def log(self, msg, name = "", sename = "", serole = "", serange = "", oldsename = "", oldserole = "", oldserange = ""): - message += " %s name=%s" % (msg, name) + message = " %s name=%s" % (msg, name) if sename != "": message += " sename=" + sename if oldsename != "": -- 1.8.3.1