<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>131034</bug_id>
          
          <creation_ts>2006-04-23 15:20 0000</creation_ts>
          <short_desc>denyhosts 2.4 has a bug</short_desc>
          <delta_ts>2006-04-27 15:37:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.mail-archive.com/denyhosts-user@lists.sourceforge.net/msg00011.html</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>stephane@gorfou.ca</reporter>
          <assigned_to>strerror@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>stephane@gorfou.ca</who>
            <bug_when>2006-04-23 15:20:08 0000</bug_when>
            <thetext>The link in the URL contains what I experimented and how I solved it (2.4b)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-04-23 15:21:37 0000</bug_when>
            <thetext>Don&apos;t refer to external links for bug description. If makes searching for duplicates completely useless.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stephane@gorfou.ca</who>
            <bug_when>2006-04-23 15:35:18 0000</bug_when>
            <thetext>If this is fixed quickly, there should not be any dupplicates.

The problem has been fixed upstream with version 2.b.

-------------------
 # /etc/init.d/denyhosts start
 * Caching service dependencies ...                                                                                                                    [ ok ] * Starting DenyHosts daemon ...
Traceback (most recent call last):
  File &quot;/usr/bin/denyhosts&quot;, line 164, in ?
    first_time, noemail, daemon)
  File &quot;/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py&quot;, line 82, in __init__
    offset = self.process_log(logfile, last_offset)
  File &quot;/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py&quot;, line 423, in process_log
    login_attempt.add(user, host, success, invalid)
  File &quot;/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py&quot;, line 106, in add
    elif user in __restricted:
NameError: global name &apos;_LoginAttempt__restricted&apos; is not defined

DenyHosts exited abnormally
-------------------

The quick fix is to edit the ebuild and add a &quot;b&quot; to the my_P variable like this:

my_P=&quot;${my_PN}-${PV}b&quot;

digest and re-emerge.

Now stop bugging me with bureaucraties.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>strerror@gentoo.org</who>
            <bug_when>2006-04-27 15:37:22 0000</bug_when>
            <thetext>in cvs, thanks for reporting</thetext>
          </long_desc>
      
    </bug>

</bugzilla>