Bug#739318: cyrus-imapd-2.4: Cyrus IMAPd fails to install/start
Gábor Gombás
gombasg at digikabel.hu
Mon Feb 24 07:46:44 UTC 2014
Package: cyrus-common
Version: 2.4.17+caldav~beta9-2
Followup-For: Bug #739318
The bug is in /usr/lib/cyrus/bin/init-helper. It contains this code
(abbreviated):
case "$1" in
start)
[...]
[ -d "$PROC_DIR" ] && find "$PROC_DIR" -mindepth 1 -depth -name '[0-9]*' -delete
;;
*)
;;
esac
If $PROC_DIR points to /run, and /run/cyrus/proc does not exist (which
is the common case, since /run is tmpfs), then the above code snippet
causes the script to return with exit code 1, since that's the return
value of the command executed last. That in turn causes
/etc/init.d/cyrus-imapd to fail.
Adding an "exit 0" at the end of init-helper would fix the issue.
Gabor
-- System Information:
Debian Release: jessie/sid
APT prefers stable
APT policy: (990, 'stable'), (103, 'testing'), (102, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12.10 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cyrus-common depends on:
ii adduser 3.113+nmu3
ii db-upgrade-util 5.3.0
ii db-util 5.3.0
ii debconf [debconf-2.0] 1.5.52
cyrus-common recommends no packages.
cyrus-common suggests no packages.
-- Configuration Files:
/etc/logcheck/ignore.d.server/cyrus-imapd [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/cyrus-imapd'
/etc/logcheck/violations.ignore.d/cyrus-imapd [Errno 13] Permission denied: u'/etc/logcheck/violations.ignore.d/cyrus-imapd'
-- debconf information excluded
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list