Change in vdsm[master]: selinux.restorecon: encode filename to utf-8 string

danken at redhat.com danken at redhat.com
Tue Aug 12 16:22:45 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: selinux.restorecon: encode filename to utf-8 string
......................................................................


selinux.restorecon: encode filename to utf-8 string

selinux python bindings take only a char * as input, not a unicode
string (C.f. https://bugzilla.redhat.com/908916). For this reason, we
need to encode a potential unicode string into a utf-8 char string.

Change-Id: Ibca42d47d5a241f864fa5818996734cce9955fe6
Bug-Url: https://bugzilla.redhat.com/1128074
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/31388
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/network/configurators/ifcfg.py
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Antoni Segura Puimedon: Verified
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/31388
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibca42d47d5a241f864fa5818996734cce9955fe6
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list