(originally posted on the open-solaris/discuss forum; did not know about this 
smf/discuss)

Hi; new to S10 and SMF. Am attempting to convert over some legacy services of 
ours to SMF. Here's the problem I'm running into.

We have an interactive script run by the user to set up the node for our 
software; it does a lot of stuff. We would like to set up our applications to 
be added into SMF, but we don't want them started; we instead want them enabled 
following a required reboot, so it would seem we would do the following:
1) svccfg import <manifest file>
2) svcadm disable -t <service>

Then following the reboot the service is brought up enabled. However, it does 
not appear that one can just set up the service with the 'disable -t'. I'm not 
sure what property gets affected with the -t option, but so far the only way to 
temporarily mark a service disabled is to first enable it, then do the disable 
-t.

Why can I not import the service definition and then mark it temporarily 
disabled?
 
 
This message posted from opensolaris.org

Reply via email to