• Bug#265495: No trivial way to use NFS mounted ~ with NIS names

    From Ross Burton@1:229/2 to All on Fri Aug 13 14:30:14 2004
    From: [email protected]

    Package: nis
    Version: 3.11-3
    Severity: normal

    On our work desktops /home is mounted over NFS and the host naming is performed with NIS (each desktop only knows what its name is).

    However, the default setup of NIS and NFS is that NFS starts first, the NIS. This means that when NFS starts it tries to mount /home from "gawain", a name which NIS can happily resolve but without it the mount fails. Then NIS starts and once the boot is complete I can login and type "mount /home".

    I've created /etc/rcS.d/S44nis which simply calls "/etc/init.d/nis start" which works around the problem but isn't pretty.

    I understand that this is probably due to some people wanting /usr to be served over NFS, but it would be great if both use cases were possible out of the box.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.26-1-686
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Miquel van Smoorenburg@1:229/2 to Ross Burton on Fri Aug 13 15:10:11 2004
    From: [email protected]

    On 2004.08.13 14:01, Ross Burton wrote:
    Package: nis
    Version: 3.11-3
    Severity: normal

    On our work desktops /home is mounted over NFS and the host naming is performed
    with NIS (each desktop only knows what its name is).

    However, the default setup of NIS and NFS is that NFS starts first, the NIS. This means that when NFS starts it tries to mount /home from "gawain", a name which NIS can happily resolve but without it the mount fails. Then NIS starts
    and once the boot is complete I can login and type "mount /home".

    You're using NIS to resolve hostnames? It's not 1986 anymore, you know .. :)

    Using NIS to resolve hostnames has been deprecated for years. You really should consider switching to DNS, that will solve your problem right away.

    Mike.
    --
    The question is, what is a "manamanap".
    The question is, who cares ?


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)