Comment 3 for bug 838471

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 838471] Re: pam_ecryptfs generates junk syslog output

On Thu, Sep 01, 2011 at 04:20:26PM -0000, Dustin Kirkland wrote:
> Hmm, Steve, how can you tell that it's pam_ecryptfs doing this?

A grep on all the modules I have installed for matching strings (and prior
knowledge that Linux-PAM's modules don't do such logging).

> Do I just have some debug flag/value higher than it should be in
> pam_ecryptfs?

The messages are being logged unconditionally at LOG_INFO level. I don't
think they should be logged at all unless debugging is somehow turned on for
the module - the information being logged isn't useful in the common case,
it just generates extra disk writes (and possibly extra network traffic,
depending on how syslog is configured).

The one thing I can't work out is why these log messages aren't being logged
to /var/log/auth.log, which is where I have LOG_AUTH, LOG_AUTHPRIV
configured to go on my machine (and where all other PAM-related logging
messages go). But that's a separate issue...

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>