[Bug 823] New: Prevent non-critical kernel messages from going to console

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sat May 1 22:20:15 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=823

           Summary: Prevent non-critical kernel messages from going to
                    console
           Product: LFS Bootscripts
           Version: CVS
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: LFS
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: jeremy at linuxfromscratch.org
         QAContact: lfs-book at linuxfromscratch.org


Coming from LFS bugzilla bug # 800:

Hello,

When I'm running the my firewall (build from the blfs-book) all log-messages 
are posted to /var/log/kern.log and to the active console. To avoid kernel 
messages that are non-critical to be displayed on console I recommend to 
replace "loadproc klogd" with "loadproc klogd -c 1" in $rc_base/init.d/sysklogd.

This is not only a problem of the firewall itself but those kernel messages 
also appear when the network cable is disconnected from the network-card. In my 
eyes those informal messages are best stored in the logfiles.

The values for the parameter "-c" can be found in /usr/include/linux/kernel.h. 
Search for KERN_EMERG to see the values (0-7) for this parameter.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the lfs-book mailing list