> > Did you change root's directory to "/root" (it used to be "/" before. > > > No. I thought there was some recent ARC case, or Integration that did > that as the default for Solaris NV. > This machine is running b91, but /root has been there since the > beginning, and I haven't changed it. > > From your other message, I don't know how I missed it, maybe because I > was russhing and 2360 has 4 characters like 'root'. I still have no idea > how it got changed, but fixing that fixed it all.
At least on OpenSolaris 2008.05 build 93 and up (and probably from 2008.05 itself) ~root == /root, and it is 0700. That said rpcbind starts as root:root with least privilege and then switches to daemon:other and drops more privilege. So why would svc.startd have any trouble doing chdir(~/root) for this service? That's a more interesting question. Also, why should services whose method_context user == "root" run in root's home directory? Should /var/svc/manifest/network/rpc/bind.xml be modified to specify a working_directory in its start method's method_context? Nico --