--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: metche: refuses to save testing state
- From: Ian Beckwith <ianb@debian.org>
- Date: Sat, 25 Jul 2009 17:13:52 +0100
- Message-id: <20090725161352.GA29803@owen.indymedia.org.uk>
Package: metche
Version: 1:1.1-4
Severity: normal
Hi,
metche 1:1.1-4 is refusing to save a testing state on a lenny vserver.
metche report unstable-<a snapshot over a day ago>
reports no changes.
attached: metche.conf and output of sh -x /usr/sbin/metche cron
running with sh -x reports:
++ find /etc /root/ChangeLog -path '*/*.swp' -prune -or -path '*/#*' -prune -or -path '*/*~' -prune -or -path '*/*.gpg' -prune -or -path '*/*.key' -prune -or -path '*/ifstate' -prune -or -path '*/adjtime' -prune -or -path '*/ld.so.cache' -prune -or -path '*/shadow*' -prune -or -path '*/.gnupg' -prune -or -path '*/blkid.tab*' -prune -or -path '*/aumixrc' -prune -or -path '*/net.enable' -prune -or -path '*/mtab' -prune -or -path '*/backup.d' -prune -or -path '*/vdirbase' -prune -or -path '*/run.rev' -prune -or -path '*/vdir' -prune -or -path '*/run.rev' -prune -or -path '*/prng_exch' -prune -or -path '*/smtp_scache.pag' -prune -or -path '*/smtpd_scache.pag' -prune -or -path '*/smtp_scache.dir' -prune -or -path '*/smtpd_scache.dir' -prune -or -path '*/local.sh' -prune -or -path '*/hosts.deny' -prune -or -path '*/*.bak' -prune -or -cmin -20 -print
+ '[' -z /etc ']'
So although no non-excluded files in /etc/ have changed, /etc itself
has changed (presumably directory entries have changed, i suspect
denyhosts is the culprit), and this is enough to stop it saving a
testing state.
Assuming I'm right, using find -mindepth 1 might be the answer, but you
would need to handle directories and Changelog files separately.
Ian.
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-vserver-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages metche depends on:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii mutt 1.5.18-6 text-based mailreader supporting M
ii ucf 3.0016 Update Configuration File: preserv
Versions of packages metche recommends:
ii apt-show-versions 0.15 lists available package versions w
ii gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP rep
Versions of packages metche suggests:
pn util-vserver <none> (no description available)
-- debconf information:
metche/changelog/file: /root/Changelog
metche/email: root@localhost
metche/changelog/type: Single changelog file
metche/changelog/directory: /root/changelogs
--
Ian Beckwith - ianb@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5 4814 40EC C154 A8BA C1EA
+ set -e
+ shopt -s nullglob
+ DEBUG=yes
+ WATCHED_DIR=/etc
+ BACKUP_DIR=/var/lib/metche
+ DO_PACKAGES=no
+ DO_DETAILS=no
+ TESTING_TIME=60
+ STABLE_TIME=3
++ hostname -f
+ EMAIL_ADDRESS=root@owen.indymedia.org.uk
+ ENCRYPT_EMAIL=no
+ EXCLUDES='*.swp #* *~ *.gpg *.key ifstate adjtime ld.so.cache shadow* .gnupg blkid.tab* aumixrc net.enable mtab backup.d vdirbase run.rev vdir run.rev prng_exch smtp_scache.pag smtpd_scache.pag smtp_scache.dir smtpd_scache.dir local.sh'
+ LOCALE=C
+ VSNAMES=
+ VSERVERINFO=/usr/sbin/vserver-info
+ VSERVER=/usr/sbin/vserver
+ _MAIL_SUBJECT='changes report'
+ _NO_DEBIAN_PACKAGES_CHANGE='No change in Debian packages state.'
+ _NO_CHANGE='No change.'
+ MAIN_HEADER='
c h a n g e s r e p o r t
---------------------------
'
+ CHANGELOGS_HEADER='
Changelogs
==========
'
+ FILES_HEADER='
Changed files
=============
'
+ DEBIAN_PACKAGES_HEADER='
Changes in Debian packages
==========================
'
+ FILES_DETAILS_HEADER='
Details for changed files
=========================
'
+ '[' cron = -h ']'
+ CMD=cron
+ MILESTONE=
+ '[' -f /etc/metche.conf ']'
+ . /etc/metche.conf
++ WATCHED_DIR=/etc
++ BACKUP_DIR=/var/lib/metche
++ CHANGELOG_FILE=/root/ChangeLog
++ DO_PACKAGES=yes
++ DO_DETAILS=no
++ TESTING_TIME=20
++ STABLE_TIME=3
++ EMAIL_ADDRESS=root@localhost
++ EXCLUDES='*.swp #* *~ *.gpg *.key ifstate adjtime ld.so.cache shadow* .gnupg blkid.tab* aumixrc net.enable mtab backup.d vdirbase run.rev vdir run.rev prng_exch smtp_scache.pag smtpd_scache.pag smtp_scache.dir smtpd_scache.dir local.sh
hosts.deny *.bak'
++ LOCALE=C
++ DEBUG=no
+ PATH=/bin:/usr/bin
+ unset LC_ALL
+ unset LC_CTYPE
+ unset LANGUAGE
+ unset LANG
+ umask 077
+ test '!' -d /etc/metche
+ test -z ''
+ _WATCHED_DIR=/etc
+ _BACKUP_DIR=/var/lib/metche
+ _CHANGELOG_DIR=
+ _CHANGELOG_FILE=/root/ChangeLog
+ _DO_PACKAGES=yes
+ _EMAIL_ADDRESS=root@localhost
+ '[' -n '' ']'
+ '[' no = yes ']'
++ date +%Y%m%d%H%M
+ DATE=200907230429
+ TAR_OPTS=
+ set -o noglob
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#*'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow*'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab*'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag --exclude=smtp_scache.dir'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag --exclude=smtp_scache.dir --exclude=smtpd_scache.dir'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag --exclude=smtp_scache.dir --exclude=smtpd_scache.dir --exclude=local.sh'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag --exclude=smtp_scache.dir --exclude=smtpd_scache.dir --exclude=local.sh --exclude=hosts.deny'
+ for pattern in '$EXCLUDES'
+ TAR_OPTS=' --exclude=*.swp --exclude=#* --exclude=*~ --exclude=*.gpg --exclude=*.key --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache --exclude=shadow* --exclude=.gnupg --exclude=blkid.tab* --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag --exclude=smtp_scache.dir --exclude=smtpd_scache.dir --exclude=local.sh --exclude=hosts.deny --exclude=*.bak'
+ set +o noglob
+ FIND_OPTS=
+ set -o noglob
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or -path */smtpd_scache.pag -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or -path */smtpd_scache.pag -prune -or -path */smtp_scache.dir -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or -path */smtpd_scache.pag -prune -or -path */smtp_scache.dir -prune -or -path */smtpd_scache.dir -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or -path */smtpd_scache.pag -prune -or -path */smtp_scache.dir -prune -or -path */smtpd_scache.dir -prune -or -path */local.sh -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or -path */smtpd_scache.pag -prune -or -path */smtp_scache.dir -prune -or -path */smtpd_scache.dir -prune -or -path */local.sh -prune -or -path */hosts.deny -prune -or'
+ for pattern in '$EXCLUDES'
+ FIND_OPTS=' -path */*.swp -prune -or -path */#* -prune -or -path */*~ -prune -or -path */*.gpg -prune -or -path */*.key -prune -or -path */ifstate -prune -or -path */adjtime -prune -or -path */ld.so.cache -prune -or -path */shadow* -prune -or -path */.gnupg -prune -or -path */blkid.tab* -prune -or -path */aumixrc -prune -or -path */net.enable -prune -or -path */mtab -prune -or -path */backup.d -prune -or -path */vdirbase -prune -or -path */run.rev -prune -or -path */vdir -prune -or -path */run.rev -prune -or -path */prng_exch -prune -or -path */smtp_scache.pag -prune -or -path */smtpd_scache.pag -prune -or -path */smtp_scache.dir -prune -or -path */smtpd_scache.dir -prune -or -path */local.sh -prune -or -path */hosts.deny -prune -or -path */*.bak -prune -or'
+ set +o noglob
+ case "$CMD" in
++ expr 24 '*' 60 '*' 3
+ STABLE_TIME_MIN=4320
+ '[' -n '' ']'
+ for i in '""' '$VSNAMES'
+ res=0
+ context_config ''
+ local vsname=
+ local res
++ '[' -z ']'
++ echo 'the host system'
+ debug '-------- Operating on' 'the host system'
+ '[' no '!=' yes ']'
+ debug '* context_config'
+ '[' no '!=' yes ']'
+ '[' -z '' ']'
+ WATCHED_DIR=/etc
+ BACKUP_DIR=/var/lib/metche
+ VSERVER_EXEC_PREFIX=
+ EMAIL_ADDRESS=root@localhost
+ '[' no = yes ']'
+ test -d /etc
++ dirname /etc
+ WATCHED_PARENT=/
+ '[' / '!=' / ']'
+ '[' '!' -d /var/lib/metche ']'
+ DO_CHANGELOGS=no
+ '[' -n '' ']'
+ '[' -n /root/ChangeLog ']'
+ '[' -z '' ']'
+ CHANGELOG_FILE=/root/ChangeLog
+ '[' -f /root/ChangeLog ']'
+ DO_CHANGELOGS=file
+ DO_PACKAGES=yes
+ '[' yes = yes ']'
+ which apt-show-versions
+ res=0
+ '[' 0 -ne 0 ']'
+ milestone_exists testing-latest
+ local milestone=testing-latest
+ '[' -f /var/lib/metche/testing-latest.tar.bz2 -o -L /var/lib/metche/testing-latest.tar.bz2 ']'
+ return 0
+ milestone_exists stable-latest
+ local milestone=stable-latest
+ '[' -f /var/lib/metche/stable-latest.tar.bz2 -o -L /var/lib/metche/stable-latest.tar.bz2 ']'
+ return 0
+ '[' 0 -ne 0 ']'
+ debug '* main algorithm'
+ '[' no '!=' yes ']'
+ no_change_since 20
+ local time
+ time=20
+ set -o noglob
+++ print_watched_files
+++ local files
+++ local reset_noglob_status_cmd
+++ files=/etc
++ head -1
++++ set +o
++++ grep 'set .o noglob'
+++ reset_noglob_status_cmd='set -o noglob'
+++ set +o noglob
+++ '[' file = dir ']'
+++ '[' file = file ']'
+++ files='/etc /root/ChangeLog'
+++ set -o noglob
+++ echo '/etc /root/ChangeLog'
++ find /etc /root/ChangeLog -path '*/*.swp' -prune -or -path '*/#*' -prune -or -path '*/*~' -prune -or -path '*/*.gpg' -prune -or -path '*/*.key' -prune -or -path '*/ifstate' -prune -or -path '*/adjtime' -prune -or -path '*/ld.so.cache' -prune -or -path '*/shadow*' -prune -or -path '*/.gnupg' -prune -or -path '*/blkid.tab*' -prune -or -path '*/aumixrc' -prune -or -path '*/net.enable' -prune -or -path '*/mtab' -prune -or -path '*/backup.d' -prune -or -path '*/vdirbase' -prune -or -path '*/run.rev' -prune -or -path '*/vdir' -prune -or -path '*/run.rev' -prune -or -path '*/prng_exch' -prune -or -path '*/smtp_scache.pag' -prune -or -path '*/smtpd_scache.pag' -prune -or -path '*/smtp_scache.dir' -prune -or -path '*/smtpd_scache.dir' -prune -or -path '*/local.sh' -prune -or -path '*/hosts.deny' -prune -or -path '*/*.bak' -prune -or -cmin -20 -print
+ '[' -z /etc ']'
+ set +o noglob
+ return 1
+ milestone_exists unstable-latest
+ local milestone=unstable-latest
+ '[' -f /var/lib/metche/unstable-latest.tar.bz2 -o -L /var/lib/metche/unstable-latest.tar.bz2 ']'
+ return 0
+ changed_from /var/lib/metche/unstable-latest.tar.bz2
+ local ref_file
+ ref_file=/var/lib/metche/unstable-latest.tar.bz2
+ set -o noglob
++ head -1
+++ print_watched_files
+++ local files
+++ local reset_noglob_status_cmd
+++ files=/etc
++++ set +o
++++ grep 'set .o noglob'
+++ reset_noglob_status_cmd='set -o noglob'
+++ set +o noglob
+++ '[' file = dir ']'
+++ '[' file = file ']'
+++ files='/etc /root/ChangeLog'
+++ set -o noglob
+++ echo '/etc /root/ChangeLog'
++ find /etc /root/ChangeLog -path '*/*.swp' -prune -or -path '*/#*' -prune -or -path '*/*~' -prune -or -path '*/*.gpg' -prune -or -path '*/*.key' -prune -or -path '*/ifstate' -prune -or -path '*/adjtime' -prune -or -path '*/ld.so.cache' -prune -or -path '*/shadow*' -prune -or -path '*/.gnupg' -prune -or -path '*/blkid.tab*' -prune -or -path '*/aumixrc' -prune -or -path '*/net.enable' -prune -or -path '*/mtab' -prune -or -path '*/backup.d' -prune -or -path '*/vdirbase' -prune -or -path '*/run.rev' -prune -or -path '*/vdir' -prune -or -path '*/run.rev' -prune -or -path '*/prng_exch' -prune -or -path '*/smtp_scache.pag' -prune -or -path '*/smtpd_scache.pag' -prune -or -path '*/smtp_scache.dir' -prune -or -path '*/smtpd_scache.dir' -prune -or -path '*/local.sh' -prune -or -path '*/hosts.deny' -prune -or -path '*/*.bak' -prune -or -newer /var/lib/metche/unstable-latest.tar.bz2 -print
+ '[' /etc ']'
+ set +o noglob
+ return 0
+ debug ' changed from unstable-latest'
+ '[' no '!=' yes ']'
+ save_state unstable
+ debug '* save_state unstable'
+ '[' no '!=' yes ']'
+ save_files unstable
+ debug ' - save_files unstable'
+ '[' no '!=' yes ']'
+ set -o noglob
++ basename /etc
+ tar jcf /var/lib/metche/unstable-200907230429.tar.bz2 -C / '--exclude=*.swp' '--exclude=#*' '--exclude=*~' '--exclude=*.gpg' '--exclude=*.key' --exclude=ifstate --exclude=adjtime --exclude=ld.so.cache '--exclude=shadow*' --exclude=.gnupg '--exclude=blkid.tab*' --exclude=aumixrc --exclude=net.enable --exclude=mtab --exclude=backup.d --exclude=vdirbase --exclude=run.rev --exclude=vdir --exclude=run.rev --exclude=prng_exch --exclude=smtp_scache.pag --exclude=smtpd_scache.pag --exclude=smtp_scache.dir --exclude=smtpd_scache.dir --exclude=local.sh --exclude=hosts.deny '--exclude=*.bak' etc
+ set +o noglob
+ ln -sf unstable-200907230429.tar.bz2 /var/lib/metche/unstable-latest.tar.bz2
+ '[' yes = no ']'
+ save_packages unstable
+ debug ' - save_packages unstable'
+ '[' no '!=' yes ']'
+ apt-show-versions -i
+ apt-show-versions
+ sort
+ ln -sf unstable-200907230429.packages /var/lib/metche/unstable-latest.packages
+ '[' file = no ']'
+ save_changelogs unstable
+ debug ' - save_changelogs unstable'
+ '[' no '!=' yes ']'
+ local changelog domain file
+ '[' file = dir ']'
+ '[' file = file ']'
+ cat /root/ChangeLog
+ ln -sf unstable-200907230429.Changelog /var/lib/metche/unstable-latest.Changelog
#######################################################################
#
# metche configuration
#
# Directory watched by metche
WATCHED_DIR="/etc"
# Directory containing backups
BACKUP_DIR="/var/lib/metche"
# Activate single changelog file monitoring
CHANGELOG_FILE="/root/ChangeLog"
# Activate multiple changelogs file monitoring.
# Each "Changelog" should be in a sub-directory of CHANGELOG_DIR.
# (Override CHANGELOG_FILE if both are set)
#CHANGELOG_DIR="/root/changelogs"
# Debian packages monitoring (need apt-show-versions)
DO_PACKAGES="yes"
# Show diff details for modified files
# WARNING! This can send sensitive data by e-mail if not used with encryption.
DO_DETAILS="no"
# Minutes until unstable goes to testing
TESTING_TIME="20"
# Days until testing goes to stable
STABLE_TIME="3"
# Address receiving testing changes report
EMAIL_ADDRESS="root@localhost"
# Encrypt emails with GnuPG ? (uncomment next line to do so)
#ENCRYPT_EMAIL="yes"
# Filename patterns to ignore (space-separated list)
# GNU tar --exclude pattern matching rules are used:
# - If a pattern matches a directory, all the files beneath it are
# recursively excluded.
# - Periods (`.') or forward slashes (`/') are not considered special for
# wildcard matches.
# Example (default value):
EXCLUDES="*.swp #* *~ *.gpg *.key ifstate adjtime ld.so.cache shadow* \
.gnupg blkid.tab* aumixrc net.enable mtab backup.d \
vdirbase run.rev vdir run.rev \
prng_exch smtp_scache.pag smtpd_scache.pag \
smtp_scache.dir smtpd_scache.dir local.sh
hosts.deny *.bak"
# Locale (will be used to feed LC_ALL)
# Warning: values different from "C" are untested.
LOCALE="C"
# Set this to yes to get more debugging output.
DEBUG="no"
#######################################################################
#
# Linux VServers configuration
#
# VServers to monitor (space-separated list)
# The host system is monitored, whatever VSERVERS is set to.
# Set VSNAMES to "all" in order to monitor all VServers.
#VSNAMES=""
#VSNAMES="name1 name2"
#VSNAMES="all"
# vserver-info command location (default: /usr/sbin/vserver-info)
#VSERVERINFO=/usr/sbin/vserver-info
# vserver command location (default: /usr/sbin/vserver)
#VSERVER=/usr/sbin/vserver
# Directory where the VServers live; example: a VServer called "twiki"
# will have its root directory in $VROOTDIR/twiki
# (default: /var/lib/vservers)
#VROOTDIR=/var/lib/vservers
#######################################################################
#
# Localizable strings
#
# Add your custom headers below
#_MAIL_SUBJECT="changes report"
#_NO_DEBIAN_PACKAGES_CHANGE="No change in Debian packages state."
#_NO_CHANGE="No change."
#MAIN_HEADER=""
#CHANGELOGS_HEADER=""
#FILES_HEADER=""
#DEBIAN_PACKAGES_HEADER=""
#FILES_DETAILS_HEADER=""
--- End Message ---