Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Solaris 10 Services
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mike Cox  
View profile  
 More options Jan 17 2005, 8:44 pm
Newsgroups: comp.unix.solaris
From: Mike Cox <mikecoxli...@yahoo.com>
Date: 17 Jan 2005 17:44:28 -0800
Local: Mon, Jan 17 2005 8:44 pm
Subject: Solaris 10 Services
Why do the new Solaris 10 Services need a binary config file that gets
rewritten on system boot?  My impression is that they are similar to
inited, but why the binary config file?  What was the thought behind
this design decision?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joerg Schilling  
View profile  
 More options Jan 18 2005, 6:13 am
Newsgroups: comp.unix.solaris
From: j...@cs.tu-berlin.de (Joerg Schilling)
Date: 18 Jan 2005 11:13:04 GMT
Local: Tues, Jan 18 2005 6:13 am
Subject: Re: Solaris 10 Services
In article <m3mzv7bjer....@linux.local>,
Mike Cox  <mikecoxli...@yahoo.com> wrote:

>Why do the new Solaris 10 Services need a binary config file that gets
>rewritten on system boot?  My impression is that they are similar to
>inited, but why the binary config file?  What was the thought behind
>this design decision?

Try to read the man pages and check Solaris 10 until you know
enough to be able to ask the question in a way that other people
understand your problem.

--
EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
      j...@cs.tu-berlin.de              (uni)  If you don't have iso-8859-1
      schill...@fokus.fraunhofer.de     (work) chars I am J"org Schilling
URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
palowoda  
View profile  
 More options Jan 18 2005, 6:27 am
Newsgroups: comp.unix.solaris
From: "palowoda" <palow...@fiver.net>
Date: 18 Jan 2005 03:27:51 -0800
Local: Tues, Jan 18 2005 6:27 am
Subject: Re: Solaris 10 Services

Joerg Schilling wrote:
> In article <m3mzv7bjer....@linux.local>,
> Mike Cox  <mikecoxli...@yahoo.com> wrote:
> >Why do the new Solaris 10 Services need a binary config file that
gets
> >rewritten on system boot?  My impression is that they are similar to
> >inited, but why the binary config file?  What was the thought behind
> >this design decision?

> Try to read the man pages and check Solaris 10 until you know
> enough to be able to ask the question in a way that other people
> understand your problem.

Yeah I kind of agree.
Also go to
http://docs.sun.com
and search on 'smf'
Also go to
http://www.sun.com/bigadmin
and search on 'smf'

---Bob


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Hogard  
View profile  
 More options Jan 18 2005, 6:31 am
Newsgroups: comp.unix.solaris
From: thog...@abnormal.com (Tim Hogard)
Date: Tue, 18 Jan 2005 11:31:28 +0000 (UTC)
Local: Tues, Jan 18 2005 6:31 am
Subject: Re: Solaris 10 Services
Joerg Schilling (j...@cs.tu-berlin.de) wrote:

: In article <m3mzv7bjer....@linux.local>,
: Mike Cox  <mikecoxli...@yahoo.com> wrote:
: >Why do the new Solaris 10 Services need a binary config file that gets
: >rewritten on system boot?  My impression is that they are similar to
: >inited, but why the binary config file?  What was the thought behind
: >this design decision?
:
: Try to read the man pages and check Solaris 10 until you know
: enough to be able to ask the question in a way that other people
: understand your problem.

I think Mike is tring to veryify if some of my comments about the svc junk
are true.  The point I think he may be tring to veryify is the fact that
if you mess with one of the binary files, you can run things in such
a way that a sysadmin can't find out out whats being run.

My take on the svc stuff is that its windows registry for unix.
And there is no way I'm running that junk on a production system.
It was a great idea but I'm not putting it into production until
the current system is refactor/rewritten.
I'll stick with Solaris 9 or wait till 11.  I'm not going
to be a test crack site for NIS^H^H^Hsvc.

-tim
http://web.abnormal.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Espen  
View profile  
 More options Jan 18 2005, 11:14 am
Newsgroups: comp.unix.solaris
From: Dan Espen <dan...@SPAM.mk.telcordia.com>
Date: Tue, 18 Jan 2005 11:14:10 -0500
Local: Tues, Jan 18 2005 11:14 am
Subject: Re: Solaris 10 Services

