#2364: Couple of issues with hostname programs
--------------------------------+-------------------------------------------
Reporter: ch...@… | Owner: lfs-b...@…
Type: task | Status: reopened
Priority: normal | Milestone: 7.0
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment(by matt...@…):
From DJ on lfs-book:
Before you do that, does util-linux-ng bring back fqdn capable
hostname? I've been using a shell script to query/write proc/ for
hostname for a long time.
Yes, I believe inetutils (not util-linux-ng, sorry, comment 1 had a typo!)
does provide a fqdn capable hostname:
{{{
matt...@kyoto:~/sources/inetutils-1.6/hostname$ ./hostname --help
Usage: hostname [OPTION...] [NAME]
Show or set the system's host name.
-a, --aliases, --alias Alias names
-d, --domain DNS domain name
-f, --fqdn, --long DNS host name or FQDN
-F, --file=FILE Read host name or NIS domain name from FILE
-i, --ip-addresses, --ip-address
Addresses for the host name
-s, --short Short host name
-y, --yp, --nis NIS/YP domain name
-?, --help give this help list
--usage give a short usage message
-V, --version print program version
}}}
So, do we instead want to disable Coreutils' version by removing the
'--enable-install-program=hostname' from chapter06/coreutils.xml and
moving Inetutils up in the build order to before Perl?
Regards,
Matt.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2364#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page