Package: debsecan
Version: 0.4.10+nmu1
Severity: important

[Severity only important because I don't have evidence that it's broken
for everyone, but the pacakge is no use to me at the moment.]

I get the following cron output from debsecan:

Traceback (most recent call last):                                              
  File "/usr/bin/debsecan", line 1168, in <module>                              
    format_values['ip'] = socket.gethostbyname(format_values['hostname'])
socket.gaierror: (-5, 'No address associated with hostname')

My naive test script:

#!/usr/bin/python

import socket
import sys

gothostname = socket.gethostname()
sys.stderr.write("got %s for gethostname\n" % gothostname)
gothostbyname = socket.gethostbyname(gothostname)
sys.stderr.write("got %s for gethostbyname\n" % gothostbyname)

[EMAIL PROTECTED]:~$ /tmp/test
got callisto for gethostname
got 81.187.82.226 for gethostbyname

works fine, however, so I don't know what's up (probably needs some
Python knowledge).

Thanks,
Dominic.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (10, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debsecan depends on:
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-apt                    0.7.7.1    Python interface to libapt-pkg

Versions of packages debsecan recommends:
ii  cron                          3.0pl1-104 management of regular background p
ii  exim4                         4.69-6     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-6     lightweight Exim MTA (v4) daemon

debsecan suggests no packages.

-- debconf information:
  debsecan/mailto: root
  debsecan/source:
* debsecan/suite: etch
* debsecan/report: true



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to