So you are saying this:

  The Internet services daemon, inetd(1M), has been rewritten as part of
  SMF. It stores all   of its configuration  data  in the  SMF database,
  rather than /etc/inet/inetd.conf, allowing the SMF tools to be used to
  control and observe inetd-based services.

is a good explanation of why a binary format is required
or haven't I read far enough?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Dickey  
View profile  
 More options Jan 18 2005, 11:25 am
Newsgroups: comp.unix.solaris
From: Thomas Dickey <dic...@saltmine.radix.net>
Date: Tue, 18 Jan 2005 16:25:10 -0000
Local: Tues, Jan 18 2005 11:25 am
Subject: Re: Solaris 10 Services

Dan Espen <dan...@spam.mk.telcordia.com> wrote:
> So you are saying this:
>   The Internet services daemon, inetd(1M), has been rewritten as part of
>   SMF. It stores all   of its configuration  data  in the  SMF database,
>   rather than /etc/inet/inetd.conf, allowing the SMF tools to be used to
>   control and observe inetd-based services.
> is a good explanation of why a binary format is required
> or haven't I read far enough?

Perhaps he's still under NDA and is not obliged to give useful information.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Espen  
View profile  
 More options Jan 18 2005, 11:34 am
Newsgroups: comp.unix.solaris
From: Dan Espen <dan...@SPAM.mk.telcordia.com>
Date: Tue, 18 Jan 2005 11:34:00 -0500
Subject: Re: Solaris 10 Services

Thomas Dickey <dic...@saltmine.radix.net> writes:
> Dan Espen <dan...@spam.mk.telcordia.com> wrote:

>> So you are saying this:

>>   The Internet services daemon, inetd(1M), has been rewritten as part of
>>   SMF. It stores all   of its configuration  data  in the  SMF database,
>>   rather than /etc/inet/inetd.conf, allowing the SMF tools to be used to
>>   control and observe inetd-based services.

>> is a good explanation of why a binary format is required
>> or haven't I read far enough?

> Perhaps he's still under NDA and is not obliged to give useful information.

Funny, they say it's difficult to communicate humor or sarcasm on Usenet.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Dickey  
View profile  
 More options Jan 18 2005, 12:36 pm
Newsgroups: comp.unix.solaris
From: Thomas Dickey <dic...@saltmine.radix.net>
Date: Tue, 18 Jan 2005 17:36:26 -0000
Local: Tues, Jan 18 2005 12:36 pm
Subject: Re: Solaris 10 Services

Dan Espen <dan...@spam.mk.telcordia.com> wrote:
> Funny, they say it's difficult to communicate humor or sarcasm on Usenet.

Humor is (partly) based on culture.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim  
View profile  
 More options Jan 18 2005, 3:10 pm
Newsgroups: comp.unix.solaris
From: Jim <m...@here.com>
Date: Tue, 18 Jan 2005 20:10:54 GMT
Local: Tues, Jan 18 2005 3:10 pm
Subject: Re: Solaris 10 Services

Which is the whole reason it has 'beta' written all over it

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brendan Gregg  
View profile  
 More options Jan 18 2005, 9:17 pm
Newsgroups: comp.unix.solaris
From: Brendan Gregg <brendan.gr...@tpg.com.au>
Date: Wed, 19 Jan 2005 13:17:38 +1100
Local: Tues, Jan 18 2005 9:17 pm
Subject: Re: Solaris 10 Services

I don't know either. Maybe we can guess:

It's an SQLite database file (strings).

Since SMF allows services to be executed in parallel during boot across
many CPUs, I imagine one problem was the locking of this database
(assuming we need to write to it often. meeting dependancies?). Perhaps
making it an SQLite file solved that problem - as it may already
implement that feature in its library calls.

It's also put the data in a format that is easy for the system to process
(quite possibly outright faster than text based), and easier to extend.

... I've probably missed a man page that explains it neatly somewhere!...

Brendan

[Sydney, Australia]


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Hogard  
View profile  
 More options Jan 18 2005, 10:38 pm
