Commit Graph

557 Commits

Author SHA1 Message Date
Nathan Neulinger
f64e648afb pam-build-on-hpux11-20011001
so pam now builds on hpux 11
2001-10-01 18:19:22 +00:00
Nathan Neulinger
7d2a0bd49f linux-kdump-wrapper-20011001
install a kdump wrapper for linux. (with mod to use $0 instead of kdump)
2001-10-01 18:17:20 +00:00
Jeffrey Hutzelman
a134e52982 fix-destdir-support-for-fsconv-and-xfs-binaries-20011001
properly support DESTDIR case in vol makefile for certain files which were
broken before
2001-10-01 18:11:03 +00:00
Derrick Brashear
c14d7766f6 rx-ignore-vab-harder-20010928
if the other side suggests we use the vab security class, ignore them
harder than we did before
2001-09-28 14:09:21 +00:00
Derrick Brashear
0c0cc07c76 afs-lookup-put-back-vcache-entry-on-failed-evalmountpoint-20010927
based on observations of effects related to
afs-lookup-check-evalmountpoint-return-20010221 and affirmed based on
mail from Todd_DeSantis@transarc.com

this should reduce but perhaps not eliminate the VLRU cycle: increase
-stat parameter problem on Linux as it's not yet clear that this is the
only problem and circumstantially it is probably not.
2001-09-27 18:37:49 +00:00
Derrick Brashear
0cbe03ec4b afs-client-inline-bulkstatus-rpc-support-20010926
this cuts rpc traffic in half for directories on which you have
no permissions and is capable of doing more if a useful way can
be conceived of caching errors.

currently bulkstat works thus:
say a directory has 100 files. bulkstat will on the first hit stat
the first 30 files, integrating the information if successful,
and when you hit file 31, repeat. meaning if you can read that 100 files
is 4 bulkstatus rpcs (3*30+10). if you can't, you do bulkstatus, get an abort,
then do fetchstatus on the file and find out why you lost. you go on and
try bulkstatus again this time for files 2-31 instead of 1-30. same failure,
meaning you do 2N rpcs for the N files. inlinebulk doesn't abort but instead
fills in stat info for any of the up to 30 files it can, and errors for
any it can't.

