rpc/bind in single-user mode
By Liane Praza on Jul 27, 2005
A really simple tip today. If you want
rpcbind(1M) or any other service started while in single-user mode (
boot -s) or netbooted to single-user for repairs, all you need to do is temporarily enable the service. Using temporary enable (
svcadm enable -t) gets around the repository not yet being writable -- after all, you weren't looking for your change to take effect outside of your maintenance environment.
You may also find that the service you want requires other services.
svcs -l will show you the complete dependency list with current states displayed. Rather than going through and doing manual enables of everything, you can use the
-r option for
svcadm enable to tell it to recursively enable all services that are required. So, to temporarily enable
rpcbind(1M) and all the services it requires while in single-user mode, use:
# svcadm enable -rt rpc/bind
As promised, pretty simple. Someone commented this isn't well covered in our current documentation set. I've filed a bug, so you should see a similar task in the System Administration Guide in a future release.