Hello All;

I am having loads of problem running the Sun MC Services under a 
specific defined project.

# cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
group.sunmc:100::smcorau:esadm,esdomadm,esops,smcorag: <--- ****

First I disabled the service;

# svcadm -v disable -st svc:/application/management/sunmcwebserver       
svc:/application/management/sunmcwebserver:default temporarily disabled.
             

Then using svccfg, I did..

# svccfg -s svc:/application/management/sunmcwebserver
svc:/application/management/sunmcwebserver> setprop start/project = astring: 
group.sunmc
svc:/application/management/sunmcwebserver> end

I then refresh the service...

# svcadm -v refresh svc:/application/management/sunmcwebserver

Then enabled it...

# svcadm -v enable -s svc:/application/management/sunmcwebserver
svc:/application/management/sunmcwebserver:default enabled.

But the processes kicked of under the above service (svcs -p sunmcwebserver) 
did not end up in project group.sunmc. (The processes are owned by root and run 
under the default project, which is not what I want).

I used svcprop to look at the appropriate properties...

# svcprop -v -p start sunmcwebserver
start/exec astring /lib/svc/method/es-svc.sh\ start\ webserver
start/timeout_seconds count 300
start/type astring method
start/project astring group.sunmc

????

Warmest Regards
Steven Sim






Fujitsu Asia Pte. Ltd.
_____________________________________________________

This e-mail is confidential and may also be privileged. If you are not the 
intended recipient, please notify us immediately. You should not copy or use it 
for any purpose, nor disclose its contents to any other person. 

Opinions, conclusions and other information in this message that do not relate 
to the official business of my firm shall be understood as neither given nor 
endorsed by it.



Reply via email to