[indiana-discuss] reducing the number of services started at boot

Alberto Ruiz aruiz at gnome.org
Mon Jul 9 15:12:22 PDT 2007


2007/7/9, Dave Miner <Dave.Miner at sun.com>:
>
> Alberto Ruiz wrote:
> >
> >
> > 2007/7/9, Eric Ray <Eric.Ray at sun.com <mailto:Eric.Ray at sun.com>>:
> >
> >
> >
> >     MC wrote:
> >      >> Is this something we should add to the list, i.e., investigate
> >      > the services started at boot time to determine which aren't
> necessary
> >      > and can be removed?
> >      >
> >      > As the Indiana-for-normal-people project has different
> requirements
> >      > than the Solaris project, I think it's a given that the startup
> >      > services need to be re-evaluated. --
> >      >
> >
> >     At the risk of belaboring the point, what _are_ the requirements
> >     for Indiana-for-normal-people? We've had a lot of discussion
> >     around it, but I don't think that we converged on anything
> >     actionable. I'd love to get that convergence.
> >
> >
> > I think that the general approach should be, the less the better. Let´s
> > get rid of any service that people don't need to start a web browser,
> > use zfs, zones and dtrace, and have a working desktop environment. I
> > would even say, that the default ubuntu starts more services than
> > needed, so I won't consider it as a reference.
> >
>
> Yes, let's ignore Ubuntu or anything else as a reference and instead
> focus on what specific OpenSolaris services you and others are finding
> objectionable.  Below's the list of services enabled on first boot:
>
> # uname -a
> SunOS whitestar1-9.East.Sun.COM 5.11 snv_68 i86pc i386 i86pc
> # svcs
> STATE          STIME    FMRI
> legacy_run     17:20:14 lrc:/etc/rcS_d/S50sk98sol
> legacy_run     17:21:54 lrc:/etc/rc2_d/S10lu
> legacy_run     17:21:55 lrc:/etc/rc2_d/S20sysetup
> legacy_run     17:21:55 lrc:/etc/rc2_d/S40llc2
> legacy_run     17:21:55 lrc:/etc/rc2_d/S42ncakmod
> legacy_run     17:21:55 lrc:/etc/rc2_d/S47pppd


I wonder if this is the pppd daemon for point to point protocol (modems), I
would only start it if the installer detects a modem installed.


> legacy_run     17:22:08 lrc:/etc/rc3_d/S50apache


out! :) (I'm sure Alvaro[0] agrees here ;-)

legacy_run     17:22:09 lrc:/etc/rc3_d/S52imq
> legacy_run     17:22:09 lrc:/etc/rc3_d/S80mipagent
> legacy_run     17:22:09 lrc:/etc/rc3_d/S84appserv


I would make an effort to port all this legacy_run services to SMF. Indiana
goal #654: No legacy in the main repositories! ;-)


online         17:20:35 svc:/network/nis/client:default


nis client out!

online         17:21:02 svc:/application/management/wbem:default


web manager out

online         17:21:02 svc:/network/ssh:default


I would leave ssh started by default. Okay, it's not common used, but it
saves your ass when your monitor doesn't works and you know the IP address.

online         17:21:53 svc:/network/smtp:sendmail


sendmail out, how many people needs a local smtp server enabled by default?
(maybe we can leave exim installed but disabled by default if people things
than an smtp service is really needed?)

online         17:22:06 svc:/milestone/multi-user:default


this one out too

 ...

I also think that every service related with hardware devices should be down
(for example, printing) if no printing is required.

Note that I'm not a solaris expert yet, and some of the removal sugestions
that I did can have consequenses on the main services that I'm not aware of.
So, please, Solaris gurus, be kind with me :)

What do you think should be turned off here?
>
> Dave
>



-- 
Un saludo,
Alberto Ruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/indiana-discuss/attachments/20070709/2c32f737/attachment.html>


More information about the indiana-discuss mailing list