Bug 3618

Summary: regression: syslog.conf should not have tabs within the selector field
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: configurationAssignee: Scott Garman <scott.a.garman>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Low CC: sgw
Version: 1.2.2   
Target Milestone: 1.2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
syslog.conf none

Description Stoicescu Cornel 2012-12-18 17:33:50 UTC
Created attachment 985 [details]
syslog.conf

I understand this was fixed. I reproduced it with branch:poky-contrib commit: sgarman/denzil-next-pull4

As per decisions in mail "New workflow for bugs targeted to previous builds" I am opening a new bug under 1.2.2 version as the original bug is under 1.3 .

Original bug text:


Currently the syslog.conf file contains tabs / spaces, within the selector field. (current syslog.conf attached). On LSB images (afaik), where sysklogd is used, syslog is not creating /var/log/messages and, on restart, syslog reports errors of unknown facilities or priorities (e.g. noone, noice, new).

Tabs or spaces should be used in syslog.conf only when separating selectors from actions. From sysklogd's syslog.conf.5 man page:
"""
Every rule consists of two fields, a _selector_ field and an _action_ field. These two fields are separated by one or more spaces or tabs. The selector field specifies a pattern of facilities and priorities belonging to the specified action.
[...]
The selector field consists of two parts, a _facility_ and a _priority_, separated by a period (``.'').
"""
Comment 2 Scott Garman 2013-01-08 04:23:37 UTC
Fixed in oe-core and poky denzil as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=denzil&id=2ccb03f9b71db3bace4e60fafafcc2c80bd8b48f