currently the client will pull out any stat info filled in,
and then return the error from the first file, meaning if you can't
read the directory we do N inlinebulk rpcs instead of N bulkstatus +
N fetchstatus rpcs. if the errors for the other 29 could be meaningfully
cached (and you have to be careful not to pollute information
such that it's not useful for someone in a different auth context) then
we could get down to the same 4 rpcs we have for success, but that's an
exercise for later give how the cache manager works.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

create audit event for inlinebulk

====================

rename spare2
2001-09-27 03:16:36 +00:00
Jim Rees
eaef8cb34c fix-locks-for-openbsd-20010926
don't confuse direct with dirent
use curproc instead of cur_proc()
2001-09-26 22:49:33 +00:00
Derrick Brashear
98c1c1df9e bos-avoid-false-errors-when-salvaging-20010926
there were some cases where we falsely reported the BZNOENT from salvage-tmp
being cleanup up as "bos: failed to start 'salvager' (no such entity)"..
despite having just reported:
bos: salvage completed

this should no longer happen.
2001-09-26 16:28:22 +00:00
Nickolai Zeldovich
f8a3fb704e allow-namei-fileservers-to-use-directories-instead-of-partitions-for-vicep-20010924
-- /vicepX/AFSIDat/README is created the first time the fileserver
    is started, rather than the second time.

 -- For the namei fileserver, /vicepa/Lock/vicepa is created as
    the lockfile.  Previously, on Solaris, the raw device was
    was being used for LockPartition(), and that breaks when
    there isn't a corresponding device.

 -- The VolPartitions and XVolPartitions volserver calls now return
    the list of attached (rather than mounted) partitions.  This is
    consistent with the NT fileserver and removes duplicate code.

The actual magic for allowing the fileserver to attach non-mounted
partitions is to create /vicepX/AlwaysAttach.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

carefully avoid non vicep directories and/or partitions as it may get upset at
automounters or running cachemanagers!

====================

more carefully avoid non-vicepX partitions
2001-09-26 01:02:46 +00:00
Derrick Brashear
362d26c733 create-inline-bulkstatus-rpc-and-server-stub-20010925
this way it's possible to do a bulkstatus where some items succeed and
fill in that stat info, instead of just getting an error.
2001-09-25 16:44:39 +00:00
Derrick Brashear
fb88a00980 fileserver-remove-delay-on-stat-errors-20010925
previously and since 3.5 rx enhancements fileserver would delay 3 seconds
on sending an rx abort when the abort was the 11th or more occurance of
the same error on the same call. the problem was fetchstatus/bulkstatus
on a directory on which you have "l" but not "r" would take forever after the
first 5 files (bulkstatus and then fetchstatus on each file, 2*5=10)

so in FetchStatus and BulkStatus stubs we suppress repeated errors from
Check_PermissionRights *only*, which has the effect of suppressing the
problem without removing the theoretical benefit of avoiding letting any
one client throw requests at as as fast as we can abort them unless those
requests happen to be fetch/bulkstat requests which fail a permission check,
but in order to avoid that we'd also need to cache what they last tried
to stat, and then things would get ugly.
2001-09-24 23:19:46 +00:00
Derrick Brashear
02254085a9 comerr-include-proper-old-compat-glue-20010924
so old initialize function works correctly
2001-09-24 17:11:07 +00:00
Derrick Brashear
80afed9bf9 export-vlops-in-vldbint-xg-file-20010924
based on report from lha@stacken.kth.se

include vlops in the "published" interface

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

based on report from lha@stacken.kth.se

remove from vlserver.p.h
2001-09-24 13:17:16 +00:00
Derrick Brashear
667a9d149e NEWS-updates-20010924
update NEWS for stuff in 1.2.1 and stuff to go into 1.2.2
2001-09-24 11:51:05 +00:00
Nickolai Zeldovich
c1cee109ad viced-deal-gracefully-with-afsconf-failure-20010924
-- Fileserver will complain if afsconf_Open() fails, rather than
    mysteriously segfault'ing later on.
2001-09-24 11:48:14 +00:00
Nickolai Zeldovich
7a214c2bc1 rx-cleanup-20010924
The rxi_ReceiveAckPacket() change makes sure we have two extra fields
(the max and recommended packet sizes) hanging off the packet, rather
than just one.

The PKTFLAG_FREE stuff in rx_packet.c just initialized flags in case
PKTFLAG_ACKED somehow didn't get cleared there.

The wirevec changes are off-by-1 errors: there's p->niovecs iovecs
in a packet, from 0 (header) to p->niovecs-1, so p->niovecs doesn't
refer to a meaningful iovec.
2001-09-24 11:44:32 +00:00
Mattias Amnefelt
7d317a0e27 dux-vfsck-check-for-mounted-filesystem-20010919
modified by shadow@dementia.org for dux 4.0a (ifndef UID_NO_CHANGE case)
2001-09-22 00:48:56 +00:00
Chaskiel M Grundman
9175ce36fb darwin-optimize-and-fix-dirpath-20010920
change optimization, add alternate dirpath for dealing with darwin and macos
in same binaries
2001-09-20 21:10:06 +00:00
Derrick Brashear
9d50b935e3 undo-linux-call-afs-dopartialwrite-20010920
scrap this approach
2001-09-20 06:08:14 +00:00
Derrick Brashear
e667ec654b ubik-fix-typo-20010919
somehow this crept in
2001-09-20 04:58:23 +00:00
James Peterson
67081b64c9 winnt-dont-do-unneeded-version-check-20010918
make afs config wizard not complain about version < 3.5
2001-09-20 00:18:54 +00:00
Shyh-Wei Luan
62ea64e63a news-include-windows-updates-20010918
list windows client user-visible changes
2001-09-20 00:16:19 +00:00
Jim Rees
bdfa7364be openbsd-nits-20010919
With these small changes, "make" on OpenBSD actually completes!
2001-09-19 18:59:08 +00:00
Jim Rees
9d1bdf1f14 document automake dependency 2001-09-18 21:44:02 +00:00
Derrick Brashear
ddb518c786 comerr-behave-like-the-rest-of-the-world-20010918
no other comerr changes the case of the error table name you specify in the
.et file. now neither does ours.
2001-09-18 05:26:47 +00:00
Walter Wong
7944ae223a misc-build-cleanup-20010917
1) Removal of unused variables
2) some NT ifdef cleanup
3) use of size_t rather than int to store the result of strlen()
4) some bugs that really only occured when errors occured.
5) some functions were implicitly declared as 'int' but doing a
   "return;" Some I declared as 'void' and prototyped them; some I
   just returned a value.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

put symbol in an ifndef for winnt

====================


change erroneous void to int

====================

technically the cmdprocs return int

====================


