Your message dated Fri, 15 Feb 2008 12:08:04 -0700 (MST)
with message-id <[EMAIL PROTECTED]>
and subject line closing
has caused the Debian Bug report #360066,
regarding sudo fails to lookup hostname if it contains a hyphen (-)
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.)
--
360066: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360066
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: sudo
Version: 1.6.8p12-1
Severity: important
sudo complains about not being able to lookup the hostname via
gethostbyname if the hostname contains one or more hyphens as
demonstrated below:
[EMAIL PROTECTED]:~$ sudo ps
sudo: unable to lookup az-svr-01 via gethostbyname()
PID TTY TIME CMD
12302 pts/0 00:00:00 ps
If I change the hostname to azsrv01 sudo is silent about this:
[EMAIL PROTECTED]:~$ sudo ps
PID TTY TIME CMD
12320 pts/0 00:00:00 ps
In both cases I have the hostname in /etc/hosts pointing to 127.0.0.1
Other programs using gethostbyname() like ping never complain.
In case of a broken hostname lookup the error doesn't cause much harm, except
in the case of "sudo su". This
results in very strange and broken behaviour in the resulting root shell
(bash). Which is, in my opinion, a grave bug.
Regards,
Martin
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages sudo depends on:
ii libc6 2.3.6-3 GNU C Library: Shared libraries an
ii libpam-modules 0.79-3.1 Pluggable Authentication Modules f
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
sudo recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
As indicated in Anthony's followup, this bug appears unreproducible and is
likely to have actually been the result of a typo on the submitter's part.
Closing with no further action taken.
Bdale
--- End Message ---