Your message dated Thu, 10 May 2012 07:49:42 +0000
with message-id <[email protected]>
and subject line Bug#672291: fixed in pyaimt 0.8.0.1-3
has caused the Debian Bug report #672291,
regarding pyaimt: Permissions wrong on first run
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
672291: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672291
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Source: pyaimt
Source-Version: 0.8.0.1-3

We believe that the bug you reported is fixed in the latest version of
pyaimt, which is due to be installed in the Debian FTP archive:

pyaimt_0.8.0.1-3.debian.tar.gz
  to main/p/pyaimt/pyaimt_0.8.0.1-3.debian.tar.gz
pyaimt_0.8.0.1-3.dsc
  to main/p/pyaimt/pyaimt_0.8.0.1-3.dsc
pyaimt_0.8.0.1-3_all.deb
  to main/p/pyaimt/pyaimt_0.8.0.1-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michal Čihař <[email protected]> (supplier of updated pyaimt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 May 2012 09:22:33 +0200
Source: pyaimt
Binary: pyaimt
Architecture: source all
Version: 0.8.0.1-3
Distribution: unstable
Urgency: low
Maintainer: Michal Čihař <[email protected]>
Changed-By: Michal Čihař <[email protected]>
Description: 
 pyaimt     - AIM transport for Jabber
Closes: 671549 672291
Changes: 
 pyaimt (0.8.0.1-3) unstable; urgency=low
 .
   * Fix watch file to work after recent changes on code.google.com.
   * Fix permissions of /var/lib/pyaimt (Closes: #672291).
   * Remove extra file in clean (Closes: #671549).
   * Bump standards to 3.9.3.
   * Migrate to dh_python2.
   * Init script now understands status command.
Checksums-Sha1: 
 5475aff4b84e4958b385ca98cb6a3f16f72dec53 1976 pyaimt_0.8.0.1-3.dsc
 3ee560130aea9cc71df92e279bfec233b40d5214 9846 pyaimt_0.8.0.1-3.debian.tar.gz
 d189444e011e800cdaa335bfc04ff3d7c12ea52d 141812 pyaimt_0.8.0.1-3_all.deb
Checksums-Sha256: 
 83bc5c71f46a7b30e6b927a40b422ed85b4bb25e092c05a7bf9efec2fe514f22 1976 
pyaimt_0.8.0.1-3.dsc
 672696456a9d4bee30d72dea64f0970ad106eca6b5801101260d49a0dfa1ccd8 9846 
pyaimt_0.8.0.1-3.debian.tar.gz
 ae30ff8dcbff64132f8e0b2bffcc13e3a8aafccb076741dab571d36cafe8ba50 141812 
pyaimt_0.8.0.1-3_all.deb
Files: 
 b43e4c10fa9f1720dcd45ce73a45029b 1976 net extra pyaimt_0.8.0.1-3.dsc
 3e58d60caf26eade18148a7f735ad256 9846 net extra pyaimt_0.8.0.1-3.debian.tar.gz
 5b7073960e8d62f6a48de7b508c0823d 141812 net extra pyaimt_0.8.0.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPq21FAAoJEGo39bHX+xdNwmUQAMn47kg3g6o3I0vrqVNmkdwy
RI0mL3EP2t7zH3m7a46eSICcSQs7abK7V4nbAzMLQxZNAlxbAvlpsGd8NUvXdXEJ
zCUc51i3WD9nDSujdIU0448Mzs2RYFvowzgFLRQWjMOx6YL1i5uPew/KFbN92Tes
X9VbjrlU9fdiK89yBocYV5v90h+B69K4D7SNVeMKHlYN3DRBhycqMvedrUmOL9wo
PRpwkBUcReTb9aBcuS3W58ipYJdN28jLu1EjT+7OTGO9gznTyIyd5OvOwxCokds5
z32H4WIdr7YO2w1io+vKeOylTXMpBgf2Y2xFPATp5yICZC3fyFPI0zCqlQ3XkOhU
9zuzsA9xLVtVi58TvFrCzK69R+3AU6BKMEZBpIPTrAYoiVOJfVctc4wel+gfEDJy
LyC3ECAVhS86CpWzLkJ+OMR0kL3ODCUnkgkqV6wHwERrogeOVgZAVed6kRazG7x0
cEpDPETPsItIYn982Y9USdUZYd2xbaqmRlmsrq8ljRtXDVzSWXdSwfc6PAbUM63i
OlQPWTwRPBZPJfWUoGq/WYrpaxUbRmjA+l3mCmWCqHnxR2cl65EfGC0sMXOHSxs0
voAByGYCYkA0udOIdBNJtYe/D2j6mixZuWSHIZy+SxiRQsPaHSS9J6oMaXvUq8cK
xnut966iBoOs5WOIg/0t
=aDbZ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to