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

Re: /bin/hostname on Debian



On 2008-08-24 12:00:52 +1000, Alex Samad wrote:
> On Sun, Aug 24, 2008 at 12:59:43AM +0200, Vincent Lefevre wrote:
> > On 2008-08-23 11:34:39 +0200, Gilles Mocellin wrote:
> > > Within Debian you should not put the FQDN in /etc/hostname.
> > 
> > There can be problems with that. I don't remember exactly. Something
> > like it is annoying not to be able to get the FQDN if the network
> > isn't up for some reason. Or perhaps because of software that uses
> > "hostname" and expects the FQDN.
> I have been placing hostname there and fqdn in /etc/hosts and this has
> worked fine for me for as long as I know.

I had a problem with NIS in the past (about 5 years ago) if
/etc/hostname didn't contain the FQDN.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


Reply to: