Mailinglist Archive: opensuse-bugs (4753 mails)

< Previous Next >
[Bug 596354] New: dh_reenable script fails
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 13 Apr 2010 20:53:18 +0000
  • Message-id: <bug-596354-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: dh_reenable script fails
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: pat@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+
(KHTML, like Gecko) Safari/531.2+ Epiphany/2.28.2 SUSE/2.28.0-2.4

when trying to reenable an ip which denyhosts added to /etc/hosts.deny, the
script /usr/sbin/dh_reenable fails:

16:44 wahoo:~ # dh_reenable 12.34.567.890
File "/usr/sbin/dh_reenable", line 22
from __future__ import with_statement
SyntaxError: from __future__ imports must occur at the beginning of the file

note: editing /usr/sbin/dh_reenable and moving "from__future__imports" to the
top of the script corrects the error but does not reenable the ip.

Reproducible: Always

Steps to Reproduce:
1./usr/sbin/dh_reenable <ip>
Actual Results:
quoted above

Expected Results:
remove the subject ip from the deny lists, /etc/hosts.deny,

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >