snmptrapd is unable to load any handler modules

Bug #258279 reported by Morten Brekkevold
2
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
High
John-Magne Bredal

Bug Description

The SNMP trap daemon cannot load any of its handler plugins from the
nav.snmptrapd.handlers package, because the nav/snmptrapd directory is
missing its __init__.py . Thus Python doesn't recognize nav.snmptrapd as a
proper package.

The problem isn't easy to reproduce, because snmptrapd only imports the
plugins as traps are received and not at the start of the process.

Reported by Ingeborg Hellemo of the University of Tromsø.

[http://sourceforge.net/tracker/index.php?func=detail&aid=1822650&group_id=107608&atid=648170]

Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :

Originator: NO

Fixed in revision 4263.

Added __init__.py in nav/snmptrapd and updated Makefile.in to preperly
place it during install.

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.