Summary : NIS map for locale

Date: Tue Sep 05 2000 - 07:26:55 CDT

Thanks to Mr. Sean Quaint for giving me the exact solution.
The mistake I did was as follows: in /var/adm/Makefile
                | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/locale; \
and the correct answer is
                | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/locale.byname; \

The summary of the solution :
Edit /var/adm/Makefile, and do the following changes
all: passwd group hosts ethers networks rpc services protocols \
        netgroup bootparams aliases publickey netid netmasks c2secure \
        timezone auto.master auto.home locale

locale.time: $(DIR)/locale
        -@if [ -f $(DIR)/locale ]; then \
                sed -e "/^#/d" -e s/#.*$$// $(DIR)/locale \
                | awk '{for (i = 2; i <=NF; i++ ) print $$i, $$0}' \
                | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/locale.byname; \
                touch locale.time; \
                echo "Updated locale"; \
                if [ ! $(NOPUSH) ]; then \
                        $(YPPUSH) locale.time; \
                        echo "Pushed locale"; \
                else \
                : ; \
                fi \
        else \
                echo "Couldn't find $(DIR)/locale"; \

locale: locale.time
and recreate the NIS maps:
# cd /var/yp ; make

and the system's NIS map for locale is working fine.

Jagadeesh. V wrote:

> I am trying to do JumpStart Installation with NIS. I need to setup NIS
> locale map. I edited /var/yp/Makefile and added an entry "locale" in
> "all" list. Also, did the required other modifications in Makefile.
> the /etc/locale looks like
> rmn en_US
> amit C
> where rmn is the NIS domainname, and amit is the name of the auto
> installation client. Then,
> # cd /var/yp ; make locale
> works without any errors.
> At the client's ok prompt, if we say
> ok> boot net - install
> It takes all information for system configuration like hostname, ip-addr,
> ethernet addr, bootparams, timehost etc, except locale.
> It asks us to select the locale, and then the installation continues
> without any errors. If I use the sysidcfg file, the locale is taken
> without any problem.
> My problem is with NIS, and the question is how to create an NIS locale
> map ?
> Any info will be of extreme help.
> TIA.
> Jagadeesh.

U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:16 CDT