I created a simple SMF service that runs a script in my home directory.
Because my home directory is automounted, the script shouldn't run until
the automounter is working, so I put in a dependency:

             <service_fmri value='svc:/system/filesystem/autofs' />

Unfortunately, that didn't work.  The service startup always fails with:

svc.startd could not set context for method: chdir: No such file or directory

(No, it doesn't tell me *which* file or directory doesn't exist.  Grumble.)

I changed the dependency to:

             <service_fmri value='svc:/milestone/multi-user' />

That works.

What did I do wrong?

Reply via email to