Your message dated Tue, 29 Jan 2008 21:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#430436: fixed in denyhosts 2.6-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: denyhosts
Version: 2.6-1
Severity: important

If file specified in HOSTS_DENY does not exist denyhosts quietly does
not start:
blabluga:~# /etc/init.d/denyhosts start
Starting DenyHosts: denyhosts.
although there is no daemon run.
/var/log/denyhosts is also not helpful:
[...]
2007-06-24 16:16:31,371 - prefs       : INFO        SYNC_SERVER: [None]
2007-06-24 16:16:31,371 - prefs       : INFO        SYNC_UPLOAD: [yes]
2007-06-24 16:16:31,372 - prefs       : INFO        SYSLOG_REPORT: [YES]
2007-06-24 16:16:31,372 - prefs       : INFO        WORK_DIR:
[/var/lib/denyhosts]
2007-06-24 16:16:31,374 - denyhosts   : INFO     restricted: set([])

After manual start of daemon by:
start-stop-daemon --start --quiet --pidfile /var/run/denyhosts.pid --exec 
/usr/bin/python --startas /usr/share/denyhosts/denyhosts_ctl.py -- start 
--config=/etc/denyhosts.conf
there is an error message:
starting DenyHosts:    /usr/bin/env python /usr/sbin/denyhosts --daemon 
--config=/etc/denyhosts.conf --config=/etc/denyhosts.conf
Traceback (most recent call last):
  File "/usr/sbin/denyhosts", line 165, in ?
    first_time, noemail, daemon)
  File "/usr/share/denyhosts/DenyHosts/deny_hosts.py", line 78, in __init__
    self.get_denied_hosts()
  File "/usr/share/denyhosts/DenyHosts/deny_hosts.py", line 272, in 
get_denied_hosts
    for line in open(self.__prefs.get('HOSTS_DENY'), "r"):
IOError: [Errno 2] No such file or directory: '/tmp/lock.txt'

I can think about two possible sollutions of this bug.
1. Create the missing file on startup.
2. Be verbose if there is any problem opening the files (report an error
   to console and details into log file).

Best regards
        Artur

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages denyhosts depends on:
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-central                0.5.12     register and build utility for Pyt

denyhosts recommends no packages.

-- no debconf information

-- 


--- End Message ---
--- Begin Message ---
Source: denyhosts
Source-Version: 2.6-3

We believe that the bug you reported is fixed in the latest version of
denyhosts, which is due to be installed in the Debian FTP archive:

denyhosts_2.6-3.diff.gz
  to pool/main/d/denyhosts/denyhosts_2.6-3.diff.gz
denyhosts_2.6-3.dsc
  to pool/main/d/denyhosts/denyhosts_2.6-3.dsc
denyhosts_2.6-3_all.deb
  to pool/main/d/denyhosts/denyhosts_2.6-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco Bertorello <[EMAIL PROTECTED]> (supplier of updated denyhosts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 08 Jan 2008 13:18:17 +0100
Source: denyhosts
Binary: denyhosts
Architecture: source all
Version: 2.6-3
Distribution: unstable
Urgency: low
Maintainer: Marco Bertorello <[EMAIL PROTECTED]>
Changed-By: Marco Bertorello <[EMAIL PROTECTED]>
Description: 
 denyhosts  - an utility to help sys admins thwart ssh crackers
Closes: 375303 430436 436183 444955
Changes: 
 denyhosts (2.6-3) unstable; urgency=low
 .
   * debian/denyhosts.init: check if HOSTS_DENY file exist and, if not,
     create it (Closes: 430436)
   * debian/denyhosts.postrm: remove logrotate on purge and remove (thanks
     to Valery V. Vorotyntsev) (Closes: 444955)
   * changed mentions "hackers" instead of "crackers" in package descriptions
     (Closes: 436183)
   * added useful patch from Robert Edmonds to run denyhosts in foreground mode
     (Closes: 375303)
   * updated to new standard version 3.7.3 (Insered a linda-override)
Files: 
 aaf5f33597e57ad1a9cc475daaa2458c 707 net optional denyhosts_2.6-3.dsc
 d86f74a87b07f9ec61daed8dc613b534 35802 net optional denyhosts_2.6-3.diff.gz
 c9745b6312100cc8329002cb8df098d7 63278 net optional denyhosts_2.6-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHn5lpBnqtBMk7/3kRAvOtAJ90lL3VgO3ftFpDRWydYhtjmk4NZQCeKYx4
hNl0OW1/Nex44dgeu8NMmz4=
=ZiLN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to