https://bugzilla.novell.com/show_bug.cgi?id=357950 Summary: cyrus rpm updates cyrus.conf configuration file unnecessary Product: openSUSE 10.3 Version: Final Platform: 32bit OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: richard.bos@xs4all.nl QAContact: qa@suse.de Found By: Beta-Customer Recently I upgrade a cyrus rpm, which cyrus.conf, for unknow reason, and the update is neither desired. [/etc] # diff -u cyrus.conf.2008-01-31 cyrus.conf --- cyrus.conf.2008-01-31 2008-01-31 13:52:28.000000000 +0100 +++ cyrus.conf 2008-01-31 13:52:28.000000000 +0100 @@ -40,7 +40,7 @@ checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression - delprune cmd="cyr_expire -E 3" period=1440 + delprune cmd="cyr_expire -E 3" at=0400 Why is update made by the post-script of the cyrus rpm?
From the cyrus post rpm script: CYRUSCF=etc/cyrus.conf TMPCYRUSCF=etc/cyrus.conf.tmp rm -f $TMPCYRUSCF sed -e 's/^[[:space:]]*delprune.*/ delprune cmd="cyr_expire -E 3" at=0400/' $CYRUSCF > $TMPCYRUSCF if ! cmp -s $CYRUSCF $TMPCYRUSCF; then CFBAK=etc/cyrus.conf.$(date +%Y-%m-%d) echo "Backing up old $CYRUSCF as $CFBAK" cp --remove-destination $CYRUSCF $CFBAK echo "updating $CYRUSCF" mv $TMPCYRUSCF $CYRUSCF else rm -f $TMPCYRUSCF fi
-- 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.