Hello community, here is the log from the commit of package logdigest for openSUSE:Factory checked in at Fri Mar 19 10:22:54 CET 2010. -------- --- logdigest/logdigest.changes 2009-08-19 14:02:53.000000000 +0200 +++ /mounts/work_src_done/STABLE/logdigest/logdigest.changes 2009-11-05 16:37:33.000000000 +0100 @@ -1,0 +2,17 @@ +Thu Nov 5 15:32:51 UTC 2009 - poeml@cmdline.net + +- update to 0.2.4: + - XFS defragmentizer: ignore "fsr[31435]: ino=687296846: zero size, ignoring" + type messages + - ignore start message from fsr (XFS defragmentizer), when it logs a + mountpoint instead of a device. + - APPARMOR_HINT messages are only used as hint to the Apparmor profiling tool + when forking a program that is in learn mode. + +------------------------------------------------------------------- +Tue Oct 27 21:07:17 UTC 2009 - crrodriguez@opensuse.org + +- if EXTENDED_STATS is set to yes, cronjob fails + due to the missing dependency on procinfo package + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- logdigest-0.2.3.tar.bz2 New: ---- logdigest-0.2.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ logdigest.spec ++++++ --- /var/tmp/diff_new_pack.vdatD4/_old 2010-03-19 10:21:52.000000000 +0100 +++ /var/tmp/diff_new_pack.vdatD4/_new 2010-03-19 10:21:52.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package logdigest (Version 0.2.3) +# spec file for package logdigest (Version 0.2.4) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: logdigest Url: http://sourceforge.net/projects/logdigest -Version: 0.2.3 +Version: 0.2.4 Release: 1 Summary: Mail Digests of System Log Files to the System Administrator License: GNU General Public License (GPL) @@ -33,7 +33,8 @@ #Patch: logdigest-0.1.7-ignores.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1010 -Recommends: cron +# procinfo is needed when EXTENDED_STATS=yes +Recommends: cron procinfo %endif %description @@ -67,8 +68,10 @@ %install make DESTDIR=$RPM_BUILD_ROOT install + mkdir -p %{buildroot}/usr/share/logdigest cp -p %{S:1} %{buildroot}/usr/share/logdigest/ + mkdir -p %{buildroot}/etc/cron.d cat >%{buildroot}/etc/cron.d/logdigest-all-ignores-autogeneration <<-EOF # Cron snippet which concatenates the ignore files into a single file @@ -76,6 +79,7 @@ # # That file can be used by other programs (e.g. eddie-tool) for # log-scanning. + -*/30 * * * * root /usr/share/logdigest/logdigest-all-ignores-autogeneration EOF @@ -93,6 +97,7 @@ if [ ${FIRST_ARG:-0} -gt 1 ]; then exit 0 fi + # remove .local conf files if empty cd etc/logdigest for i in alarming ignore; do ++++++ logdigest-0.2.3.tar.bz2 -> logdigest-0.2.4.tar.bz2 ++++++ ++++ 8864 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/logdigest-0.2.3/ChangeLog new/logdigest-0.2.4/ChangeLog --- old/logdigest-0.2.3/ChangeLog 2009-08-19 14:04:59.000000000 +0200 +++ new/logdigest-0.2.4/ChangeLog 2009-11-05 16:29:48.000000000 +0100 @@ -1,4 +1,48 @@ ------------------------------------------------------------------------ +r133 | poeml | 2009-11-05 16:28:05 +0100 (Thu, 05 Nov 2009) | 1 line +Changed paths: + M /trunk/VERSION + +bump version (0.2.4) +------------------------------------------------------------------------ +r132 | poeml | 2009-10-26 15:20:15 +0100 (Mon, 26 Oct 2009) | 2 lines +Changed paths: + M /trunk/config/ignore + +XFS defragmentizer: ignore "fsr[31435]: ino=687296846: zero size, ignoring" type messages + +------------------------------------------------------------------------ +r131 | poeml | 2009-10-07 23:12:52 +0200 (Wed, 07 Oct 2009) | 1 line +Changed paths: + M /trunk/TODO + +add suggestion from Christian Boltz to TODO +------------------------------------------------------------------------ +r130 | poeml | 2009-09-25 12:13:55 +0200 (Fri, 25 Sep 2009) | 1 line +Changed paths: + M /trunk/config/ignore + +APPARMOR_HINT messages are only used as hint to the Apparmor profiling tool when forking a program that is in learn mode. +------------------------------------------------------------------------ +r129 | poeml | 2009-08-20 12:49:14 +0200 (Thu, 20 Aug 2009) | 2 lines +Changed paths: + M /trunk/config/ignore + +ignore start message from fsr (XFS defragmentizer), when it logs a mountpoint instead of a device. + +------------------------------------------------------------------------ +r128 | poeml | 2009-08-19 14:49:16 +0200 (Wed, 19 Aug 2009) | 1 line +Changed paths: + M /trunk/HOW_TO_RELEASE + +update step-by-step release instructions +------------------------------------------------------------------------ +r126 | poeml | 2009-08-19 14:05:07 +0200 (Wed, 19 Aug 2009) | 1 line +Changed paths: + M /trunk/ChangeLog + +update in-tree Changelog +------------------------------------------------------------------------ r125 | poeml | 2009-08-19 14:04:37 +0200 (Wed, 19 Aug 2009) | 1 line Changed paths: M /trunk/HOW_TO_RELEASE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/logdigest-0.2.3/config/config new/logdigest-0.2.4/config/config --- old/logdigest-0.2.3/config/config 2009-08-19 14:05:21.000000000 +0200 +++ new/logdigest-0.2.4/config/config 2009-11-05 16:30:27.000000000 +0100 @@ -3,7 +3,7 @@ # it's sourced from logdigest.sh # logfiles to examine -LOGFILES="/var/log/messages /var/log/mail /var/log/audit/audit.log" +LOGFILES="/var/log/messages /var/log/mail" # person to send log activity to. # put the email address here. Multiple addressess are allowed: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/logdigest-0.2.3/config/ignore new/logdigest-0.2.4/config/ignore --- old/logdigest-0.2.3/config/ignore 2009-08-19 13:45:22.000000000 +0200 +++ new/logdigest-0.2.4/config/ignore 2009-10-26 15:17:24.000000000 +0100 @@ -400,6 +400,7 @@ LOG5.*: Connection closed Audit daemon rotating +APPARMOR_HINT smartd\[.*Airflow_Temperature_Cel changed @@ -414,16 +415,18 @@ fsr\[.*\]: extents before: fsr\[.*\]: ino=[0-9]*$ fsr\[.*\]: ino=[0-9]*: file modified defrag aborted - fsr\[.*\]: /dev/.* start inode= + fsr\[.*\]: /.* start inode= fsr\[.*\]: xfs_fsr -m /etc/mtab -t [0-9]* fsr\[.*\]: Completed all 10 passes fsr\[.*: file busy$ fsr\[.* already fully defragmented\.$ fsr\[.* xfs_fsr startpass fsr\[.* No improvement + fsr\[.* zero size, ignoring rrpm atd.*: PAM audit_log_acct_message\(\) failed: Operation not permitted yum: (Installed|Updated|Erased): + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/logdigest-0.2.3/TODO new/logdigest-0.2.4/TODO --- old/logdigest-0.2.3/TODO 2009-06-03 20:38:43.000000000 +0200 +++ new/logdigest-0.2.4/TODO 2009-10-25 22:15:37.000000000 +0100 @@ -24,7 +24,31 @@ see https://bugzilla.novell.com/show_bug.cgi?id=219296 +- https://bugzilla.novell.com/show_bug.cgi?id=436313 + Suggestion from Christian Boltz: + + > Logdigest is a nice tool and it comes with quite good preconfiguration. + > + > However, sometimes it hits back that alarming matches on words like "REJECT" + > because it makes it basically impossible to monitor /v/l/mail (I have 50.000 + > REJECT'ed spam mails per day - guess how large the logdigest mail would be ;-) + > + > Yes, I could modify the alarming file - but this is not the best solution + > because of expected problems on the next update ;-) + > + > The better solution would be an option to exclude patterns from the alarming + > list. On the programming side, would look like + > + > cat logfile | grep -f alarming -f alarming.local | grep -vf noalarming.local + > + > I could then keep REJECT in alarming, but grep away the well-known reject + > reasons like blacklist hits via noalarming.local. Unexpected reject reasons + > would still be listed in the logdigest mail. + + Note for a possible rewrite in python: - logtail saves the inode (to check for rotation), which would be os.stat('/var/log/messages').st_ino in python otherwise it passes through the file, and saves the offset - for escaping non-displayable characters, could use binascii.b2a_qp() + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/logdigest-0.2.3/VERSION new/logdigest-0.2.4/VERSION --- old/logdigest-0.2.3/VERSION 2009-08-19 13:48:44.000000000 +0200 +++ new/logdigest-0.2.4/VERSION 2009-11-05 16:27:52.000000000 +0100 @@ -1 +1 @@ -0.2.3 +0.2.4 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org