I found the problem... it only effects users running it from the command 
line/cron.  The daemon mode isn't effected.

The quick fix is to put the following line into /usr/bin/denyhosts:

info = logging.getLogger("denyhosts").info

right above the ######################################### line near the 
top.

That should fix the issue.  Running it:

[Errno 2] No such file or directory: '/usr/share/denyhosts/data/sync-timestamp'
received 50 new hosts
received new hosts:  ....

Phil

On Fri, 7 Nov 2008, Chupacerveza wrote:

> Jason L Tibbitts III wrote:
>>>>>>> "PS" == Phil Schwartz <[EMAIL PROTECTED]> writes:
>>
>> PS> Any idea of which python version they're using?
>>
>> This is easily repeatable for me as well on a stock Fedora 9 machine.
>> The python version is 2.5.1.
>>
>> PS> Is there a stacktrace or just "name 'info' is not defined"?
>>
>> Just that message and then nothing.  The full output of
>>   denyhosts.py -d -c /etc/denyhosts.conf --sync
>> after I've deleted the sync-timestamp file is at
>> http://www.math.uh.edu/~tibbs/denyhosts-debug
>
> This is probably not helpful, but I'm curious why it doesn't show the
> new hosts.
>
> received 50 new hosts
>
> My log does list them; my guess is that you are logging at a lower
> verbosity than I am. The only reason I think this might be helpful is
> if there are other things that might show up at higher verbosity.
>
> --Robert
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Denyhosts-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/denyhosts-user
>

-- 
Regards,

Phil Schwartz
- http://www.phil-schwartz.com

Open Source Projects:
- DenyHosts: http://www.denyhosts.net
- Kodos: http://kodos.sourceforge.net
- ReleaseForge: http://releaseforge.sourceforge.net
- Scratchy: http://scratchy.sourceforge.net
- FAQtor: http://faqtor.sourceforge.net

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to