Where does the svc system get its infos from?

The longer I work with Solaris 10, the more I dread this awful "services" construction and its unwieldy administration.
I have a newly setup machine with two zones, one created right after the other, meaning they should be identical.
/usr is, as usual, lofs'ed into both zones, and contains a /usr/local/samba dir with a handcompiled 3.0.30 release.
I have not created any manifests as I intended to simply delete the 'onboard' samba service and start the new version
via the classical init script.
I boot both zones.. and one starts "/usr/local/samba/smbd -D -f /etc/smb.conf", and the other starts (or tries to) "/usr/sfw/sbin/smbd -D".
I inspected the manifest xmls for the network/samba service, and in both zones the entry lists /usr/sfw as start method.
svccfg listprop network/samba also reports /usr/sfw for both zones.
Where did the one zone get the info to start the /usr/local samba installation, and where did it get the (correct) conf file parameter?
Why does svccfg report a different startup method property than it really runs on svcadm enable?
I have grepped through all of /lib/svc, /etc/svc and /var/svc and nowhere is any reference to the /usr/local file nor the conf parameters.
Swapping the svc repository.db file between both zones also swaps the problem around - so it must be somewhere in there,
but as it's no longer a human readable file, I'm out of luck there. How did the /usr/local path and parameters get into that DB file?
Does the service system search the filesystem for known daemon binary names and other guesswork? And if it does such voodoo,
why didn't it do the same in the other identical zone?
rant Did we really need to get this svc "feature"? Until now I have seen no advantage from it, and only incurred a huge load of inconvenience,
be it the additional work of creating manifests for new services or debugging problems that I never had in a decade or two of init script usage.
We have all seen for many years how well this registry/service stuff worked on Windows..*/rant*

>
I boot both zones.. and one starts "/usr/local/samba/smbd -D -f /etc/smb.conf", and the other starts (or tries to) "/usr/sfw/sbin/smbd -D".
I inspected the manifest xmls for the network/samba service, and in both zones the entry lists /usr/sfw as start method.I take it you mean the full path with /usr/sfw in it, not "/usr/sfw" all by itself....
What do you get for:
svcprop -p start/exec network/samba:defaultThat should display the start string it uses.
Where did the one zone get the info to start the /usr/local samba installation, and where did it get the (correct) conf file parameter?I can only assume that some program inserted that string into the service. As you said, it's not in the manifest, so it didn't come from there.
Why does svccfg report a different startup method property than it really runs on svcadm enable?
I have grepped through all of /lib/svc, /etc/svc and /var/svc and nowhere is any reference to the /usr/local file nor the conf parameters.
Swapping the svc repository.db file between both zones also swaps the problem around - so it must be somewhere in there,
but as it's no longer a human readable file, I'm out of luck there. How did the /usr/local path and parameters get into that DB file?
Does the service system search the filesystem for known daemon binary names and other guesswork? And if it does such voodoo,
why didn't it do the same in the other identical zone?
rant Did we really need to get this svc "feature"? Until now I have seen no advantage from it, and only incurred a huge load of inconvenience,
be it the additional work of creating manifests for new services or debugging problems that I never had in a decade or two of init script usage.As with many such things, the advangages are greater when the environment is more complex. For starting a single job, you won't see the benefits as much.
Of course, the milestone services still run startup scripts out of /etc/rc[S23].d, so those are perfectly valid places to run a startup script.
Darren

