5.2-BETA and related ports issues
eik at FreeBSD.org
Sun Nov 30 03:43:19 PST 2003
Andreas Klemm wrote:
> On Sun, Nov 30, 2003 at 03:41:33AM +0100, Oliver Eikemeier wrote:
>>Kris Kennaway wrote:
>>>On Sat, Nov 29, 2003 at 03:33:35PM +0100, Dag-Erling Smorgrav wrote:
>>>>Andreas Klemm <andreas at freebsd.org> writes:
>>>>>I can't recommend doing it this way, since some ports I know
>>>>>are writing startup scripts to /etc/rc.d :-/
>>>>That is very, very bad. I wish we had some kind of ports QA team :(
>>>Well, er, a number of us do essentially nothing BUT ports QA.
>>I'm sorry if I did something disturbing, and I'm surely interested in
>>ports tree QA! I know that I violate the prefix, and did that on purpose,
>>see my comment in net/opendldap2-server/Makefile:
>> # currently the only way to participate in rcorder(8)
>>I posted PR conf/56736:
>>but nobody seemed to care, and I had enough construction areas that I didn't
>>wanted to start a discussion about that.
>>The point is that we might want to have some port services to start early.
>>That gives the possibility to move functionality from the base system to
>>ports, which I believe isn't bad. I can simply change the openldap ports so
>>are nice and quiet, but IMHO that does not really solve a problem. But
>>correct me if my arguments are too simple-minded.
> What about simply putting a number in front of the script,
> I didn't check but am really certain that we start scripts
> something like this:
> cd $LOCALBASE/etc/rc.d
> for i in *.sh <--- here you get an alphabetically
> sort order !
> if [ -x $i ]; then
> /bin/sh $i start
> So this would be sufficient to start slapd before slurpd:
> or alternatively
> We already have things like:
I don't care whether slapd or slurpd starts first, I even don't care when slurpd
starts. I want to start ldapd early in the boot process to supports services like
nss_ldap and mail. I did things differently e.g. in net/rsync, because rsync does
not provide any services that base services depend on.
More information about the freebsd-current