Bug 110993

Summary: [patch] /etc/netstart should start rpcbind
Product: Base System Reporter: Victor Sudakov <vas>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.5-RELEASE   
Hardware: Any   
OS: Any   

Description Victor Sudakov 2007-03-29 04:10:04 UTC
If a system is configured as a NIS client, running /etc/netstart in
single user mode produces weird effects, like "ls -alR /" hanging forever.
The possible reason is that the system is trying to perform a NIS lookup
and fails because rpcbind is not started.


Workaround: after running /etc/netstart, run "/etc/rc.d/rpcbind start"
How-To-Repeat: 1. Configure a system as a NIS client, with NIS lookups for group and passwd.
2. Boot in single user mode
3. mount -a ; /etc/netstart 
4. "ls -alR /" may hang forever
Comment 1 Victor Sudakov 2008-06-26 05:55:22 UTC
Here is a patch:

--- /usr/share/examples/etc/netstart	Fri Jan 12 13:40:53 2007
+++ /etc/netstart	Thu Jun 26 11:52:43 2008
@@ -63,4 +63,6 @@
 /etc/rc.d/routed start
 /etc/rc.d/nisdomain start
+/etc/rc.d/rpcbind start
+/etc/rc.d/ypbind start
 exit 0

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped