Bug 292651 - Sys::Syslog: Trailing #012#000
Sys::Syslog: Trailing #012#000
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-09-16 18:23 EDT by Jan Kratochvil
Modified: 2008-02-27 07:22 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-27 07:22:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
The incomplete fix. (799 bytes, patch)
2007-09-16 18:23 EDT, Jan Kratochvil
no flags Details | Diff

  None (edit)
Description Jan Kratochvil 2007-09-16 18:23:13 EDT
Description of problem:
All the perl-generated syslog messages now have trailing excessive #012#000

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. perl -MSys::Syslog -e 'syslog "info","abc";'

Actual results:
Sep 17 00:17:59 host0 lace: abc#012#000

Expected results:
Sep 17 00:17:44 host0 lace: abc

Additional info:
There is a similiar tracked bug:
The attached fix is not completely correct:
The trailing "\0" is expected iff AF_UNIX+SOCK_STREAM connection is used.
  (But there are IMO other bugs preventing to use AF_UNIX+SOCK_STREAM even
   if one would like to force Sys::Syslog to use it.)
The trailing "\n" is expected iff stderr is used.
Comment 1 Jan Kratochvil 2007-09-16 18:23:13 EDT
Created attachment 196811 [details]
The incomplete fix.
Comment 2 Marcela Mašláňová 2008-02-27 07:22:21 EST
I didn't reproduce it. I'd similar problem with cron some time ago, so that was
problem of rsyslog.

Note You need to log in before you can comment on or make changes to this bug.