Bug#272380: [Pkg-firebird-general] Bug#272380: firebird2-super-server
and hosts file(s)
Damyan Ivanov
divanov at creditreform.bg
Mon Nov 21 12:17:51 UTC 2005
I wrote:
>> I've got your symptoms when I've changed the primary host name in /etc/hosts > from
>>
>> 127.0.0.1 localhost localhost.localdomain
>>
>> to
>>
>> 127.0.0.1 debian.example.org localhost localhost.localdomain
>>
>> Addind debian.example.org to /etc/hosts.equiv solved the problem.
>
Francesco P. Lovergine wrote:
> Uhm, incidentally that's no requirements about contents of /etc/hosts,
> but for a few old-days conventions. I would skip the hosts.equiv check
> with a suitable patch. It is basically a non-sense currently as all
> the rcommands related things...
I think I wasn't quite clear in my mail. Sorry.
Changing /etc/hosts as shown above causes the problem to trigger. To fix the
problem, the primary host name (the first on the 127.0.0.1 line, I beleive)
must be put in /etc/hosts.equiv
Yes, I agree this is stupid, but this is the current state of firebird 1.5.2. I
don't think this is fixed in 1.5.3. Maybe 2.0, but still not sure.
<guess>
I suspect that fbserver process accepts control commands via its listening tcp
socket and needs some form of authentication of these control connections.
Probably it uses /etc/hosts.equiv for this, instead of using hard value of
127.0.0.1
</guess>
As a workaround of the real issue, I can put some checks in
/etc/init.d/firebird2 to ensure that the primary hostname is in
/etc/hosts.equiv. It fould be better if fbserver responds to SIGxxx, but this
is not the case.
Thoughts?
dam
--
Damyan Ivanov Creditreform Bulgaria
divanov at creditreform.bg http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993 fax: +359(2)920-0994
mob. +359(88)856-6067 dam at jabber.minus273.org/Gaim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20051121/feed56a1/signature.pgp
More information about the Pkg-firebird-general
mailing list