Bug 156089

Summary: Output in unmatched entries section of SSHD runs together as one long line
Product: Red Hat Enterprise Linux 2.1 Reporter: Martin Gottlieb <martin>
Component: logwatchAssignee: Ivana Varekova <varekova>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: jpdalbec
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-29 10:38:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Gottlieb 2005-04-27 13:54:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

Description of problem:
Need newline between entries - change line 243 in sshd script 

from:

print @OtherList;

to:  

print join( "\n", @OtherList );

Version-Release number of selected component (if applicable):
logwatch-2.6-2.EL2

How reproducible:
Always

Steps to Reproduce:
1. Run logwatch script
2. Review results
3.
  

Actual Results:  Entries in "unmatched entries" sub-section of the SSHD service section
are run together as one long line and are difficult to read.

Expected Results:  Each entry should appear on a separate line.

Additional info:

Comment 1 John Dalbec 2005-05-02 13:01:50 UTC
--- sshd        Mon May  2 08:52:46 2005
+++ /etc/log.d/scripts/services/sshd    Mon May  2 08:53:02 2005
@@ -240,7 +240,7 @@
 
    if ($#OtherList >= 0) {
       print "\n**Unmatched Entries**\n";
-      print @OtherList;
+      print join "\n", @OtherList;
    }
 
    print "\n\n ---------------------- SSHD End ------------------------- \n\n";

Comment 2 Ivana Varekova 2005-08-29 10:38:57 UTC
This does not meet the requirements for RHEL 2.1, which is currently in
maintenance mode; as such, this won't be fixed for 2.1.