problem with linux 2.6.11 and sa

From: George Georgalis (george_at_galis.org)
Date: 03/03/05

  • Next message: James Chapman: "Re: [PATCH: 2.6.11-rc5] i2c chips: add adt7461 support to lm90 driver"
    Date:	Thu, 3 Mar 2005 12:34:59 -0500
    To: Linux Kernel Mail List <linux-kernel@vger.kernel.org>
    
    

    Please keep me in cc as I'm not presently subscribed to lkml)

    I recall a problem a while back with a pipe from
    /proc/kmsg that was sent by root to a program with a
    user uid. The fix was to run the logging program as
    root. Has that protected pipe method been extended
    since 2.6.8.1?

    I'm very defiantly seeing a problem with the 2.6.11
    kernel and my spamassassin setup. However, it's not
    clear exactly where the problem is, seems like sa
    but it might be 2.6.11 with daemontools + qmail +
    QMAIL_QUEUE.

    A sure sign of it is no logs (with debug) for
    remote sa connections which score "0/0" and correct
    operation with local "cat spam.txt | spamc -R"; fix
    is to use the older kernel.

    SA has stopped stdout logging completely with 2.6.11
    in addition to the all pass score. But the message
    seems to go through my temp queue (for testing) and
    sent on to my local MDA. I'm not sure if it's a sa
    problem with the kernel or the new kernel doing
    something new with pipes from tcp connections.
    Maybe the new kernel is not making files available
    (eg 0 bytes), until the writing pipe is closed?
    That would make my SA test a zero byte file, which
    would pass, close, become full, and the file piped
    to local MDA is full? ...humm then I'd get a score
    of "0/5"... this sounds like a SA problem with the
    new kernel, ideas?

    // George

    -- 
    George Georgalis, systems architect, administrator Linux BSD IXOYE
    http://galis.org/george/ cell:646-331-2027 mailto:george@galis.org
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: James Chapman: "Re: [PATCH: 2.6.11-rc5] i2c chips: add adt7461 support to lm90 driver"

    Relevant Pages

    • problem with linux 2.6.11 and sa
      ... I recall a problem a while back with a pipe from ... /proc/kmsg that was sent by root to a program with a ... The fix was to run the logging program as ... kernel and my spamassassin setup. ...
      (Linux-Kernel)
    • Re: create named pipe in kernel driver?
      ... Though I can give you example how to open pipes within kernel mode, but it won't help you with remoting. ... In kernel pipe name has different ... my driver on a remote machine aswell, without any extra code for sending it over the network. ... create a named pipe from a kernel driver? ...
      (microsoft.public.win32.programmer.kernel)
    • Re: [9fans] Why do we need syspipe() ?
      ... On Jan 4, 2009, at 10:20 PM, Russ Cox wrote: the pipe system call using #|. ... a service the kernel provides. ... for fish; you get fish? ... If iostats tries to interpose on everything ...
      (comp.os.plan9)
    • Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support
      ... the same thread is allowed to continue execution even if the system call ... the kernel switches the user-space ... returns to user-space as if nothing happened - allowing the user-space ... context to 'fill the pipe' as much as it can. ...
      (Linux-Kernel)