From: hdkutz <hd...@hd...> - 2007-07-31 09:30:11
|
On Tue, Jul 31, 2007 at 10:49:23AM +0200, Rainer Tammer wrote: > Hello, > > hdkutz wrote: > > The commands differ! Check the man page and info of /opt/freeware/bin/hostname. > > > I know. This is not the problem. > > But is I execute existing configure (automake, mc, ...) scripts I have > no influence on the commands executed. Hello Rainer, oh, you have, why couldn't you change the configure script. It's a normal shellfile no executable. > I have observed several times that the configure scripts __destroy__ my > hostname !! > > Furthermore a hostname starting wih "-" is not valid !! > > Note: > Unlike domain names, hostname labels can only be made up of the ASCII > letters 'a' through 'z' (case-insensitive), > the digits '0' through '9', and the hyphen. Labels can not start nor end > with a hyphen. Special characters other than > the hyphen (and the dot between labels) are not allowed, although they > are sometimes used anyway. > > So the fact that GNU hostname sets the "-s" as a hostname violates > standard RFCs !! Difficult to say. Your auto(make|conf) are not the IBM-RPM Packages. Maybe thats your problem. Try not to use the hostname-Command from GNU-Toolbox. The hostname Command only does what you ask him to do. From the manpage you can see that AIXTOOLBOX GNU-Hostname doesn't support any Switch (only --help and --version). If you (or some Script) execute /opt/freeware/bin/hostname -s bla why are you wondering that your hostname is "-s"? Cheers, ku -- C-3PO: We seem to be made to suffer. It's our lot in life. |