update function to be void
2001-09-17 22:37:21 +00:00
Walter Wong
8068237ad0 nt-makefile-clean-targets-20010917
more work on providing a clean target for nt
2001-09-17 20:35:09 +00:00
Walter Wong
eb2727a6a7 readme-cvs-update-with-instructions-20010917
providedetails about openafs cvs
2001-09-17 20:26:24 +00:00
Sam Hartman
82e061df41 ppc-linux-needs-install-path-20010917
set path to install in pcc linux22 makefile fragment
2001-09-17 19:33:50 +00:00
Derrick Brashear
e53c63cc1c linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write-20010828
don't erroneously call fakeopen
2001-09-17 19:12:20 +00:00
Jim Rees
b80f8ab2cb Initial OpenBSD support. Most of user space builds. No kernel module yet. 2001-09-14 00:19:17 +00:00
Chaskiel M Grundman
0c412784f1 darwin-update-plist-building-20010912
update how plist files are constructed so subsconfigure for libafs can work
2001-09-12 06:00:46 +00:00
Derrick Brashear
15cf58cd8e linux-makefileproto-redhat-enterprise-support-20010912
based on work by thomas.mueller@hrz.tu-chemnitz.de
2001-09-12 16:55:58 +00:00
Derrick Brashear
20b20753c8 darwin-plist-renaming-20010911
allow configure processing of files
2001-09-11 21:30:21 +00:00
Derrick Brashear
88cfb6ba69 afs-callback-kill-bcopy-again-20010911
this slipped in with the memory leak fix
2001-09-11 20:28:56 +00:00
Derrick Brashear
1c02f6300b update-top-level-docs-for-new-install-targets-20010911
make top level files indicate current build instructions
2001-09-11 07:56:23 +00:00
Derrick Brashear
5aa2c39f86 aix-makefileproto-cleanup-dest-building-20010911
readd missing /es
2001-09-11 07:25:54 +00:00
Derrick Brashear
91b3cb338c makefileproto-solaris-install-modules-in-modlad-dir-20010911
get rid of another bogosity
2001-09-11 05:46:37 +00:00
Derrick Brashear
3d83c88fc5 configure-libafs-fix-paths-20010910
update paths for building submodule
2001-09-11 05:00:29 +00:00
Derrick Brashear
331b7594f5 irix-makefileproto-fix-dest-target-20010910
rely on DEST not DESTDIR
also install instead of cp to implicitly create needed directory
2001-09-11 04:30:49 +00:00
Derrick Brashear
6b113587ca linux-configure-check-for-more-inode-struct-members-20010910
for redhat enterprise kernel
2001-09-10 21:52:30 +00:00
Derrick Brashear
ad8f6909ee update-libafs-configure-20010910
so the kernel module subconfigure will work usefully
2001-09-10 21:50:43 +00:00
Nathan Neulinger
4a31f02b1f makefile-cleanup-remove-extraneous-semicolons-and-other-unused-bits-20010910
rationalize away some more crap
2001-09-10 21:21:01 +00:00
Nathan Neulinger
2a12550e7c add-cvsignores-to-project-20010910
start at cvsignores
2001-09-10 21:14:01 +00:00
Walter Wong
af3fa773a4 winnt-readme-update-20010910
update winnt build instructions
2001-09-10 21:08:14 +00:00
Chaskiel M Grundman
7303f3148e darwin-build-updates-20010910
separate plist on per-version basis

1.4 is not yet supported
2001-09-10 21:07:32 +00:00
Walter Wong
80c42d4a87 winnt-create-missing-clean-target-20010910
get winnt make clean closer to working
2001-09-10 20:54:20 +00:00
Jeffrey Hutzelman
80e2c2f8ce make-install-support-for-transarc-and-prefix-style-universes-20010907
according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix missed makefile

====================

update another missed file

====================

eliminate bogus escaping

====================

get rid of another bogus escape

====================

remove unused include directory

====================

get rid of no longer used libdir

====================

remove unused incdir

====================

fix up some problems for make compatibility and missing trailing /

====================

put afs.exp in the right place

====================

remove bogus afssrvdir reference

====================

update dest version of output

====================

update ref to libexecdir

====================

kill refs to afssrvdir

====================


convert missed LIBDIR to TOP_LIBDIR

====================

remove explicit INSTALL and use makefile.@sys value instead

====================

except it's helpful to actually include makefile.@sys

====================

convert LIBDIR to TOP_LIBDIR
2001-09-10 20:15:57 +00:00
Derrick Brashear
ba4498fa9c bucoord-cvs-bogosity-20010910
correct bogosity which crept into CVS (rtruct instead of struct)
2001-09-10 17:37:32 +00:00
James Peterson
b29021b83d windows-install-updates-20010910
more corrections for windows packaging
2001-09-10 16:39:47 +00:00