[H-GEN] Starting a new service at boot time in Solaris 10

Ben Fowler bjf at bjf.id.au
Mon Dec 19 08:53:10 EST 2005


Paul Cornford wrote:

>[ Humbug *General* list - semi-serious discussions about Humbug and     ]
>[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
>Hi,
>
>I am new to Solaris (10) and I cannot seem to start my firewall (ipf) at
>boot time. I have placed the rules in /etc/ipf/ipf.conf but contrary to
>the man page ipf doesn't start at boot time. "ipf -f /etc/ipf/ipf.conf"
>works fine on the command line so the rules are fine and so is the conf
>file.
>
>So I have prepared my own script and placed it in /etc/init.d/ as well
>as links in rc0.d, rc1.d, rc2.d, rc3.d and rcS.d. I know I probably
>don't need ipf running at all these run levels but so far nothing has
>worked. Can anyone help me on this?
>
>Regards
>
>Paul Cornford.
>  
>

I have little practical experience with Solaris 10 (little time for 
playing with new toys these days :-( ), however I know that Solaris 10 
introduces a new, different and arguably better way of handling services.

http://sysunconfig.net/unixtips/solaris.html#smf

Regards,

Ben.






More information about the General mailing list