On 10/19/06, Alessandro Alocci <[EMAIL PROTECTED]> wrote:
Alle 13:09, giovedì 19 ottobre 2006, juras256 ha scritto:
> At the very beginning of setting up my system I noticed that
> the login banner defined in /etc/issue
> shows domainname=(none) when I use \o in it.
> Does it have anything to do with DOMSUF and
> how to define domainname for /etc/issue?

About /etc/issue: it seems that other distro
have to patch util-linux and agetty to add an option to show
the dnsdomainname, for example take a look at
this gentoo patch:
util-linux-2.11z-agetty-domainname-option.patch
at
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/files/

I'm not the networking expert, but another option is to fetch
net-tools. It has simple utilities for setting the domainname. I added
this little bit to /etc/rc.d/init.d/localnet:

               if [ -x /bin/dnsdomainname ]; then
                       boot_mesg "Setting domainname to $(dnsdomainname)..."
                       domainname $(dnsdomainname)
                       evaluate_retval
               fi

Then issue always shows me the domainname. Of course, you could make
domainname be whatever you want, but that works for me.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to