FreeBSD Port: teamspeak_server-188.8.131.52_1
brooks at one-eyed-alien.net
Wed Sep 6 14:18:13 UTC 2006
On Tue, Sep 05, 2006 at 03:00:46PM +0800, Albert Poon wrote:
> A bug in start-up script /usr/local/etc/rc.d/teamspeak-server is discovered,
> causing teamspeak-server to load earlier than linux support. It happens on my
> FreeBSD 6.1 box but not in my FreeBSD 5.5 box.
> Problem code:
> (line 6)
> # REQUIRE: NETWORKING
> I think since FreeBSD 6 it will inpsect the start-up scripts and arrange them
> to be loaded accordingly. Since NETWORKING is loaded earlier than linux
> support, teamspeak-server will fail to start.
> Either change the problem code to
> # REQUIRE: DAEMON
This is correct. There's almost never any point in starting a daemon
before this. Even if it was, SERVERS would almost certainly be more
correct than NETWORKING.
> Or any other daemon's name that load after linux support, e.g.
> # REQUIRE: ntpd
This would be 100% wrong.
> Or remove the line completely.
> I wonder if there is something like # REQUIRE: LINUX (obviously it doesn't
> work), but I too lazy to spend more time in digging the code.
That would be abi, but it's part of the environment that's expected to be
up before any servers run so DAEMON is appropriate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060906/a3df9e18/attachment.pgp
More information about the freebsd-ports