bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #24140] Painfully slow find(1) in list-permission-only AFS path


From: Jeffrey Hutzelman
Subject: Re: [bug #24140] Painfully slow find(1) in list-permission-only AFS paths
Date: Wed, 03 Sep 2008 11:29:16 -0400

--On Wednesday, September 03, 2008 09:29:04 AM +0000 James Youngman <address@hidden> wrote:


Follow-up Comment #12, bug #24140 (project findutils):

Kevin Dalley checked this change in in 2000:

revision 1.6
date: 2000-04-05 08:26:24 +0100;  author: kevind;  state: Exp;  lines: +14
-11;
* configure.in: add Galition and Estonian languages.
Miscellaneous other fixes.

$ cvs -z3 diff -upN  -r1.6 -r1.7 configure.in
Index: configure.in
===================================================================
RCS file: /cvsroot/findutils/findutils/Attic/configure.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- configure.in        5 Apr 2000 07:26:24 -0000       1.6
+++ configure.in        12 Apr 2000 08:51:02 -0000      1.7
@@ -1,21 +1,21 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(find/pred.c)
 AM_CONFIG_HEADER(config.h)
+AC_CANONICAL_HOST

 dnl Set of available languages.
 ALL_LINGUAS=" de es fr it ko nl pl pt_BR ru sv gl et"

-AM_INIT_AUTOMAKE(findutils, 4.1.4)
+AM_INIT_AUTOMAKE(findutils, 4.1.5)

 AC_SUBST(INCLUDES)dnl
 AC_ARG_ENABLE(id-cache,
 [  --enable-id-cache       cache all UIDs & GIDs; avoid if using NIS or
Hesiod],
-  AC_DEFINE(CACHE_IDS))
-AC_ARG_WITH(afs,
-[  --with-afs              support -fstype afs],
-[  AC_DEFINE(AFS)
-  CPPFLAGS="$CPPFLAGS -I/usr/afsws/include"
-  LIBS="$LIBS -L/usr/afsws/lib -L/usr/afsws/lib/afs -lsys -lrx -llwp"])


I don't know what the motivation behind the change was, though.

Yeah, that last bit doesn't look like a "miscellaneous other fix" to me.
OTOH, if this is going to happen, it's going to need better configure logic than was removed. These days, while it's a good idea to look for /usr/afsws for completeness, you're almost never going to actually find the AFS libraries there. Of course, if you go the libkrbafs/libkafs route, you're not going to need the AFS libraries, either.

To answer a previous question...

As always, libkafs is distributed with Heimdal <http://www.h5l.org/>, primarily for Kerberos/AFS integration (it's primary purpose is to provide an interface for getting and installing AFS credentials, given Kerberos tickets, for use by programs like login).

I'm not sure what the status of libkrbafs is. Red Hat distributes it with their operating systems (free and commercial), but it didn't originate with them.

-- Jeff







reply via email to

[Prev in Thread] Current Thread [Next in Thread]