[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with sudo in a chroot



Lennart Sorensen wrote:
> On Fri, Jul 29, 2005 at 07:40:13PM +0200, Sylvain Archenault wrote:
> 
>>Hello,
>>
>>I've got this error, when i run this command in a chroot environment :
>>
>>sylvain@ticho:/$ sudo -H firefox
>>sudo: unable to lookup ticho via gethostbyname()
>>
>>
>>sylvain@ticho:/$ hostname
>>ticho
> 
> 
> Does your chroot have /etc/hosts and/or /etc/resolv.conf populated
> correctly?
> 
> Len Sorensen
> 
> 

Well, the problem comes frm /etc/hosts,
thanks for you help



Reply to: