[Bug 822424] New: cron is flooding /var/log/messages
https://bugzilla.novell.com/show_bug.cgi?id=822424 https://bugzilla.novell.com/show_bug.cgi?id=822424#c0 Summary: cron is flooding /var/log/messages Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wvvelzen@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 Following messages are in /var/log/messages every 15 minutes: 2013-05-30T16:15:01.462234+02:00 vmhost /usr/sbin/cron[13925]: pam_unix(crond:session): session opened for user root by (uid=0) 2013-05-30T16:15:01.493598+02:00 vmhost /USR/SBIN/CRON[13925]: pam_unix(crond:session): session closed for user root This is probably triggered by the following line in /etc/crontab: # # check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly # -*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1 It started after I did a 'zypper up' followed by a reboot on May 16th. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c1
--- Comment #1 from Wilfred van Velzen
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c2
Boris Wesslowski
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c3
--- Comment #3 from Wilfred van Velzen
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c4
--- Comment #4 from Boris Wesslowski
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c5
--- Comment #5 from Wilfred van Velzen
Looks like you pasted it wrong, did you make sure it's all in one line (use_uid is at the end)?
Of course I did... Can the white space be spaces, or do they need to be tabs, as I see in the other lines? (I'm testing this now btw) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c6
--- Comment #6 from Wilfred van Velzen
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c
Wojtek Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c7
Wojtek Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c8
Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c9
--- Comment #9 from Wilfred van Velzen
This issue doesn't exist in 13.1,
Yes it does. I'm seeing it on both the machines I have running 13.1 x86_64. One is an upgraded 12.3 server, the other is a freshly (yesterday) installed virtual machine... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c10
--- Comment #10 from Boris Wesslowski
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c11
Christian Kornacker
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c12
--- Comment #12 from Boris Wesslowski
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c13
--- Comment #13 from Wilfred van Velzen
If there is no specific reason to use pam_unix, you could switch to pam_unix2 which provides similar services:
I don't know why and if I need pam_unix. I don't even know what it is. It was just there after the update, or maybe already there from the installation of the OS. It's probably installed because of some package dependency, or because it's a default package. If it's not needed, there is where it needs fixing... If it is needed because of some dependency issue. It shouldn't log every 15 minutes in it's default configuration after installation! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822424
https://bugzilla.novell.com/show_bug.cgi?id=822424#c14
Wojtek Dziewięcki
participants (1)
-
bugzilla_noreply@novell.com