Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Danny Braniss
the idea is to modify /etc/rc to not start stuff in /usr/local/etc/rc.d blindly, and just 'extrapolate' rc.conf. you can still start/stop the /usr/local/etc/rc.d/*.sh to your heart content, i didn't propose changing them, though modifying mysql-server.sh to mysql_server.sh would make things eas

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 08:59:16PM +0200, Karsten W. Rohrbach wrote: > Peter Pentchev([EMAIL PROTECTED])@2001.06.14 20:19:27 +: > > OK, and what do I do if I want to manually start/stop the service later, > > and it needs variables defined in /etc/rc.conf{,local} ? > > if [ x${_RC_CONF} != x1

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Karsten W. Rohrbach
Peter Pentchev([EMAIL PROTECTED])@2001.06.14 20:19:27 +: > OK, and what do I do if I want to manually start/stop the service later, > and it needs variables defined in /etc/rc.conf{,local} ? if [ x${_RC_CONF} != x1 ]; then . /etc/rc.conf; fi in the beginning of the local startup script? if i

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 10:49:11AM +0300, Danny Braniss wrote: > > > I've asked -ports before whether it is suitable to let ports startup scripts > > honor /etc/rc.conf{,.local} settings by sourcing /etc/defaults/rc.conf and > > then running a source_rc_confs (or whatever is appropriate). > > my

rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Danny Braniss
> I've asked -ports before whether it is suitable to let ports startup scripts > honor /etc/rc.conf{,.local} settings by sourcing /etc/defaults/rc.conf and > then running a source_rc_confs (or whatever is appropriate). my suggestion: this is the 'modified' loop for the ${local_startup} in /etc/

Re: Plan to import NetBSD rc system

2001-06-13 Thread Danny Braniss
> I've asked -ports before whether it is suitable to let ports startup scripts > honor /etc/rc.conf{,.local} settings by sourcing /etc/defaults/rc.conf and > then running a source_rc_confs (or whatever is appropriate). > > This could be a solution to your problem - modify the ports' startup scri

Re: Plan to import NetBSD rc system

2001-06-13 Thread Peter Pentchev
On Wed, Jun 13, 2001 at 11:20:03AM +0300, Danny Braniss wrote: > few points to add/concider: > > I share the /usr/local among many machines, so /usr/local/etc/rc.d is becoming > 'problematic', rc.conf should be involved in the decission to run xxx.sh > start/stop > > on other platforms, i've mo

Re: Plan to import NetBSD rc system

2001-06-13 Thread Danny Braniss
few points to add/concider: I share the /usr/local among many machines, so /usr/local/etc/rc.d is becoming 'problematic', rc.conf should be involved in the decission to run xxx.sh start/stop on other platforms, i've modified rc to run rc.`hostname` if such file exists. this little trick saved t

Re: Plan to import NetBSD rc system

2001-06-12 Thread void
On Tue, Jun 12, 2001 at 12:53:08PM -0700, Dave Hayes wrote: > > So you admit there's no real explanation of what this system is, or at > least something that would stave off a religious debate? Cool. The NetBSD man pages are not hard to find. This one looks particularly relevant: http://www.

Re: Plan to import NetBSD rc system

2001-06-12 Thread Dave Hayes
Sheldon Hearn <[EMAIL PROTECTED]> writes: > On Tue, 12 Jun 2001 12:17:49 MST, Dave Hayes wrote: >> Alternatively speaking, perhaps topics that advocate additions to the >> operating system with well known religious implications should be >> presented in a clearer fashion, with links pointed to the

Re: Plan to import NetBSD rc system

2001-06-12 Thread Sheldon Hearn
On Tue, 12 Jun 2001 12:17:49 MST, Dave Hayes wrote: > Alternatively speaking, perhaps topics that advocate additions to the > operating system with well known religious implications should be > presented in a clearer fashion, with links pointed to the relevant > documentation? Did you miss the

Re: Plan to import NetBSD rc system

2001-06-12 Thread Dave Hayes
Sheldon Hearn <[EMAIL PROTECTED]> writes: > I'm not too interested in hearing a lot of whining from people who > haven't given the NetBSD rc system a good look, because it's clear from > the last couple of threads that many people are more than willing to > post comments on something they haven't

Re: Plan to import NetBSD rc system

2001-06-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Sheldon Hearn writes: : I've contacted Luke Mewburn (the guy behind the new NetBSD rc system) : and he's keen to chat to FreeBSD-heads after his talk at USENIX (FREENIX : track). I can't make it, but I'd encourage interested parties from the : FreeBSD community to c

Plan to import NetBSD rc system

2001-06-12 Thread Sheldon Hearn
Hi folks, Here's an update on the plan to import the NetBSD rc system into FreeBSD. I've contacted Luke Mewburn (the guy behind the new NetBSD rc system) and he's keen to chat to FreeBSD-heads after his talk at USENIX (FREENIX track). I can't make it, but I'd encourage interested parties from