mark scheufele wrote: > Hi, > > I've found a smf manifest for samba on the net and added the following > method_context section. > > <method_context working_directory=':default' project=':samba'> > </method_context> > > After doing that I imported the manifest which worked just fine. The command > svccfg listprop shows the following entries for method_context: > > method_context framework > method_context/project astring :samba > method_context/resource_pool astring :default > method_context/working_directory astring :default > > To me this looks ok. But when I start the samba service with svcadm enable > the processes aren't assigned to the correct project. Yet starting samba with > the command "newtask -p samba /lib/svc/method/samba start" assigns the > processes to the samba project. I am using solaris 10 update 1. >
Hi, Your project is called 'samba' (since newtask works ok), so you should use 'samba' in the method context element instead of ':samba'. <method_context ... project='samba'> Cheers, Menno