On (2005-12-29 21:21 +0200), Saku Ytti wrote:

There seems to be another bug on this issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341763

 while this probably isn't only place the bug should be, yes
'hostname' shouldn't complain, but still debian/unstable
installation is doing something wrong, as all fresh debian/unstable
installations will return only hostname (up until first dot) part
when 'hostname' command is issued.
 Very complex, as you'd really expect hostname to return hostname
not FQDN, but it doesn't seem to be proper way.

> On (2005-12-29 19:53 +0200), Saku Ytti wrote:
> 
> [EMAIL PROTECTED] ~]# hostname foo.ytti.fi
> hostname: the specified hostname is invalid
> 
> After this, even though it complains, it works. So apparently
> sethostname is ran regardless of the 'error' in hostname.
> 
> Dunno where the bug should be, definitely not in zsh.
> 
> > On (2005-12-29 12:47 -0500), Clint Adams wrote:
> > > > Tried on two debian/unstable boxes, same results. On freebsd box:
> > > > zsh 4.2.6 (i386-portbld-freebsd5.4)
> > > > 
> > > > I have no problem with above.
> > > 
> > > What is the value of $HOST in each of these cases?
> > 
> > On the freebsd that works, FQDN. On the debian/unstable boxes 
> > hostname (everything before first dot)
> > 
> > -foo- PS1="-%M- "   
> > -foo- echo $HOST  
> > foo
> > 
> > I noticed same behaviour in all zsh packages, so it's indeed
> > probably not zsh's problems.
> > 
> > -- 
> >   ++ytti
> 
> -- 
>   ++ytti

-- 
  ++ytti


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to