[Pkg-salt-team] Bug#770909: salt: Crash when unicode characters appear in file or command output
Joe Healy
joehealy at gmail.com
Tue Nov 25 04:41:45 UTC 2014
Package: salt
Version: 2014.1.13+ds-1
Severity: normal
Dear Maintainer,
When a unicode character appears in the output of a command or a diff of a
file, then salt command crashes
* What led up to the situation?
Changing a file with a unicode character on the same line or running a command
with some non ascii output
* What outcome did you expect instead?
It should not crash because of non ascii output.
There are a number of upstream bugs regarding this:
https://github.com/saltstack/salt/issues/16651
https://github.com/saltstack/salt/issues/16713
https://github.com/saltstack/salt/issues/18053
The fix for these is equivalent and is done by ensuring that the output can be
converted to ascii (either by trying multiple encodings or using python's repr
function)
-- System Information:
Debian Release: 7.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
More information about the pkg-salt-team
mailing list