Date: Fri, 09 Apr 1999 11:44:41 -0700 From: Fred Gilham <gilham@snapdragon.csl.sri.com> To: freebsd-stable@FreeBSD.ORG Subject: Problem with rc Message-ID: <199904091844.LAA04334@csla.csl.sri.com>
next in thread | raw e-mail | index | archive | help
I tried to send a PR on this but it didn't work---I got the following error: Proxy Error The proxy server could not handle this request. Reason: Could not connect to remote machine So here it is: I notice that there's a spot in the rc file that does the following: # Whack the pty perms back into shape. chmod 666 /dev/tty[pqrsPQRS]* chown root:wheel /dev/tty[pqrsPQRS]* Unfortunately this is done before networking is up, in particular NIS. Since we manage our wheel group centrally, the wheel group isn't present in the /etc/group file, and an NIS lookup is attempted, with results that should be obvious to anyone with familiarity with this kind of setup. Moving this section past the network_pass stuff fixes the problem. Here's a context-diff: japonica:/etc > diff -c rc /usr/src/etc/rc *** rc Fri Apr 9 18:13:18 1999 --- /usr/src/etc/rc Thu Mar 18 02:08:18 1999 *************** *** 170,175 **** --- 170,179 ---- mount -a -t nfs echo . + # Whack the pty perms back into shape. + chmod 666 /dev/tty[pqrsPQRS]* + chown root:wheel /dev/tty[pqrsPQRS]* + # clean up left-over files clean_var # If it hasn't already been done rm /var/run/clean_var *************** *** 248,256 **** network_pass3 fi - # Whack the pty perms back into shape. - chmod 666 /dev/tty[pqrsPQRS]* - chown root:wheel /dev/tty[pqrsPQRS]* # build ps databases kvm_mkdb --- 252,257 ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904091844.LAA04334>