mandos server fails starting

Bug #1003383 reported by Eurobiz computer administration
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mandos (Ubuntu)
Fix Released
High
Unassigned

Bug Description

After updating from oneiric to precise mandos server fails starting.

It says:

root@computer:~# /etc/init.d/mandos start
Traceback (most recent call last):
  File "/usr/sbin/mandos", line 764, in <module>
    class AlternateDBusNamesMetaclass(DBusObjectWithProperties
AttributeError: type object 'DBusObjectWithProperties' has no attribute '__metaclass__'

I get it on i386 and amd64 architectures, both on release upgrade and fresh installation.
mandos version 1.4.0-1

Revision history for this message
Mandos Maintainers (mandos-maintainers) wrote :

Right. It turns out that the newer version of python-dbus that Ubuntu
uses (1.0.0) differs from the version in Debian unstable (0.84.0).
(dbus.service.Object no longer has a __metaclass__ attribute.) By
somewhat of a coincidence, the code in Mandos using metaclasses has
been rewritten in version 1.5.4 to use class decorators instead,
thereby avoiding the problem entirely.

The bug requesting Ubuntu to upgrade to Mandos 1.5.4 is bug #1002179, here:

https://bugs.launchpad.net/ubuntu/+source/mandos/+bug/1002179

Angel Abad (angelabad)
Changed in mandos (Ubuntu):
importance: Undecided → High
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
Angel Abad (angelabad) wrote :

This bug was fixed in the package mandos - 1.5.5-1
Sponsored for Mandos Maintainers (mandos-maintainers)

---------------
mandos (1.5.5-1) unstable; urgency=low

  * New upstream release.
  * debian/copyright (Format): Updated to
    "http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/".
  * debian/control (Build-Depends): Removed "man, locales-all".

 -- Teddy Hogeborn <email address hidden> Fri, 01 Jun 2012 20:30:41 +0200

Changed in mandos (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Chris Vigelius (chris-vigelius) wrote :

After almost a whole year, this problem still exists in 12.04:

root@xxx:~# service mandos start
Traceback (most recent call last):
  File "/usr/sbin/mandos", line 764, in <module>
    class AlternateDBusNamesMetaclass(DBusObjectWithProperties
AttributeError: type object 'DBusObjectWithProperties' has no attribute '__metaclass__'

Revision history for this message
Theodotos Andreou (theodotos) wrote :

Still present in 12.04.2 oon mandos version 1.4.0-1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.