Your message dated Wed, 05 Nov 2008 16:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#501541: fixed in denyhosts 2.6-5
has caused the Debian Bug report #501541,
regarding denyhosts: dh_reenable does not work properly if HOSTS_DENY is changed
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
501541: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501541
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: denyhosts
Version: 2.6-4
Severity: normal
Tags: patch
If you change the value of HOSTS_DENY in /etc/denyhosts.conf, the
dh_reenable script will not work properly because the default value of
/etc/hosts.deny is hard-coded into the dh_reenable script.
dh_reenable should parse the /etc/denyhosts.conf for the correct value,
rather than hard-coding it. I am including a patch that does this,
allowing for greater flexibility.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (810, 'unstable'), (600, 'stable'), (550,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages denyhosts depends on:
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
denyhosts recommends no packages.
denyhosts suggests no packages.
-- no debconf information
--- dh_reenable 2008/10/08 08:37:35
+++ dh_reenable 2008/10/08 08:48:34
@@ -18,6 +18,8 @@
import os
import sys
import fileinput
+import re
+from __future__ import with_statement
# file definition:
@@ -27,7 +29,17 @@
HOSTVALIDFILE='/var/lib/denyhosts/hosts-valid'
HOSTSDENY='/etc/hosts.deny'
#TEST='/etc/hosts.deny.tmp'
+CONFIGFILE='/etc/denyhosts.conf'
+# Parse the configuration file for the location of the HOSTS_DENY file.
+# If it exists, overwrite the hard-coded value for HOSTSDENY from the
+# top of the file.
+if os.path.isfile(CONFIGFILE):
+ with open(CONFIGFILE) as file:
+ for line in file:
+ result = re.search('^(HOSTS_DENY\s*=\s*)(.*)', line)
+ if result != None:
+ HOSTSDENY = result.group(2)
def usage():
print "Usage:"
--- End Message ---
--- Begin Message ---
Source: denyhosts
Source-Version: 2.6-5
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-5.diff.gz
to pool/main/d/denyhosts/denyhosts_2.6-5.diff.gz
denyhosts_2.6-5.dsc
to pool/main/d/denyhosts/denyhosts_2.6-5.dsc
denyhosts_2.6-5_all.deb
to pool/main/d/denyhosts/denyhosts_2.6-5_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.8
Date: Fri, 10 Oct 2008 13:34:12 +0000
Source: denyhosts
Binary: denyhosts
Architecture: source all
Version: 2.6-5
Distribution: unstable
Urgency: low
Maintainer: Marco Bertorello <[EMAIL PROTECTED]>
Changed-By: Marco Bertorello <[EMAIL PROTECTED]>
Description:
denyhosts - a utility to help sys admins thwart ssh crackers
Closes: 430449 501541
Changes:
denyhosts (2.6-5) unstable; urgency=low
.
* added useful patch that make PLUGIN_DENY works (Closes: 430449)
* cleaned-up a forgotten and not used patch from package
* added useful patch for dh_reenable from Todd A. Jacobs
<[EMAIL PROTECTED]> that make dh_reenable
able to work with a personalized HOSTS_DENY file (Closes: 501541)
* fixed a little typo in init script
Checksums-Sha1:
3fed047a49817788f293a9ecd5c4453e63e23b51 1091 denyhosts_2.6-5.dsc
98d35cf4d81b832c9436008618cf744b25ea50b1 37212 denyhosts_2.6-5.diff.gz
c785621e8fab5b8842fe02a9c799a0afc41c0265 66298 denyhosts_2.6-5_all.deb
Checksums-Sha256:
28237491769de6933f869eb1d3a96f22772e234a7c89f65edfb60721d59019ed 1091
denyhosts_2.6-5.dsc
7d95cbd21814be550866837b38e0f823424b5972226695514a3ccbf9e38539e5 37212
denyhosts_2.6-5.diff.gz
eeed182e122ef6dcd002776fe404c56b280c9857917844c12c741b01ae2f2242 66298
denyhosts_2.6-5_all.deb
Files:
43a90e91e0355a5fb3fb205164d06589 1091 net optional denyhosts_2.6-5.dsc
7e307431715164842d1c93c33db4a685 37212 net optional denyhosts_2.6-5.diff.gz
c4dbcbc5198160b7003f9e8e591b984a 66298 net optional denyhosts_2.6-5_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkRx9AACgkQaGRzDfCV5eSVkACcC0HzzUSQFdKq8JMk/tHL9wOD
yW4An0r7DXJRWs8LUlmVcngYbKot955a
=x4rY
-----END PGP SIGNATURE-----
--- End Message ---