* wrong domainname in ipconfig.c
@ 2001-11-04 3:24 David Chow
0 siblings, 0 replies; only message in thread
From: David Chow @ 2001-11-04 3:24 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-03 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-04 3:24 wrong domainname in ipconfig.c David Chow
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.