Bug#132873: klogd: could you be more specific ?

2005-01-30 Thread Olivier Berger
Olivier Berger <[EMAIL PROTECTED]> writes:

> OK. I see... so it should probably be a request filed on procps (which
> provides sysctl) in order to have /etc/sysctl.conf changed in order to
> have something like :
>
> kernel.printk = 4   4   1   7
>
> by default in there.
>
> I doubt most users would need to have less important messages than
> errors displayed on the console.
>
> I'll file a bug-report on procps.
>

FYI, #292834

-- 
Olivier BERGER (OpenPGP: 1024D/B4C5F37F)
APRIL (http://www.april.org) - Vive python (http://www.python.org)
Pétition contre les brevets logiciels : http://petition.eurolinux.org



Bug#132873: klogd: could you be more specific ?

2005-01-30 Thread Olivier Berger
Thanks very much.

OK. I see... so it should probably be a request filed on procps (which
provides sysctl) in order to have /etc/sysctl.conf changed in order to
have something like :

kernel.printk = 4   4   1   7

by default in there.

I doubt most users would need to have less important messages than
errors displayed on the console.

I'll file a bug-report on procps.

Best regards,

Georg Neis <[EMAIL PROTECTED]> writes:

> * Olivier Berger <[EMAIL PROTECTED]> wrote:
>> Martin Schulze wrote:
>> > Benjamin Drieu wrote:
>> > > 
>> > > I often have to install firewalls based on Debian and kernel logging
>> > > make console useless, so everytime I have to change klog init.d
>> > > scripts to add a "-c" option to avoid flooding the console.
>> > 
>> > That's what syctl is for and not klogd.
>> > 
>> 
>> Could you be more specific ?
>> 
>> I couldn't find information about "syctl" :(
>
> That shoud be "sysctl".
>
> $ man sysctl
> [...]
>sysctl  is used to modify kernel parameters at runtime.  The parameters
>available are those listed under /proc/sys/.
> [...]
>
> $ man proc
> [...]
>/proc/sys/kernel/printk
>   The  four values in this file are console_loglevel, default_mes-
>   sage_loglevel,minimum_console_level and default_con-
>   sole_loglevel.   These  values  influence printk() behavior when
>   printing or logging error messages. See syslog(2) for more  info
>   on  the  different  loglevels.   Messages with a higher priority
>   than console_loglevel will be printed to the console.   Messages
>   without  an  explicit  priority  will  be  printed with priority
>   default_message_level.  minimum_console_loglevel is the  minimum
>   (highest)   value   to   which   console_loglevel  can  be  set.
>   default_console_loglevel  is  the   default   value   for   con-
>   sole_loglevel.
> [...]
>


-- 
Olivier BERGER (OpenPGP: 1024D/B4C5F37F)
APRIL (http://www.april.org) - Vive python (http://www.python.org)
Pétition contre les brevets logiciels : http://petition.eurolinux.org



Bug#132873: klogd: could you be more specific ?

2005-01-29 Thread Georg Neis
* Olivier Berger <[EMAIL PROTECTED]> wrote:
> Martin Schulze wrote:
> > Benjamin Drieu wrote:
> > > 
> > > I often have to install firewalls based on Debian and kernel logging
> > > make console useless, so everytime I have to change klog init.d
> > > scripts to add a "-c" option to avoid flooding the console.
> > 
> > That's what syctl is for and not klogd.
> > 
> 
> Could you be more specific ?
> 
> I couldn't find information about "syctl" :(

That shoud be "sysctl".

$ man sysctl
[...]
   sysctl  is used to modify kernel parameters at runtime.  The parameters
   available are those listed under /proc/sys/.
[...]

$ man proc
[...]
   /proc/sys/kernel/printk
  The  four values in this file are console_loglevel, default_mes-
  sage_loglevel,minimum_console_level and default_con-
  sole_loglevel.   These  values  influence printk() behavior when
  printing or logging error messages. See syslog(2) for more  info
  on  the  different  loglevels.   Messages with a higher priority
  than console_loglevel will be printed to the console.   Messages
  without  an  explicit  priority  will  be  printed with priority
  default_message_level.  minimum_console_loglevel is the  minimum
  (highest)   value   to   which   console_loglevel  can  be  set.
  default_console_loglevel  is  the   default   value   for   con-
  sole_loglevel.
[...]

HTH.
-- 
Diskordier schwimmen nicht gegen den Strom, sie klettern aus dem Fluss.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#132873: klogd: could you be more specific ?

2005-01-29 Thread Olivier Berger
Package: klogd
Version: 1.4.1-16
Followup-For: Bug #132873


Martin Schulze wrote:
> Benjamin Drieu wrote:
> > 
> > I often have to install firewalls based on Debian and kernel logging
> > make console useless, so everytime I have to change klog init.d
> > scripts to add a "-c" option to avoid flooding the console.
> 
> That's what syctl is for and not klogd.
> 

Could you be more specific ?

I couldn't find information about "syctl" :(


I also second Benjamin's request.

I think it would be great if klogd could be configured without having to change 
the init script.

Thanks in advance.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-200501281
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages klogd depends on:
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  sysklogd [system-log-daemon 1.4.1-16 System Logging Daemon

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]