Package: calendarserver
Version: 2.4.dfsg-2.1
Severity: grave
Justification: renders package unusable
The files calendaruserproxy.sqlite and resourceinfo.sqlite are found in
/var/run/caldavd. When the machine is reboot, these files will be removed.
These are database files which contain important information which should not
be lost after a reboot.
The direct problem the location of these files create is that the
ownership/permissions aren't correct after a reboot. After a reboot, the files
are newly created with the ownership of root:root and permission 600. This
causes an error on the client and an error in /var/log/caldavd/error.log.
----
2011-01-25 20:47:00+0100 [-] [caldav-8008] [PooledMemCacheProtocol,client]
[twistedcaldav.method.propfind#error] Error reading property ('DAV:',
'current-user-privilege-set') for resource
/calendars/__uids__/dfdf8b5e-3e21-50b7-8d9b-1419ec8fe48c/: Unable to open
database /var/run/caldavd/calendaruserproxy.sqlite
----
This error is valid since the calendarserver runs under the caldavd user.
Changing the ownership of these files to caldavd:caldavd temporary fixed the
error. But since the information contained in these database file is lost upon
reboot, this is not a permanent solution. There files sould reside in
/var/lib/caldavd.
Cheers,
Jurriaan
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.37
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages calendarserver depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii memcached 1.4.5-1 A high-performance memory object c
ii python 2.6.6-3+squeeze5 interactive high-level object-orie
ii python-central 0.6.16+nmu1 register and build utility for Pyt
ii python-dateutil 1.4.1-3 powerful extensions to the standar
ii python-kerberos 1.1+svn4895-1+b1 A GSSAPI interface module for Pyth
ii python-openssl 0.10-1 Python wrapper around the OpenSSL
ii python-pysqlite2 2.6.0-1 Python interface to SQLite 3
ii python-twisted-calendar 8.2.0.svn27622-2 Twisted components for Apple's Cal
ii python-vobject 0.8.1c-3 parse iCalendar and VCards in Pyth
ii python-xattr 0.4-5+squeeze1 module for manipulating filesystem
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
calendarserver recommends no packages.
Versions of packages calendarserver suggests:
pn python-pydirector <none> (no description available)
-- Configuration Files:
/etc/caldavd/accounts.xml changed [not included]
/etc/caldavd/caldavd.plist changed [not included]
/etc/default/calendarserver changed [not included]
/etc/init.d/calendarserver changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]