[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LFN24079170] [Feature Request] hostname providing -s parameter
From: |
Nicholas Stallard |
Subject: |
[LFN24079170] [Feature Request] hostname providing -s parameter |
Date: |
Thu, 1 Apr 2004 11:37:27 +0200 |
Dear coreutils maintainers,
dear Mr. Meyering,
it has come to my attention, that using gnu coreutils
on a non GNU system such as FreeBSD can yield serious problems.
The main problem arises because the FreeBSD hostname accepts
an -s parameter, which will trimm off any domain information
from the printed name.
So if I use hostname -s (without path) within /etc/rc.conf
and happen to not execute /bin/hostname (provided by the system)
but /usr/local/bin/hostname (provided by coreutils), you can
surely guess, the result is certainly undesireable.
I am aware, I could fix the path for hostname, but nevertheless
I think it might not be a bad idea for coreutils to support -s,
hence this bug report/feature request.
Is there any chance that the coreutils hostname could
accept a -s parameter (with the above mentioned functionality),
and if omitted, simply behave like it already does?
--
Gruss / Best regards | LF.net GmbH | fon +49 711 90074-0
Nicholas Stallard | Ruppmannstr. 27 | fax +49 711 90074-33
address@hidden | D-70565 Stuttgart | http://www.lf.net
- [LFN24079170] [Feature Request] hostname providing -s parameter,
Nicholas Stallard <=