FreeBSD Bugzilla – Attachment 10176 Details for
Bug 20477
Document syslogd's special treatment of kern messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.53 KB, created by
Gregory Bond
on 2000-08-08 03:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Gregory Bond
Created:
2000-08-08 03:40:00 UTC
Size:
1.53 KB
patch
obsolete
>Index: syslog.conf.5 >=================================================================== >RCS file: /usr/ncvs/src/usr.sbin/syslogd/syslog.conf.5,v >retrieving revision 1.16 >diff -u -r1.16 syslog.conf.5 >--- syslog.conf.5 2000/03/01 14:08:36 1.16 >+++ syslog.conf.5 2000/08/08 02:34:08 >@@ -224,6 +224,24 @@ > disables a particular > .Em facility . > .Pp >+If a syslog message is received for the facility >+.Em kern , >+but is not received directly from the kernel via the >+.Pa /dev/klog >+device, then >+.Xr syslogd >+silently translates the facility to >+.Em user . >+In particular, this means that when sending kernel logging messages to >+a remote loghost, they will be processed as facility >+.Em user >+on the remote system. >+This also means it is not possible to inject >+.Em kern >+messages using the >+.Xr logger 1 >+or similar program. >+.Pp > The > .Em action > field of each line specifies the action to be taken when the >Index: syslogd.8 >=================================================================== >RCS file: /usr/ncvs/src/usr.sbin/syslogd/syslogd.8,v >retrieving revision 1.22 >diff -u -r1.22 syslogd.8 >--- syslogd.8 2000/03/01 14:08:36 1.22 >+++ syslogd.8 2000/08/08 02:36:48 >@@ -184,6 +184,14 @@ > This priority code should map into the priorities defined in the > include file > .Aq Pa sys/syslog.h . >+If the priority code maps to the facility >+.Em kern , >+but the message is not received via the >+.Pa /dev/klog >+device, then >+.Nm >+silently changes the facility code to >+.Em user . > .Sh FILES > .Bl -tag -width /var/run/syslog.pid -compact > .It Pa /etc/syslog.conf
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20477
: 10176