[Pkg-aide-maintainers] Bug#366776: aide doesn't gracefully handle null dnsdomainname output

Marc Haber mh+debian-packages at zugschlus.de
Fri May 26 10:09:40 UTC 2006


tags #366776 confirmed pending
thanks

On Sat, May 13, 2006 at 09:08:02AM -0500, Corey Wright wrote:
> experienced same problem here.  i'll pick up where craig left off (in the
> email chain for bug 366776).
> 
> # dnsdomainname
> <null>
> # hostname
> deuteronomy
> # cat /etc/hosts
> 127.0.0.1       deuteronomy localhost localhost.localdomain
> # echo '127.0.0.1 localhost' >/etc/hosts
> # dnsdomainame
> gigabit
> # hostname -f
> deuteronomy.gigabit

I have committed a patch to not define HOSTNAME, FQDN and DNSDOMAINNAME if
the corresponding binary returns an empty string, and have adapted the
rules using these macros to cope with the macro being undefined.

I hope this fixes the issue.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-aide-maintainers mailing list