From owner-freebsd-bugs Sat Sep 23 17:50:15 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 17C7C37B440 for ; Sat, 23 Sep 2000 17:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA99288; Sat, 23 Sep 2000 17:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sat, 23 Sep 2000 17:50:04 -0700 (PDT) Message-Id: <200009240050.RAA99288@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: damien@carroll.com Subject: conf/21484: 'chown' statement occurs before NIS startup in /etc/rc Reply-To: damien@carroll.com Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR conf/21484; it has been noted by GNATS. From: damien@carroll.com To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: conf/21484: 'chown' statement occurs before NIS startup in /etc/rc Date: Fri, 22 Sep 2000 15:44:38 -0400 (EDT) >Number: 21484 >Category: conf >Synopsis: chown statement in /etc/rc fails if NIS is configured and root is not in passwd >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 22 12:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Damien Tougas >Release: FreeBSD 4.1-STABLE >Organization: Carroll-Net, Inc. >Environment: FreeBSD 4.1-STABLE workstation configured an an NIS client. The /etc/master.password file contains only one entry: +::::::::: The file /etc/group contains only one entry: +:*:: >Description: Workstations takes a very long time to bood due to NIS timeout. The /etc/rc boot script has the following line: chown root:wheel /dev/tty[pqrsPQRS]* This statement occurs before NIS services are started (network_pass2). Because of this, the system will pause for a very long time at boot while it attempts to get the UID/GID from NIS until it times out. >How-To-Repeat: Setup a workstation to act as an NIS client. Install /etc/master.passwd with the following line only: +::::::::: Install /etc/group with the following line only: +:*:: Reboot the system. >Fix: This problem is fixed by moving the 'chown' statement (as described above in /etc/rc) directly after NIS service startup (network_pass2). This allows the chown statement to properly get the UID/GID information it requires from NIS hence avoiding the timeout. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message