[Bug 1083361] New: firewalld fails to work with utf strings while building in OBS/osc
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361 Bug ID: 1083361 Summary: firewalld fails to work with utf strings while building in OBS/osc Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: luizluca@tre-sc.jus.br QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, If a package adds a new firewalld file (zone,service) that includes utf-8 character, firewall(-offline)-cmd cannot manipulate it while building. I get this error: [ 26s] ERROR: Failed to load zone file '/usr/lib/firewalld/zones/foo.xml': [ 26s] 'utf-8' codec can't encode characters in position 147-148: surrogates not allowed And foo do have this header, that defines encoding: <?xml version="1.0" encoding="utf-8"?> The problem is that obs/osc sets LC_ALL=POSIX and python cannot deal with utf-8 this way: $ LC_ALL=POSIX python3 -c '"xá"' Unable to decode the command from the command line: UnicodeEncodeError: 'utf-8' codec can't encode characters in position 2-3: surrogates not allowed I guess firewalld should work with utf-8 independently of LC_ALL=POSIX. Or OBS should set LC_ALL to something different. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361#c1
--- Comment #1 from Luiz Angelo Daros de Luca
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361#c2
Stefan Brüns
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361
Stefan Brüns
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361#c3
Luiz Angelo Daros de Luca
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361#c4
Stefan Brüns
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361
http://bugzilla.opensuse.org/show_bug.cgi?id=1083361#c5
Markos Chandras
participants (1)
-
bugzilla_noreply@novell.com