Bug#434512: chk_cyrus is run by cron, regardless of CHKCYRUS

Thomas Morper thomas.morper at rz.uni-augsburg.de
Tue Jul 24 14:05:20 UTC 2007


Package: cyrus21-common
Version: 2.1.18-1+sarge2
Severity: minor

/etc/default/cyrus21 says:

--cut--
# Check spool condition with chk_cyrus on daily cronjob
# Set to 1 to enable, default is disabled
#CHKCYRUS=0
--cut--

However, a look at /etc/cron.daily/cyrus21-common shows that CHKCYRUS 
only influences the clean-up of the stage-directories.

--cut--
# 2. clean up all leftover .stage directories in all spools listed in
#    the default config file
[ $CHKCYRUS -ne 0 ] && {
...
--cut--

chk_cyrus then is run regardless of the state of CHKCYRUS

--cut--
# 3. runs chk_cyrus
[ -x /usr/sbin/chk_cyrus ] && {
...
--cut--

Maybe the "[ $CHKCYRUS -ne 0 ]" of No.2 was supposed to be at No.3?





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list