How do I get a service to be enabled only on a reboot?

Hi!
Here's what I'm trying to do:
I have a transient service, which makes configuration changes on the system early in the boot process. However, when I install(import in SMF) this service on a system, I do not want it to run right then as it is too late to make those configuration changes on a running system. I only want it to run at boot time on the next reboot.
Options I've considered:
Option A:
1. Create a manifest with create_default_instance_enabled=true
2. Put my xml file in /var/svc/manifest/site/mysvc.xml
I do not want to import this at install time. On first reboot, it picked it up. After that, during testing, I deleted it from the repository, left the service in /var/svc/manifest/site/mysvc.xml, and rebooted, SMF didn't pick it up.
Option B:
If I instead have a manifest with create_default_instance_enabled=false, and import this.. How do I then make SMF create an instance of this service ONLY at boot time.
I've seen other posts which talk about putting your manifest in /var/svc/manifest/site/mysvc.xml or in /var/svc/profile/site.xml. I'm not sure what the difference is between these 2. Unfortunately, I haven't found any documentation on this.
I'd greatly appreciate some pointers on getting this right.
Thanks!!
pramam

Option A:
1. Create a manifest with
create_default_instance_enabled=true
2. Put my xml file in
/var/svc/manifest/site/mysvc.xml
I do not want to import this at install time. On
first reboot, it picked it up. After that, during
testing, I deleted it from the repository, left the
service in /var/svc/manifest/site/mysvc.xml, and
rebooted, SMF didn't pick it up.Okay.
Option B:
If I instead have a manifest with
create_default_instance_enabled=false, and import
this.. How do I then make SMF create an instance of
this service ONLY at boot time. I think you could use svccfg to set the :default general/enabled to 'true'. That wouldn't make it run, but it would try to run on restart.
I've seen other posts which talk about putting your
manifest in /var/svc/manifest/site/mysvc.xml or in
/var/svc/profile/site.xml. I'm not sure what the
difference is between these 2. Unfortunately, I
haven't found any documentation on this.The first is for your manifest. That describes your service. You'll notice that most sun services are not enabled in the manfest.
The second is a profile. A profile is brought in usually at first boot to configure a system. It may enable or disable services. Notice that there are two "generic" profiles. One turns on most things, one keeps a lot of stuff turned off.
There are 3 site profiles that can be brought in automatically: generic, platform, and site. You can create a site.xml and the first boot that finds it will load it. So at jumpstart time you can put manifests you need in the manifest area and enable/disable what you want by the site.xml.
If you use a site.xml at jumpstart time, you can't use it later to modify things.
Darren

