From: Laurent Bigonville <bi...@bigon.be>

This fixes audit information that are being logged and a crash when the
python-audit binding is not installed.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734806
---
 policycoreutils/semanage/seobject.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policycoreutils/semanage/seobject.py 
b/policycoreutils/semanage/seobject.py
index 568ebfd..2edb050 100644
--- a/policycoreutils/semanage/seobject.py
+++ b/policycoreutils/semanage/seobject.py
@@ -575,6 +575,7 @@ class loginRecords(semanageRecords):
 
                if sename != "":
                        semanage_seuser_set_sename(self.sh, u, sename)
+                        self.sename = sename
                else:
                        self.sename = self.oldsename
                        
-- 
2.1.4


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to