Bug#314951: [Logcheck-devel] Bug#314951: logcheck prints error message if system hostname not resolvable

maximilian attems debian at sternwelten.at
Sun Jun 19 19:39:47 UTC 2005


On Sun, 19 Jun 2005, Jamie L. Penman-Smithson wrote:

> package logcheck
> tags 314951 wontfix
> thanks

well i don't agree.
 
> On Sun, 2005-06-19 at 17:44 +0200, Thomas Hood wrote:
> > root at thanatos:# su -s /bin/bash -c "/usr/sbin/logcheck" logcheck >/dev/null
> > hostname: Unknown host
> > root at thanatos:# echo $?
> > 0
> 
> This is a problem with your system, not logcheck. You need to ensure
> that your systems hostname and its IP address is listed in /etc/hosts. I
> seem to remember this being done by default with a new install, so I'm
> not sure why you're any different.

well i'm prety sure that jdthood experimeted some new networking suff.
and he is right we shouldn't fail so badly to report aboves error.
should be included in the erorr handling.

it didn't bit us as i assume many usual server daemons wont like aboves
setting too. :-P

thanks

--
maks





More information about the Logcheck-devel mailing list