svc.startd or other SMF services (rpc/bind) fail to start and log "<SMF service name> could not set context for method: chdir: Permission denied" (Doc ID 1352478.1)

Last updated on AUGUST 11, 2017

Applies to:

Solaris Operating System - Version 10 10/08 U6 and later
Information in this document applies to any platform.

Symptoms

svc:/network/rpc/bind:default  FMRI will not start or run.  The logfile "/var/svc/log/network-rpc-bind" reports the following errors:

Aug 26 11:48:55 Method "start" exited with status 1 ]
[ Aug 26 12:33:51 Executing start method ("/lib/svc/method/rpc-bind start") ]
svc.startd could not set context for method: chdir: Permission denied
[ Aug 26 12:33:51 Method "start" exited with status 1 ]
[ Aug 26 12:33:51 Executing start method ("/lib/svc/method/rpc-bind start") ]
svc.startd could not set context for method: chdir: Permission denied
[ Aug 26 12:33:52 Method "start" exited with status 1 ]
[ Aug 26 12:33:52 Executing start method ("/lib/svc/method/rpc-bind start") ]
svc.startd could not set context for method: chdir: Permission denied
[ Aug 26 12:33:52 Method "start" exited with status 1 ]

 The same issue has been found with svc.startd and ntp (to date, presumably this may happen to other SMF services). 

Should svc.startd run into this issue, the normal boot sequence won't be completed.

Changes

It was discovered that some permissions had been changed - see "Cause" section below

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms