Bug#792777: fails to send email on failure; falls over on circle at start of systemctl status

Alexandre Detiste alexandre.detiste at gmail.com
Sat Jul 18 14:25:06 BST 2015


control: tag -1 moreinfo

Hi,

I can't find the correct environnement needed to reproduce this bug.

This should work both in UTF-8 & Ascii mode.

When systemctl detect it is run with LANG=C LC_CTYPE=C, the circle got replaced by a star (*).

I expect mail_on_failure.py & systemctl would always share the same environment,
so I can't se ho this error happens.


Can you communicate the env values needed to trigger this bug ?

Here is a little tweak to run pgm repeatedly without sending a ton of mails.

-p = Popen(['sendmail','-i','-B8BITMIME',mailto], stdin=PIPE)
+p = Popen(['cat'], stdin=PIPE)

> So, the 0xe2 it falls over on is the very first character, the circle
> 
> ● cron-joey-joey-1.service - [Cron] "@reboot mpd"

> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
This seems ok

Alexandre Detiste

PS: maybe that would go away with python 3.5
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784330#25




More information about the Pkg-systemd-maintainers mailing list