Package: dovecot-common Version: 1:1.2.15-7 Severity: normal The dovecot init script does not properly report failure via return code:
root@pris:~# service dovecot start Starting IMAP/POP3 mail server: dovecotperl: warning: Setting locale failed. Error: ssl_cert_file: Can't use /etc/ssl/private/chew-z.alcopop.org/alcopop.org.cert: No such file or directory Fatal: Invalid configuration in /etc/dovecot/dovecot.conf failed! root@pris:~# echo $? 0 root@pris:~# /etc/init.d/dovecot start Starting IMAP/POP3 mail server: dovecotperl: warning: Setting locale failed. Error: ssl_cert_file: Can't use /etc/ssl/private/chew-z.alcopop.org/alcopop.org.cert: No such file or directory Fatal: Invalid configuration in /etc/dovecot/dovecot.conf failed! root@pris:~# echo $? 0 For comparison: root@pris:~# service lighttpd start 2011-06-08 15:18:49: (configfile.c.912) source: /etc/lighttpd/lighttpd.conf line: 2 pos: 15 parser failed somehow near here: (EOL) root@pris:~# echo $? 255 This becomes an issue when used in conjunction with a configuration management system (such as puppet): the errors are not percolated up to a human, and the system assumes that the daemon started successfully. -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (700, 'stable'), (600, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org