Similar Messages

  • Where does iTunes  calendar sync get its info data  from?

    Does it get it from one source? for example, I see a birthday in iCal, but it does not want to appear on my iPhone, and I can't figure out why that should happen. I keep looking for a source of data that might not jive , like looking in Entourage address book or looking in Apples Address book. Both those sources have the correct information. I normally use Entourage as my mail program. Bottom line, my question seems to come back to what data source does the iphone/itunes interface use for Calendar sync, or for that matter, contacts, and mail?

    It syncs to the program that you selected.
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Where does the ACS server get the DNS info for IP pools?

    I am trying to change the DNS servers that my VPN users are assigned from the IP pools on the ACS server. Where does the IP pools get the DNS server information. I have changed the DNS Ips on the windows server and rebooted. But the VPN clients are still being assigned the old DNS servers.

    ACS ip pools do not push DNS server information
    It is either being forwarded from VPN concentrator group setup or
    it is being send from ACS user/group setup > Radius(VPN 3000) attributes > [026/3076/005] Primary-DNS.
    Hope this helps.
    Regards
    Rohit

  • (SOLVED) where does the xorg server gets the Composite file from?

    I'd like to see the list of composite combinations. Seeking on the Internet I understand that the file should be:
    /usr/share/X11/locale/en_US.UTF-8/Compose
    Where en_US.UTF-8 is my locale, but according to that file:
    <Multi_key> <underscore> <o>         : "ō"   U014D # LATIN SMALL LETTER O WITH MACRON
    I should obtain the small letter o with the macro using multi_key underscore and o. Instead I obtain this: º.
    Same problem with the
    <Multi_key> <c> <o>                  : "ǒ"   U01D2 # LATIN SMALL LETTER O WITH CARON
    If I press the keys I obtain: ©, the copyright sign...
    So... Where does the arch xorg got its Compose file? Change I change its behavior?
    Thanks.
    Last edited by ezzetabi (2009-10-10 15:25:02)

    I ignored that is was an application side issue, thanks for explanation. And indeed I was using lxterminal: the terminal emulator of lxde that is based on GTK. Using the xim input system everywhere solved the problem.
    People! Listen! Put this two lines in your .xinitrc :
    . /etc/X11/xinit/xinitrc
    export GTK_IM_MODULE=xim
    export QT_IM_MODULE=xim
    exec whatever you use
    Thanks! Cheers!
    Last edited by ezzetabi (2009-10-10 15:25:25)

  • Where does the JeelyBeans look and feel come from?

    Where does the JellyBeans Swing look & feel come from that is used in
    Workshop UI?
    -Nick

    Nick -- Thanks for the kind words.
    While we don't have plans to make the look and feel available outside of the IDE,
    you may want to check out some of the other look and feel resources within the
    Java community such as
    www.javootoo.com
    or
    http://directory.google.com/Top/Computers/Programming/Languages/Java/Class_Libraries/Graphics/User_Interface_Classes/Look_and_Feels/?tc=1
    We did use JDK 1.4 for Workshop and were very pleased with its performance and
    other aspects.
    - Pete Horadan
    Workshop Dev Mgr.
    "Nick Minutello" <[email protected]> wrote:
    I think it would be excellent if BEA made the JellyBeans look and feel
    freely available - even getting it added to the Sun JDK.
    There is a distinct interest in developing C# clients purely due to the
    fact
    that Swing doesnt perform and doesnt look good. JDK1.4 reportedly has
    numerous performance improvents. What is missing is a good look and feel.
    The Jelly Beans look and feel is quite good (I suspect that it is no
    accident that its flat look is similar to Visual Studion .NET.).
    I think that encouraging developers to remain with Java for GUI clients
    can
    only be good for Java and in turn J2EE as a whole. A pure java environment
    would be much better than a deliberatly mixed environment. Java RMI is
    much
    simpler than SOAP, etc.
    Aside from the ultruistic viewpoint, we would dearly like to use it in
    our
    Swing applications - perhaps we can stave off a turn to C# / .net clients.
    Regards,
    Nick
    "Carl Sjogreen" <[email protected]> wrote in message
    news:[email protected]...
    At this point we don't have plans to license the look and feel of the
    application (the swing components) separately, but I'd love to hearmore
    about what you had in mind.
    -Carl
    "Nick Minutello" <[email protected]>
    wrote
    in message news:[email protected]...
    I am really interested in the answer to this question... please
    =+=+=+=
    Does BEA have any intentions of making the look & feel commercially
    or
    freely
    available? (esp for existing, but potentially growing customers ;-)
    -Nick
    =+=+=+=
    -Nick
    "Ian M. Goldstein" <[email protected]> wrote in message
    news:[email protected]...
    It's homegrown. (There is no pluggable look-and-feel at this time.)
    Ian M. Goldstein
    Developer Relations Engineer
    BEA Systems, Inc.
    "Nick Minutello" <[email protected]>
    wrote
    in message news:[email protected]...
    Where does the JellyBeans Swing look & feel come from that is
    used
    in
    Workshop UI?
    -Nick

  • Where does the converted document get saved to?

    After the PDF doc is converted to word and I hit save, where does the saved/converted document end up?

    Wherever your browser is configured to save files to by default or the location you select.
    I would suggest searching for the file name (without extension) through Windows Search or Spotlight.
    If you're having difficulty saving the files at all, I'd suggest trying the troubleshooting steps outlined here: http://forums.adobe.com/docs/DOC-1831
    Let us know how it goes!
    -David

  • Where does the Calendar and Home Calendar come from ?

    I have two iPhones, two iPads and a Mac that share one Apple id. Where do the Calendar and Home Calendar come from?

    Siretman wrote:
    I have two iPhones, two iPads and a Mac that share one Apple id. Where do the Calendar and Home Calendar come from?
    Are you asking which calender takes president?

  • Where does the buffer data gets stored in bw 3.5 bps?

    Hi all,
    Is there any standard tables, where in i can look for the buffer data. And how to delete nor refresh the buffer data in bw 3.5 bps?
    Can anyone let me know the significance of buffer in bps 3.5?
    Thanks
    Pooja

    Hi,
    I think Data in the buffer is not stored temporarily in any specific table,once it is saved it will be as transaction data of the cube or the master data.
    The place where data is stored in buffer is called planning buffer and All  changes to the data are written to planning buffer.So you don't have to save continuously.If the data is not already in the buffer, the system reads it either from:
    The database table (Customizing objects), or Info cube (Plan Data)
    and writes it to the planning buffer.
    You can use the given function module to delete the buffer data:'UPF_METHOD_DESTROY' 
    Regards,
    Indu

  • Where does the file path get reported from?

    When looking at ZAM software information, it'll show the product name and then like:
    c:\program files\something\
    Where does that path information come from?
    The windows registry?
    Or does it actually come from the location of the .exe itself?

    kjhurni,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Where does the «On my Mac» mailbox come from ?

    Hi ...  In the my Mail's Trash mailbox in the sidebar, recently a sub mailbox called «Sur mon Mac (On my Mac)» mailbox (see here) was created.  Where does it come from and what is it's purpose? 

    If you add/import your own mailboxes (I have a lot of them because I like to be organized), the system will automatically add a separate trash can for anything you may delete from one of those because the system treats those separately and, by default, assigns them to "on my Mac". If you delete anything from one of your own folders (not the system default mailboxes), it will wind up in the On My Mac trashcan.
    Any mailbox under my heading of IMPORT is considered "on my mac".

  • Where does the JAVA_DEPLOY role get created????

    Environment:
    OWB 10g
    Runtime: 9.2.0.4
    Repository: 9.2.0.4
    OS: AIX 5.2
    I am trying to create a Runtime Repository on an RS6000 and am getting an error inthe log file that says the JAVA_DEPLOY role is not created.
    OK, I give up.
    I have searched and read and Googled and crossed my fingers but to no avail.
    I have another runtime repository set up and working fine and I 'thought' I was setting this one up the same way but obviously I've missed something.
    Do I need to install Workflow or something strange like that to get the role created? It exists in my other environment but I can't get it 'born' in this one.
    Someone please help me with JAVA_DEPLOY 101.
    Many thanks.
    Gary

    I installed the XML JDK for PL/SQL and the install worked finally.
    I say 'finally' because I found several hoops I had to jump through whenever I wanted to restart the installation process. I'll document them here for anyone attempting the same.
    I was trying to create a new Runtime Repository on a different server and ran into several issues that stopped the installation and forced me to do some housecleaning and restart the installation script 'runtimeinst.sh'.
    1- The first time I tried the install I was told the role JAVA_DEPLOY was not created. After a lengthy search I just created the role manually and assigned it. I assumed it wouldn't do any harm since the role had no other roles nor any system privileges assigned to it. It worked.
    2- I had to drop the users that were created: Runtime Repository schema (RTR), Runtime User (RTU) and OWBRT_SYS.
    3- I also had to drop the roles created: WB_A_*, WB_D_*, WB_R_* and WB_U_*. The install script does a straight 'CREATE' and doesn't check to see if the role is already created. Bummer.
    After several attempts it looks like the new runtime environment is installed.
    Now I have to see if it works!
    Gary

  • Where does the content height get set?

    I've been working with a simple application using a treeview controls with multi-checkboxes.  The height is 315px which only allows about 10 lines of text. I can't find where that limit is being set or figure out how to change it.
    I've attached a stand alone file, test.html that illustrates the problem.  (I had to name it test.txt because it wouldn't allow an html attachment). I've also got a screen shot.  I've searched through the CSS files but can't find anything with 315.  Can anyone point me in the right direction?
    Thanks

    Thanks Robin!  I appreciate the response.  I'll try it out as soon as I can but I've run into a different problem today.  My sample no longer works!  I'm getting an error;
       Uncaught TypeError: Cannot read property 'TriStateCheckBox' of undefined
    I first ran into this error when I was linking the sample to a local copy of openui5-sdk.1.22.4.  It worked when I used the online version; https://sapui5.hana.ondemand.com/resources/sap-ui-core.js. Now I'm getting that error using the online version also.  In fact, the sample on http://jsbin.com/jukobu/2/edit is getting the same error.  I wonder if they upgraded the version on the hana.onedemand site?
    Anyway, I'm very grateful for your help.

  • Where does list level number get its text attributes?

    I am writing an applescript to change all of the text of one font to another (regardless of style). The only hangup I seem to be having is that the list level numbers do not change fonts even when the body of the paragraph does.
    Any ideas?
    TIA

    Figured it out

  • Where does app.documents.add() get its document profile from?

    It has a set of defaults listed in the scripting reference, I understand that much. but a new doc (without specifying anything else) also contains swatches/symbols/brushes etc. that don't seem to match any existing doc profile. Where is it fishing these from?

    I tried various scenarios and documents.add() always matched the Print Profile, which happens to be the first in the list.

  • Where does the ask permission get sent when a child is trying to download an app?

    I Purchase a app for family sharing and when my son tries to download it he gets a "ask parent for permission", he clicks the link, but I never see the request to allow the download. Is there a special place I need to go to accept his requests?

    Greetings Turbo68,
    It sounds as if you are using Family Sharing and your son is part of your family group, and you have "Ask to buy" enabled for him, is that correct? 
    This article tells you how to allow or decline a download or purchase for your son -
    Request and make purchases with Ask to Buy - Apple Support
    In particular see the section titled Make or decline a purchase.
    It is important to note that "If a family member downloads a previous purchase again, downloads a shared purchase, installs an update, or uses a redemption code in the store, the organizer won't get a notification."
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

Maybe you are looking for

  • I am recieving pop up alerts when opening and using firefox stating "win 7 total security 2011 has blocked a program" is this a virus and how can i fix it?

    Suddenly I received a pop up that a virus was attacking my computer and my info was at risk. I was prompted to initiate "win 7 2011 total security" to remove the threat. Is this a legitimate part of Firefox or a virus attempting to access my computer

  • How to register a location in OWF

    Hi guys I am running tru the OWB tutorial, and stumbled in trouble at registrering a location. Any suggestions? The tutorial is "Designing Process Flows". Thanks

  • Problems With Disc Image

    After I have finished my project, I choose to Save As Disc Image. From here I've been viewing my project using DVD Player. The problem is, when it plays back, there is one slide that I have deleted, but keeps showing up in playback and without a tran

  • Webcam not working (in my main user account)

    I've been trying to debug and even reset the SMC, but then I saw something that implied that the problem might be user based, so I set up another account and, sure enough, the camera works ok.  But I can't figure out how to change the settings on my

  • Changing the navigation bar - help!

    Hi, I'm making my personal website with iWeb (using the "Modern" template as a base) and I would like to personalise the navigation bar. I have already managed to change the colours of the words modifying the xml file for the template, but I would li