Conditionally disabling ypbind

Sultan Saini javagrendel at gmail.com
Mon Jun 11 15:02:16 UTC 2007


Hi fed-heads,

I have a laptop that I use at work and at home. There is an NIS server
at work and the ypbind service automatically binds the NIS server at
boot.

The problem is that there is no NIS server at home, and during boot
NIS binding takes almost 5 minutes to fail before the rest of the boot
sequence proceeds. As you can imagine, this is a real pain in the
rear.

Here is the boot line from grub.conf:

title Fedora Core (2.6.22-rc3)
        root (hd0,4)
        kernel /vmlinuz-2.6.22-rc3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.22-rc3.img

Ideally, I'd like ypbind to not take so long to fail binding, so that
I can use the same boot configuration at home and at work. Failing
that, is there a boot config that disable starting ypbind altogether?
That way I can use a different boot sequence at work and at home.

I'm running FC6 (with kernel 2.6.22rc3 prepatch) on a core 2 duo laptop.

Thanks in advance!
-- 
cheers....
....sultan




More information about the fedora-list mailing list