1 <qandaentry id="f-hostname">
2 <question><para>My hostname is getting set to "-f"!</para></question>
3 <answer><para>You need to install the net-tools package.
4 (See the instructions in the LFS book.)
6 <para>The hostname command your system is using is from sh-utils
7 and doesn't support the -f option.
8 When it is called with the -f option it assumes
9 the hostname should be set to "-f".
10 The hostname command from net-tools doesn't have this problem.