Package: procps
Version: 1:3.2.7-11
Severity: normal

*** Please type your report below this line ***

Hi, this comment in /etc/sysctl.conf:

 # Uncomment the following to stop low-level messages on console
 #kernel.printk = 4 4 1 7

That last number 7 actually sets the default console level.  So if
anything comes along and calls the syscall to enable console printk,
then the first number 4 will be changed to 7.

Also it's setting the default level for unknown messages to the same
as the log threshold.  This could perhaps be higher.

How about changing the comment to read:

 # Uncomment the following to stop low-level messages on console
 # kernel.printk = 3 4 1 3

Actually as it turns out the only thing that is likely to be calling
that syscall in lenny is klogd if it can't read /proc/kmsg.  In etch
however the version there would change the first number to the last
number every time it shut down gracefully or was stopped with Ctrl+Z.

So there may be a case for klogd being more consistent about when it
calls the klogctl(7, NULL, 0) syscall - in one error path only seems
wrong.  I can file that as a separate bug to sysklogd.

Cheers,
Sam.

ps, ignore most of the system information below, it's of little
relevance.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.18-6-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=POSIX (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages procps depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

procps suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to