Hi,

I am still fighting with the task "running the samba services under the samba 
project context". First I created the property group "method_context" with type 
framwork and added the property project with value samba. Those configurations 
were done for the whole service svc:/network/samba. But svcadm disable 
fmri:samba and restarting samba did not put the smbd and nmbd daemons into the 
correct project.

My next try was I deleted the method_context property group for the whole 
service and recreated it for the default instance (see the following svccfg 
output):

svc:/network/samba:default> listprop
general framework
general/enabled boolean false
restarter framework NONPERSISTENT
restarter/start_pid count 26107
restarter/start_method_timestamp time 1144401837.667488000
restarter/start_method_waitstatus integer 0
restarter/logfile astring /var/svc/log/network-samba:default.log
restarter/transient_contract count
restarter/contract count
restarter/auxiliary_state astring none
restarter/next_state astring none
restarter/state astring disabled
restarter/state_timestamp time 1144401927.208940000
restarter_actions framework NONPERSISTENT
restarter_actions/refresh integer
restarter_actions/maint_off integer
restarter_actions/restart integer
method_context framework
method_context/project astring samba

Yet this also did not solve my problem. As I understand the smf_method(5) 
manpage one can either set the method_context pg for the whole service or each 
specific instance. Both ways I have tried without success. I also tried 
different property group types (method, framework, method_context)for the group 
method_context with no success either.

I must be doing something wrong but I am not able to find the root cause for 
the problem.

mark
 
 
This message posted from opensolaris.org

Reply via email to