Bug 235856 - Recent change in syslog format broke logwatch
Recent change in syslog format broke logwatch
Product: Fedora
Classification: Fedora
Component: sysklogd (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-04-10 11:12 EDT by Jost Diederichs
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-11 11:57:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jost Diederichs 2007-04-10 11:12:33 EDT
Description of problem:
Where there used to be one space after the hostname in the syslog files there
are now two spaces. This brakes various logwatch scripts. Some helper scripts
like 'onlyservice', 'multiservice', 'removeheaders', and 'removeservice', as
well as some service scripts like 'postfix'. 

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

Generally, replacing the regexp "^... .. ..:..:.. [^ ]* $ServiceName" with "^...
.. ..:..:..[ ]*[^ ]* $ServiceName" will fix the problem.

The double space in sysklogd could of course be a mistake and one should fix
that instead?
Comment 1 Peter Vrabec 2007-04-11 11:57:39 EDT
fixed in sysklogd-1.4.2-4.fc7

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