Re[2]: Help! Stupid Newbie Question

2005-09-24 Thread Gerard Seibert
On Sat, 24 Sep 2005 13:30:43 -0700, Glenn Dawson [EMAIL PROTECTED]
Subject: Re: Help! Stupid Newbie Question
Wrote these words of wisdom:

 
 If the port you installed was relatively recent, you just need 
 mysql_enable=YES in your rc.conf.
 
 If it's an older port, look for a sample startup script in 
 /usr/local/etc/rc.d.  You just need to rename it so that it ends in 
 .sh and it will start at boot time.
 
 -Glenn


* REPLY SEPARATOR *
On 9/24/2005 4:57:41 PM, Gerard Seibert Replied:

When I first started using FreeBSD, I had the same problems. It would be
nice if the author of the man pages included the start up information as
well as the location of any config files as the first entry in the page.
I have even installed programs where the startup scripts were commented
out, for example: cups.sh-sample, and I went looking for why the program
was not starting before it dawned on me what the problem was. I realize
that someone with years of experience would not have had that sort of
problem, but for a new user, it is all to common. We are always getting
requests for how do I start foo, or what have you on this list.

That is just my 2¢ worth of unasked for opinion.


-- 
Gerard Seibert
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Help! Stupid Newbie Question

2005-09-24 Thread Glenn Dawson

At 02:05 PM 9/24/2005, Gerard Seibert wrote:

On Sat, 24 Sep 2005 13:30:43 -0700, Glenn Dawson [EMAIL PROTECTED]
Subject: Re: Help! Stupid Newbie Question
Wrote these words of wisdom:


 If the port you installed was relatively recent, you just need
 mysql_enable=YES in your rc.conf.

 If it's an older port, look for a sample startup script in
 /usr/local/etc/rc.d.  You just need to rename it so that it ends in
 .sh and it will start at boot time.

 -Glenn


* REPLY SEPARATOR *
On 9/24/2005 4:57:41 PM, Gerard Seibert Replied:

When I first started using FreeBSD, I had the same problems. It would be
nice if the author of the man pages included the start up information as
well as the location of any config files as the first entry in the page.
I have even installed programs where the startup scripts were commented
out, for example: cups.sh-sample, and I went looking for why the program
was not starting before it dawned on me what the problem was.


I think the primary reason for not having a port 
automatically start after it's installed would be 
security.  There are a number of things that 
might present a security risk if they are enabled 
with their default configurations, or no 
configuration at all.  I don't believe I've ever 
seen a port install itself so that it starts at boot time.


Section 4.6 in the handbook has this:

Ports that should start at boot (such as Internet 
servers) will usually install a sample script in 
/usr/local/etc/rc.d. You should review this 
script for correctness and edit or rename it if 
needed. See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.htmlStarting 
Services for more information.



 I realize
that someone with years of experience would not have had that sort of
problem, but for a new user, it is all to common. We are always getting
requests for how do I start foo, or what have you on this list.


There are a great many people that post to the 
list with questions that are readily available in 
the handbook, or some other part of the web 
site.  I don't think that's likely to change any time soon.


-Glenn



That is just my 2¢ worth of unasked for opinion.


--
Gerard Seibert
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Help! Stupid Newbie Question

2005-09-24 Thread Robert Huff

Glenn Dawson writes:

  I don't believe I've ever 
  seen a port install itself so that it starts at boot time.

As I understand it, up until recently (advent of rcNG ??)
that was the default, i.e. ports routinely installed foo.sh in
/usr/local/etc/rc.d instaed of foo.sh.sample.


Robert Huff


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Help! Stupid Newbie Question

2005-09-24 Thread Glenn Dawson

At 02:51 PM 9/24/2005, Robert Huff wrote:


Glenn Dawson writes:

  I don't believe I've ever
  seen a port install itself so that it starts at boot time.

As I understand it, up until recently (advent of rcNG ??)
that was the default, i.e. ports routinely installed foo.sh in
/usr/local/etc/rc.d instaed of foo.sh.sample.


Hmm.  Maybe it's only the ports that I typically use.

I can say that I like the rcng method a lot better.

-Glenn




Robert Huff


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]