From: David Chow <davidchow@rcn.com.hk>
To: linux-kernel@vger.kernel.org
Subject: wrong domainname in ipconfig.c
Date: Sun, 04 Nov 2001 11:24:05 +0800 [thread overview]
Message-ID: <3BE4B4D5.5090704@rcn.com.hk> (raw)
Dear all,
In ipconfig.c the GNU extension'ss domainname (ypdomain or nisdomain) in
system_utsname.domainname is wrong after executing the function "__init
ip_auto_config_setup()". It has mixed with the dnsdomain passed from the
kernel command line "ip=". This also results in the wrong hostname which
is passed by the command line, this make commands like "domainname",
"nisdomainname", "dnsdomainname" and "hostname" output wrong
information. The dns domainname should be read from the hostname from
the "uname()" call. The nisdomainname stored in the
system_utsname.domainname is a GNU extension. To support passing
nisdomain from the kernel command line should use a separate parameter
such as "nisdomain=" or "ypdomain=" where #ifdef _GNU_SOURCE will enable
compile-in of this bootup option to allow bootup configure with the
nisdomain. I will make a patch for this later. If anyone is also doing
the same thing, please give me a notice. Thanks.
regards,
DC
reply other threads:[~2001-11-03 15:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BE4B4D5.5090704@rcn.com.hk \
--to=davidchow@rcn.com.hk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.