Package: pyaimt Version: 0.8.0.1-2 Severity: normal On install pyaimt has incorrect permissions which mean it always fails to run up
It tries to create /var/lib/pyaimt/<aim server name> but it's running as the pyaimt user at that point and /var/lib/pyaimt is owned by root. candy:~# /etc/init.d/pyaimt start Starting AIM transport for Jabber: pyaimt failed! candy:~# cat /var/log/pyaimt/pyaimt.log candy:~# candy:~# su - pyaimt -s /bin/bash pyaimt@candy:~$ python /usr/share/pyaimt/PyAIMt.py --config=/etc/pyaimt.conf.xml -o spooldir=/var/lib/pyaimt Traceback (most recent call last): File "/usr/share/pyaimt/PyAIMt.py", line 10, in <module> import main File "/usr/share/pyaimt/src/main.py", line 126, in <module> import session File "/usr/share/pyaimt/src/session.py", line 6, in <module> import legacy File "/usr/share/pyaimt/src/legacy/__init__.py", line 4, in <module> from glue import LegacyConnection, LegacyGroupchat, translateAccount File "/usr/share/pyaimt/src/legacy/glue.py", line 41, in <module> defaultAIMAvatar = avatar.AvatarCache().setAvatar(defaultAIMAvatarData) File "/usr/share/pyaimt/src/avatar.py", line 103, in setAvatar f = open(self.dir(key) + key, 'wb') File "/usr/share/pyaimt/src/avatar.py", line 91, in dir os.makedirs(d) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/pyaimt/aim.hoyle.me.uk' candy:~# ls -ld /var/lib/pyaimt/ drwxr-xr-x 2 root root 4096 May 9 19:35 /var/lib/pyaimt/ A working fix is to change the ownership of /var/lib/pyaimt. Tony -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pyaimt depends on: ii adduser 3.113+nmu1 add and remove users and groups ii lsb-base 4.1+Debian0 Linux Standard Base 4.1 init scrip ii python 2.7.2-10 interactive high-level object-orie ii python-crypto 2.5-2 cryptographic algorithms and proto ii python-openssl 0.13-1 Python wrapper around the OpenSSL ii python-support 1.0.14 automated rebuilding support for P ii python-twisted 11.1.0-1 Event-based framework for internet ii python-twisted-web 11.1.0-1 HTTP protocol implementation toget ii python-twisted-words 11.1.0-1 Chat and Instant Messaging Versions of packages pyaimt recommends: ii python-imaging 1.1.7-4 Python Imaging Library ii python-mysqldb 1.2.3-1 Python interface to MySQL ii python-nevow 0.10.0-4 Web application templating system Versions of packages pyaimt suggests: ii ejabberd 2.1.10-2 distributed, fault-tolerant Jabber -- Configuration Files: /etc/pyaimt.conf.xml changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org