Subject: Re: netatalk: netgroup support
From: Norman Paterson (norman@dcs.st-and.ac.uk)
Date: Tue Jun 13 2000 - 11:44:44 EDT
>On Tue, Jun 13, 2000 at 11:38:45AM +0100, Norman Paterson
>(norman@dcs.st-and.ac.uk) wrote:
>> I get the message:
>>
>> afpd[1131]: warning: /etc/hosts.allow, line 46: netgroup support is disabled
>>
>> Can someone explain (1) why afpd is looking into a tcp wrappers
>> configuration file, and (2) how can I fix it?
>
>(1) You built (or someone built, if you installed from a package)
> with libwrap, the tcp_wrappers library.
>
>(2) Look at line 46 of /etc/hosts.allow. (Or share it, if just looking
> at it doesn't tell you anything.)
>
> -Rich
>
>
>--
>------------------------------ Rich Lafferty ---------------------------
> Sysadmin/Programmer, Instructional and Information Technology Services
> Concordia University, Montreal, QC (514) 848-7625
>------------------------- rich@alcor.concordia.ca ----------------------
Thanks, Rich. I had come to the same conclusion. The message originates
from tcp wrappers because afpd uses the tcp wrappers library. However,
_my_ copy of libwrap has been compiled with the NETGROUP option. This is
confirmed by (a) the fact that my tcp wrappers don't produce this error,
and (b) the error message string does not appear in the strings output of
my libwrap.
So I concluded that my netatalk had been compiled on a system which did not
have NETGROUP enabled and since libwrap is static, it doesn't use my
libwrap.
Therefore I should recompile netatalk on my system to pick up my libwrap.
(Sorry if this seems laboured - I'm new to Linux, RPM, and netatalk, so it
took me all day to get this far.)
I got the netatalk src.rpm but I have not been able to get it to recompile.
Neither rpm -ba on the spec file, nor rpm --recompile on the src.rpm file
nor rpm --rebuild install anything. All produce screeds of output but no
files remain after the end.
Any idea what I am missing? (Apart from a brain...)
-- Norman Paterson, University of St Andrews http://www.dcs.st-and.ac.uk/~norman/
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:02 EST