[pkg-firebird-general] Bug#448616: Bug#448616: firebird2.0-classic: dependency on xinetd is completely unreasonable
Hamish Moffatt
hamish at cloud.net.au
Tue Oct 30 21:06:20 UTC 2007
reopen 448616
found 448616 2.0.3.12981.ds1-1
On Tue, Oct 30, 2007 at 05:52:50PM +0200, Damyan Ivanov wrote:
> notfound 448616 2.0.3.12981.ds1-1
> close 448616
Please, could we discuss the issue before you close it?
> -=| Hamish Moffatt, Tue, Oct 30, 2007 at 11:54:47PM +1100 |=-
> > firebird2.0-classic's dependency on xinetd forces this to be the
> > superserver of choice on the server.
>
> No, you can disable all xinetd-provided services and use inetd
> implementation of your choice.
No you can't, because xinetd diverts openbsd-inetd's binary. Further, I
think firebird has a duty to work with the standard inetd at least, and
xinetd optionally.
I doubt that even 1% of Debian users care to switch from openbsd-inetd
to one of the others. Especially since xinetd does not seem to be in
good shape.
> > However there does not appear to be
> > any particular need for the inetd to be xinetd.
>
> There is: fb_inet_server needs that FIREBIRD environment variable is set
> to /usr/lib/firebird/2.0. If you know how to achieve this with other
> inetd implementations, please reopen the bug and I'll add support for
> them.
How about a wrapper script? That will work for any inetd.
Can you show me how any environment is being created by /etc/xinetd.d/firebird20
anyway? I don't see any mention of environment variable.
# default: off
# description: FirebirdSQL classic server
#
# To enable/disable different firebird server versions, the easiest way is to run
# dpkg-reconfigure <desired-server-package>
# replacing <desired-server-package> with "firebird2.0-super",
# "firebird1.5-super", etc as appropriate.
#
# NOTE: If you decide to enable some server version manually (by direct editing of
# configuration files), please remember:
# 1) Allowing two server instances access to the same database will inevitably
# lead to database corruption
# 2) Remember to change SYSDBA's password if this is the first time that
# version (1.5/2.0) is enabled.
#
# The easiest way to protect yourself from the above caveats is to use
# dpkg-reconfigure <desired-server-package>
#
service gds_db
{
disable = no
flags = REUSE NODELAY
socket_type = stream
wait = no
user = firebird
# These lines cause problems with Windows XP SP2 clients
# using default firewall configuration (SF#1065511)
# log_on_success += USERID
# log_on_failure += USERID
server = /usr/lib/firebird/2.0/bin/fb_inet_server
}
Hamish
--
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
More information about the pkg-firebird-general
mailing list