Bug 3618 - regression: syslog.conf should not have tabs within the selector field
Summary: regression: syslog.conf should not have tabs within the selector field
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.2.2
Hardware: x86 Multiple
: Low normal
Target Milestone: 1.2.2
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-12-18 17:33 UTC by Stoicescu Cornel
Modified: 2013-01-08 04:23 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
syslog.conf (1.55 KB, application/octet-stream)
2012-12-18 17:33 UTC, Stoicescu Cornel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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