All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Lafage <Thierry.Lafage@irisa.fr>
To: ultralinux@vger.kernel.org
Subject: Re: NIS pbs
Date: Thu, 07 May 1998 08:41:46 +0000	[thread overview]
Message-ID: <marc-linux-ultrasparc-90222356530979@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-90222356530971@msgid-missing>

Wesley Hosking wrote:
> You need to set the NIS domainname in /etc/sysconfig/networks
> 
> ie: add
> NISDOMAIN=yourdomainname
> to the end of the file.
> 
> If you want to check out whats happenning look at /etc/rc.d
> 
> in rc.sysinit you have :
> 
> # Set the NIS domain name
> if [ -n "$NISDOMAIN" ]; then
>     domainname $NISDOMAIN
> else
>     domainname ""
> fi
> 
> (Which is set from the networks file)

Yes, I saw it. Thanks. My post was just to say that the command
'domainname' or 'hostname -y' without any argument does not give the
right output (under certain circumstances). On the other hand, the
system seems to use the right NIS domain name value, so no problemo at
all :-).

>  > 
>  > 2)
>  > > rpm -Uvh ypbind-3.3-3.sparc.rpm 
>  > ypbind                      #############################################>  > #####
>  > > cd /etc/rc.d
>  > > find . -name '*ypbind*' -ls   
>  > 101712 1 -rwxr-xr-x 1 root root 863 May  4 13:39 ./init.d/ypbind
>  > 132156 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc0.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >   6236 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc1.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >  48874 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc2.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >  79342 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc3.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >  89412 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc4.d/K30ypbind -> ../i>  > nit.d/ypbind
>  > 101715 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc5.d/K30ypbind -> ../i>  > nit.d/ypbind
>  > 122203 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc6.d/K30ypbind -> ../i>  > nit.d/ypbind
>  > 
>  > I don't know how to setup these links to start ypbind correctly at boot t>  > ime.
> 
> Normally in rh5.0 you can change this with the level editor (whatever
> its called ? ).
> 
> In the above cases change the K to an S for the levels you want it
> running in ie: 3,4,5
> 
> ie: rc3.d/S30ypbind
> 

Here also, I did not want to say, hey this does not work !, but just
precise that the links are not correctly configured by the rpm
installation process. To set up correctly the links, I used
'chkconfig':
chkconfig --levels 345 ypbind on

Be careful, this does not only change the K to an S, but K30 to S70
(see init.d/ypbind).

> wes
> 
> PS: hopes this helps, I had trouble because I was specifying NISDOMAIN
> as NIS_DOMAIN

So do I.


Thierry Lafage.

PS. A special thanks to Felix von Leitner who provided great help ;-).

      parent reply	other threads:[~1998-05-07  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-06  9:58 NIS pbs Thierry Lafage
1998-05-07  0:16 ` Wesley Hosking
1998-05-07  8:41 ` Thierry Lafage [this message]

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=marc-linux-ultrasparc-90222356530979@msgid-missing \
    --to=thierry.lafage@irisa.fr \
    --cc=ultralinux@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.