output of asterisk logger-reload contains NUL bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
asterisk (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: asterisk
Package: asterisk-classic 1:1.2.7.
on Dapper i386
Hi!
"/etc/init.
^M == Parsing '/etc/asterisk/
^@Asterisk Event Logger restarted
^@Asterisk Queue Logger restarted
^@Verbosity is at least 4
This script is called by logrotate, and logrotate's output is in turn sent via mail by cron. So the mail from cron still contains the NUL bytes.
When exim tries to deliver the report to my mailbox on cyrus, I get this in the mail log:
1IMcOL-0001Tq-JL ** <email address hidden> <email address hidden> R=local_user T=local_
I don't know which package is to blame (asterisk,
Maybe you could add a "| sed -e 's/[\x0\xD]//igm'" in the initscript...
Ciao
Martin
Is this symptom still reproducible in 8.10 beta or later?