Public bug reported:

Binary package hint: asterisk

Package: asterisk-classic 1:1.2.7.1.dfsg-2ubuntu3.4
on Dapper i386

Hi!

"/etc/init.d/asterisk logger-reload" prints out NUL bytes before each
line:

^M  == Parsing '/etc/asterisk/logger.conf': Found
[EMAIL PROTECTED] Event Logger restarted
[EMAIL PROTECTED] Queue Logger restarted
[EMAIL PROTECTED] 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 PROTECTED]
<[EMAIL PROTECTED]> R=local_user T=local_cyrus_delivery: LMTP
error after end of data: 554 5.6.0 Message contains NUL characters

I don't know which package is to blame
(asterisk,logrotate,cron,exim4,cyrus), so I'll start at the source...

Maybe you could add a "| sed -e 's/[\x0\xD]//igm'" in the initscript...

Ciao

Martin

** Affects: asterisk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
output of asterisk logger-reload contains NUL bytes
https://bugs.launchpad.net/bugs/133446
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to