Bug 18133

Summary: broken logging
Product: [Retired] Red Hat Linux Reporter: Enrico Scholz <rh-bugzilla>
Component: mgettyAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-02 20:20:32 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 Enrico Scholz 2000-10-02 20:20:30 UTC
mgetty-1.1.22-1 has a bad logging-behavior because it outputs at
successful operations (loglevel L_MESG) the errno-string. An example
output is

| Sep 27 22:53:14 feldi mgetty[11711]: waiting...: No such file or
directory

The reason lies in mgetty-1.1.22-excl.patch removing the parts of logfile.c
which are handling harmless messages. Now 

| syslog( level == L_FATAL? LOG_ALERT: LOG_ERR, "%s: %m", ws );

will be called also if level is L_MESG only.

Comment 1 Bill Nottingham 2000-10-02 22:27:32 UTC

*** This bug has been marked as a duplicate of 17420 ***