Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#631602: calendarserver: looking for /usr/bin/twistd, provided by python-twisted-core (which is not a dependency)

26 views
Skip to first unread message

Conor Hughes

unread,
Jun 25, 2011, 5:40:01 AM6/25/11
to
Package: calendarserver
Version: 2.4.dfsg-6
Severity: important

My install of calendarserver started looking for /usr/bin/twistd, which did not exist. Symlinking /usr/bin/twistd to /usr/lib/twisted-calendarserver/bin/twistd fixed the issue, as did installing python-twisted-core (which provides /usr/bin/twistd directly).

The following spew appeared (many times) in /var/log/caldavd/error.log:
2011-06-25 01:49:02-0700 [-] [caldav_task] /usr/bin/python: can't open file '/usr/bin/twistd': [Errno 2] No such file or directory

-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38.3-linode32 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

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+squeeze6 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-plist 1.3-2 Library for handling Apple binary
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

Versions of packages calendarserver recommends:
pn python-ldap <none> (no description available)
pn python-pydirector <none> (no description available)

calendarserver suggests no packages.

-- Configuration Files:
/etc/caldavd/accounts.xml [Errno 13] Permission denied: u'/etc/caldavd/accounts.xml'
/etc/caldavd/caldavd.plist changed [not included]
/etc/caldavd/sudoers.plist changed [not included]
/etc/default/calendarserver changed [not included]

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Rahul Amaram

unread,
Jul 4, 2011, 2:30:02 AM7/4/11
to
I am unable to reproduce this bug. I have uninstalled
python-twisted-core, and also ensured that /usr/bin/twistd does not
exist. In spite of this, I was able to start calendarserver succesfully.
As a matter of fact, the path for twistd binary
(/usr/lib/twisted-calendarserver/bin/twistd) is hard-coded in
/usr/bin/caldavd and I can't think of any possible reason why this is
occurring.
0 new messages