audit2allow fails with traceback in access.py

Bug #352610 reported by Marshall Miller
12
Affects Status Importance Assigned to Milestone
sepolgen (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sepolgen

This was discovered in Jaunty, but may apply to previous releases.

When I run audit2allow I get a traceback that ends with:
  File "/var/lib/python-support/python2.6/sepolgen/access.py", line 316, in __len__
    return len(self.roles)
AttributeError: RoleTypeSet instance has no attribute 'roles'

Attached is a patch for sepolgen-1.0.13 source.

Related branches

Revision history for this message
Marshall Miller (mmiller-tresys) wrote :
Revision history for this message
j.scott.gwin@gmail.com (j.scott.gwin) wrote :

Thank you for reporting this issue, it helps make Ubuntu better. Confirmed.

Changed in sepolgen:
status: New → Confirmed
Kees Cook (kees)
Changed in sepolgen (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Kees Cook (kees) wrote :

Freeze Exception Request for universe...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sepolgen - 1.0.13-1ubuntu1

---------------
sepolgen (1.0.13-1ubuntu1) jaunty; urgency=low

  * rc/sepolgen/access.py: fix crasher, thanks to Marshall Miller
    (LP: #352610).

 -- Kees Cook <email address hidden> Wed, 22 Apr 2009 12:08:44 -0700

Changed in sepolgen (Ubuntu):
status: In Progress → Fix Released
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.