[DSE-Dev] Bug#734806: [PATCH] Set self.sename to sename after calling semanage_seuser_set_sename()

Stephen Smalley sds at tycho.nsa.gov
Thu Jul 16 16:30:10 UTC 2015


On 07/14/2015 01:07 PM, Laurent Bigonville wrote:
> From: Laurent Bigonville <bigon at 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

Thanks, applied.

> ---
>  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
>  			
> 



More information about the SELinux-devel mailing list