[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in hostname
From: |
Martin MOKREJŠ |
Subject: |
Re: bug in hostname |
Date: |
Sat, 10 Jan 2004 11:30:36 +0100 (CET) |
Hi,
I never got final emails from developers regarding a fix to this problem.
There were mentioned other tools being buggy or behave in a different
way(i.e. conform POSIX) like tail(1), head(1) etc. Please refresh
http://www.mail-archive.com/address@hidden/msg00779.html thread and
possibly built into a configure check that no
filutils/textutils/sh-utils/net-tools are installed if they are known to
install files into same location. Please, save us headaches. I hit the same
problem now on Gentoo, and as I browse Gentoo's bugzilla, I was not the
only one. :(
Thnaks a lot!
Martin
On Tue, 7 Oct 2003, Bob Proulx wrote:
> Martin MOKREJ? wrote:
> > Hi,
> > hostname(1) does not accept -s option to print short hostname,
> > ie. not foo.bar.baz but only foo. It is required on Tru64Unix 5.1A
> > during system startup. When hostname from coreutils is found,
> > the system hostname is set improperly(to "-s").
>
> Many software distributions use the net-tools 'hostname' command
> instead of the coreutils 'hostname' command. It provides much more
> capability. Perhaps that would be a good solution for you as well.
>
> http://www.tazenda.demon.co.uk/phil/net-tools/
>
> Bob
>
> > Please provide full compatibility:
> >
> > hostname(1) hostnam=
> > e(1)
> >
> >
> >
> > NAME
> >
> > hostname - Sets or displays the name of the current host system
> >
> > SYNOPSIS
> >
> > hostname [-s] [new_name]
> >
> > DESCRIPTION
> >
> > The hostname command sets or displays the name of the current host syst=
> > em.
> > If you use the -s option, the short form of the host name is displayed.
> > Only the superuser can set the hostname.
> >
> > EXAMPLES
> >
> > 1. To display the short form of the local host name, enter:
> > $ hostname -s
> > host1
> >
> > 2. To change the name of the local host, enter:
> > # hostname west
> >
> >
> >
> >
> >
> >
> >
> > addax.gsf.de# /afs/gsf.de/alpha_dux51/usr/bin/hostname --help
> > Usage: /afs/gsf.de/alpha_dux51/usr/bin/hostname [NAME]
> > or: /afs/gsf.de/alpha_dux51/usr/bin/hostname OPTION
> > Print or set the hostname of the current system.
> >
> > --help display this help and exit
> > --version output version information and exit
> >
> > Report bugs to <address@hidden>.
> > addax.gsf.de# rcmgr get HOSTNAME
> > addax.gsf.de
> > addax.gsf.de# /afs/gsf.de/alpha_dux51/usr/bin/hostname
> > addax.gsf.de
> > addax.gsf.de# /usr/sbin/hostname
> > addax.gsf.de
> > addax.gsf.de# /afs/gsf.de/alpha_dux51/usr/bin/hostname -s
> > addax.gsf.de# /usr/sbin/hostname
> > -s
> > addax.gsf.de#
> >
> >
> > --=20
> > Martin Mokrejs <address@hidden>, <address@hidden>
> > PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> > MIPS / Institute for Bioinformatics <http://mips.gsf.de>
> > GSF - National Research Center for Environment and Health
> > Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> > tel.: +49-89-3187 3683 , fax:=A0+49-89-3187 3585
> >
> >
> > _______________________________________________
> > Bug-coreutils mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-coreutils
> >
>
--
Martin Mokrejs <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
- Re: bug in hostname,
Martin MOKREJŠ <=
- Re: bug in hostname, Jim Meyering, 2004/01/10
- Re: bug in hostname, Alfred M. Szmidt, 2004/01/10
- Re: bug in hostname, Martin MOKREJŠ, 2004/01/21
- Re: bug in hostname, Alfred M. Szmidt, 2004/01/21
- Re: bug in hostname, Paul Jarc, 2004/01/21
- Re: bug in hostname, Alfred M. Szmidt, 2004/01/22
- Re: bug in hostname, Martin MOKREJŠ, 2004/01/29
- Re: bug in hostname, Paul Jarc, 2004/01/29