* Patch to remove default encoding patch.
@ 2013-11-05 15:22 Daniel J Walsh
2013-11-06 14:45 ` Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2013-11-05 15:22 UTC (permalink / raw)
To: SELinux, Stephen Smalley
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The default encoding patch, was never upstreamed. default_encoding module
switched python2 to always use unicode. Potentially in some languages
semanage will blow up when errors are reported.
The need for this patch is going away in python3, which should be the default
in Fedora 21/22.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlJ5DT4ACgkQrlYvE4MpobMvrgCfcEvZY4q7F17q9dbYJrHJXpae
Ut8AoM2TP99Ca0/lJAjoMTGsqr50P35/
=BHTe
-----END PGP SIGNATURE-----
[-- Attachment #2: semanage_default_encoding.patch --]
[-- Type: text/x-patch, Size: 311 bytes --]
diff --git a/policycoreutils/semanage/semanage b/policycoreutils/semanage/semanage
index bd6c526..36b41cd 100644
--- a/policycoreutils/semanage/semanage
+++ b/policycoreutils/semanage/semanage
@@ -23,7 +23,6 @@
#
#
-import policycoreutils.default_encoding_utf8
import argparse
import seobject
import sys
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Patch to remove default encoding patch.
2013-11-05 15:22 Patch to remove default encoding patch Daniel J Walsh
@ 2013-11-06 14:45 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2013-11-06 14:45 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: SELinux, Sven Vermeulen
On 11/05/2013 10:22 AM, Daniel J Walsh wrote:
> The default encoding patch, was never upstreamed. default_encoding module
> switched python2 to always use unicode. Potentially in some languages
> semanage will blow up when errors are reported.
>
> The need for this patch is going away in python3, which should be the default
> in Fedora 21/22.
Pushed as policycoreutils-2.2.2.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-06 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05 15:22 Patch to remove default encoding patch Daniel J Walsh
2013-11-06 14:45 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.