Package: cron
Version: 3.0pl1-86
Severity: wishlist
My disk doesn't stay spun-down very long, even with laptop-mode. I
discovered the problem was syslog doing syncs to auth.log whenever a
cron job runs. (I have a package, lockout, that runs a cron job every
minute.) cron logs to auth.log because it has "@include common-session"
in its PAM config, and common-session uses pam_unix. The log lines look
like
Feb 1 20:07:01 localhost CRON[25041]: (pam_unix) session opened for user
root by (uid=0)
Feb 1 20:07:01 localhost CRON[25041]: (pam_unix) session closed for user
root
I would suggest leaving common-session out of the PAM config, because a
cron job is not really a session in the normal sense. It really doesn't
make sense for every cron job to be logged in auth.log. (If you want to
log them, daemon.log would probably be better.)
Another way to solve my problem would be to change syslog.conf so that
auth.log is not synced. However, this seems sub-optimal because real
authorization events are pretty important.
Andrew
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages cron depends on:
ii adduser 3.59 Add and remove users and groups
ii debianutils 2.11.2 Miscellaneous utilities specific t
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libpam0g 0.76-22 Pluggable Authentication Modules l
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]