Newsgroups: comp.unix.solaris
From: thog...@abnormal.com (Tim Hogard)
Date: Wed, 19 Jan 2005 03:38:26 +0000 (UTC)
Local: Tues, Jan 18 2005 10:38 pm
Subject: Re: Solaris 10 Services
Jim (m...@here.com) wrote:

: Which is the whole reason it has 'beta' written all over it

Back when I took engineering classes, Beta Testing had a specific
meaning which involved testing done by people that represented the
general public users of the product.  It didn't mean a prototype.

-tim
http://web.abnormal.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boyd Adamson  
View profile  
 More options Jan 18 2005, 10:55 pm
Newsgroups: comp.unix.solaris
From: Boyd Adamson <boydhyphenadam...@nospam.usa.net>
Date: Wed, 19 Jan 2005 14:55:29 +1100
Local: Tues, Jan 18 2005 10:55 pm
Subject: Re: Solaris 10 Services

I don't know where you got this idea. SMF uses fork(2) and exec(2) like
anything else.

Nothing that is started via smf is invisible to ps, if that's what you
mean. In fact, in many cases it's easier to keep track of which
processes belong to which services:

# svcs -p telnet
STATE          STIME    FMRI
online         11:43:38 svc:/network/telnet:default
               14:44:07     1208 in.telnetd
               14:44:07     1211 zsh
               14:44:17     1212 in.telnetd
               14:44:17     1215 zsh
               14:44:59     1253 vi

> My take on the svc stuff is that its windows registry for unix.

This statement conveys a misunderstanding of the windows registry, the
smf database, or both.

> And there is no way I'm running that junk on a production system.
> It was a great idea but I'm not putting it into production until
> the current system is refactor/rewritten.

It was a great idea but I'm not using it?

> I'll stick with Solaris 9 or wait till 11.  I'm not going
> to be a test crack site for NIS^H^H^Hsvc.

This sounds like paranoia springing from an incomplete understanding.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Hogard  
View profile  
 More options Jan 19 2005, 2:04 am
Newsgroups: comp.unix.solaris
From: thog...@abnormal.com (Tim Hogard)
Date: Wed, 19 Jan 2005 07:04:39 +0000 (UTC)
Local: Wed, Jan 19 2005 2:04 am
Subject: Re: Solaris 10 Services
Boyd Adamson (boydhyphenadam...@nospam.usa.net) wrote:

: I don't know where you got this idea. SMF uses fork(2) and exec(2) like
: anything else.
:
: Nothing that is started via smf is invisible to ps, if that's what you
: mean. In fact, in many cases it's easier to keep track of which
: processes belong to which services:
I'm aware of that.  What can be done is things can be hidden in the
sqlite file in such a way that the tools don't list them but they
will get run.  If the application knows how to hide its self (argv[0],
rm its binary or other tricks), it will be a real pain to figure out what
started the process and that assumes its still running and isn't triggered
ina complex way.

: > My take on the svc stuff is that its windows registry for unix.
:
: This statement conveys a misunderstanding of the windows registry, the
: smf database, or both.
They both are script kiddies dreams.

: > And there is no way I'm running that junk on a production system.
: > It was a great idea but I'm not putting it into production until
: > the current system is refactor/rewritten.
:
: It was a great idea but I'm not using it?
Not if its implementation is wrong.

: > I'll stick with Solaris 9 or wait till 11.  I'm not going
: > to be a test crack site for NIS^H^H^Hsvc.
:
: This sounds like paranoia springing from an incomplete understanding.
The more I understand it, the more I know I want to avoid it.
I've got one report of someone else thats taken a binary editor to
the file and come up with different results than what I did.  
Sun needs to fix this soon.
If they aren't going to dump the binary file:
1) write the binary file only the xml source files get changed.
2) save the on/off states in a different file
3) save the timestamps elsewhere (maybe in the same file as #2)
4) do sanity checks on the binary file.  This means account for
every byte in the file and trace it back to its source and make sure
that there are no overlaps.

I don't know how others run their systems, but I like to be able to
do checksums on all binary files that are critical and I want to be
able to check them aginst my off site checksums.  I don't like them
to change very often.  If it lives in /etc/ I should be able to
make the whole thing read only without breaking anything.

-tim
http://web.abnormal.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google