Your message dated Thu, 6 Jul 2006 00:22:50 -0400 (EDT)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#376143: dovecot: please create /var/run directory in init
script if missing
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: dovecot
Version: 1.0.rc1-1
Severity: minor
Tags: patch
Hi!
It becomes increasingly popular to store /tmp, /var/run, and /var/lock
on a tmpfs. Unfortunately this breaks packages which expect a
persistent subdirectory there (this is a bit unclear in the LSB
specification).
Would you consider applying the attached patch, so that the directory
is guaranteed to be present? Thank you!
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
--- dovecot-1.0.rc1/debian/dovecot-common.init
+++ dovecot-1.0.rc1/debian/dovecot-common.init
@@ -15,6 +15,12 @@
set -e
+if [ ! -d /var/run/dovecot/login ]; then
+ mkdir -p /var/run/dovecot/login
+ chmod 0750 /var/run/dovecot/login
+ chmod 0700 /var/run/dovecot
+fi
+
# The init script should do nothing if dovecot is being run from inetd
for p in `sed -r "s/^ *(([^:]+|\[[^]]+]|\*):)?(pop3s?|imaps?)[ \t].*/\3/;t;d" \
/etc/inetd.conf`
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
On Fri, 30 Jun 2006, Timo Sirainen wrote:
On Fri, 2006-06-30 at 15:18 +0200, Martin Pitt wrote:
It becomes increasingly popular to store /tmp, /var/run, and /var/lock
on a tmpfs. Unfortunately this breaks packages which expect a
persistent subdirectory there (this is a bit unclear in the LSB
specification).
Dovecot creates the directory if it isn't found, except it does give a
warning about it. Actually that's a bug in my safe_mkdir() call, fixed
now:
http://dovecot.org/list/dovecot-cvs/2006-June/005998.html
Ok so we don't need the patch then.
--
Jaldhar H. Vyas <[EMAIL PROTECTED]>
La Salle Debain - http://www.braincells.com/debian/
--- End Message ---