Similar Messages

  • How can I get a service for new powerbook 15" 1.67 screen?

    I would like to know how I can get a service for my brand new PB15" screen.
    Today I have read an message on the Korean apple forum that New unit of 15" 1.67 doesn't have any line problem.
    So, I really want to know whether it is true or not.
    If it is, Can I get an exchange for my new 15" 1.67 in India?
    Could you help me Apple?
    I bought it in Korea 15,Nov, 2005 and Now I am in Mumbai India.
    There is a apple international Mumbai in India.
    I have a 1 year world worranty.
    If the new unit doesn't have any line problem, It means that mine has a problem.
    Now I am falling in love with powerbook 15" 1.67 which is my first Mac in my life except line problem.
    How can I get a service for it.
    Please Help me.

    Yes I have read of other reports from people saying theirs are fine. I am really looking forward to purchashing one but I do not want to take a 2000 dollar chance that I might end up with a bad screen. I am still waiting for apple to make an announcement. I have also begun seing reports on some "news like" websites but not really the major ones.

  • How can I get location services to stay on inside?

    I have a WiFi iPad 2 w/iOS 8.1.  I want to use PayPal Here that requires location services in my nursery.  It works fine outdoors but inside our metal buildings with metal roofs the location services do not work (and PayPal Here does not work) even though I am still connected to our WiFi network.  PayPal support is no help.  How can I get location services to stay on inside the buildings?
    <Re-Titled By Host>

    Got to Settings > General > Autolock to set the lock time.

  • When I plug my ipod touch into the pc, it tells me:the ipod cannot be used because the apple mobile device service is not started. What does this mean and how do I get rid of that and enable syncing?

    When I plug my ipod touch into the pc, it tells me:the ipod cannot be used because the apple mobile device service is not started. What does this mean and how do I get rid of that and enable syncing?

    Hello Julia,
    Start with this article.
    http://support.apple.com/kb/ts1567
    B-rock

  • How do I get The ipad locked to run only one application for customers (perhaps a webapp)

    how do I get The ipad locked to run only one application for customers (just one web app, or video- instructions, or just safari). What I really want is that my customers to only use one app that has all my services. It is an interactive app so I would not like them to go surfing elsewhere while they are in my store.
    Is it possible to do this on the iPad ?

    Try this:
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    checkbox - clusters_MOD.vi ‏23 KB

  • How do I get the Apps onto one Ipad only for Creative Cloud??

    We've downloaded onto 2 imacs Creative Cloud Software and there are not problems at this stage.
    How do I get the Apps onto one Ipad only for Creative Cloud??
    regards
    Rod

    This was part of the original thread you responded too but I have branched out your discussion to make it more specific.  This is already discussed under the Touch Apps FAQ - http://www.adobe.com/products/touchapps/faq.html.  Here is the relevant excerpt:
    Customers who sign up for an annual membership to Creative Cloud or who buy a 12-month prepaid card at a retailer or online store will be eligible for a free month of Creative Cloud when they purchase and sign in from three qualifying Adobe Touch Apps from Google Play or the Apple App Store. This includes Adobe Collage, Adobe Debut, Adobe Ideas, Adobe Kuler, Photoshop Touch, and Adobe Proto.
    Customers who purchase an annual membership directly from Adobe and qualify for this offer will not be charged for the month of service following sign-in from their third Adobe Touch App. 
    Customers who purchase a 12-month prepaid card from a retailer or online store and qualify for this offer will have one month added to the duration of their membership.
    Creative Cloud members will be notified about their free month within 60 days of signing in to their third qualifying Adobe Touch App

  • How can i get a power bar code i only have a ee mobile wifi

    How can i get a power bar code i only have a ee mobile wifi which doesnt allow me to sent texts .. ive tried the sim card in a unlocked phone but it wont send texts

    You could try putting your SIM into an EE phone. It's only a SIM, it should be be able to send an SMS.

  • I downloaded Adobe immigration software for Aperture, opened Lightroom, but the Aperture library was grayed out so it couldn't be selected to import. How do I get it to work? I only have a few days left on the test version of Lightroom to see how it works

    I downloaded Adobe immigration software for Aperture, opened Lightroom, but the Aperture library was grayed out so it couldn't be selected to import. How do I get it to work? I only have a few days left on the test version of Lightroom to see how it works with my Aperture library.

    Gracias photo-enthusiast por tu respuesta pero hay docenas de de usuarios que tienen esta mismo problema, me da la sensación que nos tomas por gagas que no tenemos ni idea de lo que tenemos entre manos.
    Me alegro enormemente que no hayas tenido tu este problema.

  • TA25335 How do I get my QuickTime download to enable my videos online. It was required to play the video, but the videos still aren't able to play.

    How do I get my QuickTime download to enable my videos online. It was required to play the video, but the videos still aren't able to play.

    It is also saying when I try to play videos from my computer that there is a  I/O error. When I try to play movies from the hard drive it is saying 'This file is not a movie file."

  • Inactive Gift Card - How do you get constructive service from Apple?

    I bought a Gift Card on 22 October from the local supermarket.  It apparently wasn't activated by them.  Somehow Apple have made that my problem.  My first request was answered by a computer.  I am now dealing with humans who do not seem to have any authority to resolve the issue.  This is a ridiculous waste of peoples time over something that is relatively simple. 
    How does anyone ever get Apple to resolve an issue?  Is anyone within Apple actually authorised to make a decision?  Honestly, I am exasperated.  How does anyone get Apple to resolve these issues?
    For the last 3 weeks I have been patient - a model citizen.  Here is my latest email.  Apple keep removing its content.  They have also removed previous threads.  I have edited it slighltly for privacy reasons if that is their problem:
    This verging on the ridiculous.  I was quite excited to get my first iPhone.  Now I am not.  This has taken weeks to resolve.  It has included my returning to the store to be told that they can not help me and to contact Apple.  I contacted Apple, number [########] and received nothing but an automated response that had absolutely nothing to do with the inactive card.  Apple did nothing else and then sent me a satisfaction survey.  I could not believe that.
    [#######]  is my second attempt.  I have now spent hours trying to get this resolved.  We are talking about NZ$30 here! It is not the crown jewels.  It is not the value of an iPod, iPhone, or iPad.
    I have proved that I purchased the card, again and again.  Obviously, for whatever reason, it was not activated at the store.
    We have consumer laws in New Zealand.  I know them well.  I should never have let the store send me back to Apple as under our consumer laws it is the stores problem to solve.  It should not have been my problem and I should not have been put to this trouble.  I am not a criminal.  I purchased an iTunes card that didn't work.  That should be Apple's problem and the Countdown Store's problem.
    So that this is in language that hopefully Apple can understand - iMad.  Yes, very angry.  Angrier than an 'Angry Bird'.
    What I will do is:
    Tell everyone I know not to buy an iTunes card.  There is no service associated with it.
    Tell everyone I know that Apple spends weeks messing you around and does not actually provide any service.
    Tell everyone I know that Apple has a great product let down by poor service processes.
    What I do want to make very clear is that I do not hold you or [name] responsible.  At least I am dealing with humans after the nonsense automated response I first received.  However, someone in Apple somewhere must be able to make a decision.  Whoever it is and wherever they are please pass on the following message - STOP MESSING ME AROUND!  I deserve an iPad2 for the time you have taken out of my life.  I can never get those hours back.

    We have consumer laws in New Zealand.  I know them well.  I should never have let the store send me back to Apple as under our consumer laws it is the stores problem to solve.
    You have let the original store off the hook? I think this is where I would spend all my focus. They need to activate it, not Apple.

  • When i transferred service to another phone my account wireless and data wre zeroed out how do i get my service back i am paid in full until 08-02-14

    how do I get my paid in full service back

        mikekat123,
    Hmm that's a great question, let's get to the bottom of this for you. Did you just transfer service to another person or device? Was your phone number changed? Is this for a post paid account or prepaid? Please share additional details to get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • How do I get support service for my MacBook Pro that was purchased in the U.S. if I'm traveling internationally?

    My MacBook Pro (purchased August 2010) crashed at the beginning of a 2 month trip in India. Whenever I turn it on, I get either a grey screen or the apple logo and then a message telling me to restart my comp (this happens when I try to boot from the disc).  I've done everything short of cracking the case open to reposition the HD, and that's only becuase I can't get my hands on a adequately sized screwdriver.
    Any thoughts?  How do I get my computer services while in India? I'd be okay with shipping, but I can't even get a hold of apple without spending an astronomical amount in cell-phone fees.  Help?

    If this happens when you try to start from the installer DVD, then you have a hardware problem. Getting it repaired in India probably isn't easy to do. You could arrange with Apple to ship back to the US, but you would need to arrange with AppleCare for that.
    You might try Apple's India support numbers: (91) 1800 4250 744 or (91) 80-4140-9000.

  • How can I get customer service?

    How can I get costumer service

    Hi Iris and welcome to the Skype Community,
    Please follow the instructions here to contact Skype customer service
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • How do I get location services switches enabled when they are grayed out?

    In my Privacy\Location Services settings are grayed out. I don't have the option to slide them to "On." How do I get the switches activated?

    did you turn on location service first then turn it on for your apps.

  • HOW CAN I GET SQL/SERVICE

    Dear Mr./Ms.
    I browsed the your download Web pages, I couldn't found the ORACLE SQL/Service. Please tell me how can I get this software.I'll be glad to hear from you.
    sincerely yours
    YANG Hongyu

    Hi Peter,
    Maybe this will help you out:
    http://c2anton.blogspot.com/2006/10/setting-up-ssl-for-application-express.html
    Regards,
    Max A.

Maybe you are looking for