Commit Graph

14164 Commits

Author SHA1 Message Date
Derrick Brashear
ba4157f839 update-libuafs-install-procedure-20010327
to deal with tweaks make so pinstall can be left uninstalled on darwin port
2001-03-27 09:57:15 +00:00
Derrick Brashear
57ee8d64e4 add-pts-global-reader-support-20010327
in the same way members of system:administrators have all pts powers,
members of system:ptsviewers have all pts read powers by virtue of
said membership
2001-03-27 09:49:41 +00:00
Derrick Brashear
e31f1895da rudimentary-support-in-kpasswd-and-kas-for-mit-v4-string-to-keyed-passwords-20010327
klog supports such passwords but without this such users can't run kas or kpasswd
2001-03-27 09:36:15 +00:00
Derrick Brashear
3c6509369d use-afs-int64-types-in-util-package-20010327
we already defined "portable" types for this; use them
2001-03-27 09:16:43 +00:00
Nickolai Zeldovich
150cbf3db8 make-namei-fileserver-compile-on-solaris8-20010327
use uint64_t in preference to u_int64_t as solaris has only the latter and
linux appears to have both. also, use lockf where flock was used in the
solaris case
2001-03-27 08:58:49 +00:00
Chaskiel M Grundman
a41175cfbb initial-darwin-support-20010327
setup for darwin port

====================
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.
====================
changes for darwin port

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

added files for the darwin port

====================
changes for darwin port
2001-03-27 08:43:13 +00:00
Nickolai Zeldovich
9602e1a3fd rxdebug-changes-for-peers-and-to-show-rtt-values-20010326
"   rxdebug: allow the use of -onlyhost and -onlyport options with
    -peers, and also list the rtt, rttdev and retransmit timeout
    values."
2001-03-27 01:53:27 +00:00
Nickolai Zeldovich
6cd845bdb5 fix-rx-rtt-computation-when-delay-is-involved-20010326
"   rx: attempt to fix incorrect rtt computation, possibly winning
    on performance for links with some packet loss.

    Currently, the rtt is computed as the time from the transmission
    of a packet until the receipt of the corresponding ack packet.
    But this includes a potential delay (rx_{soft,hard,last}AckDelay)
    on the client which results in an abnormally high rtt, and even
    more erroneous rtt_dev and retransmit timeout values.

    The proposed solution is to ignore RX_ACK_DELAY type ack packets
    for the purposes of rtt computations, and introduce another ack
    packet type for RX_ACK_DELAY-type acks which are sent immediately
    by the client.

    This should of course be backwards-compatible with existing clients.
"
2001-03-27 01:51:35 +00:00
Michael Stroucken
bccc6a809d first-pass-at-alpha-linux-support-20010312
Changes for Alpha to previous 64 bit changes for sparc (sparc64 isn't
necessarily analogous to alpha or any other 64 bit linux platform)

====================
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.
====================
use mkstemp

====================
Include necessary file for alpha config

====================
Deal with 64 bit time_t

====================
Don't do increments in a way that can be miscompiled

====================
configure for alpha linux

====================
deal with time and initialize a variable

====================
don't use ViceIoctl32 for alpha linux

====================
deal with compiling kdump for alpha linux

====================
mods in callback.c analogous to dux port; mods in viced to deal with
thread creation function return convention

====================
config for linux alpha

====================
ids for alpha linux consistent with new-style sysname grouping

====================
makefile and config files for new-style sysnames

====================
MakefileProto changes for alpha linux with new-style sysnames. A change
in config/mc.c will be needed for this to configure correctly, and it will
be added soon

====================
note alpha port and the state it's in to hopefully avoid questions
2001-03-27 00:53:26 +00:00
Nathan Neulinger
0d466f2f10 add-server-syslog-logging-capabilities-20010326
Add support for syslogging server log messages

====================
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.
====================
Add syslogging capability to ptserver

====================
add syslog capability to fileserver

====================
Add syslog capability to the volserver

====================
Add syslog capability to the vlserver

====================
fix my own error when hand-applying nathan's patch

====================
remove unused function
2001-03-26 20:26:17 +00:00
Derek Atkins
2165ef3af8 make-fileserver-deal-correctly-with-client-which-changed-addresses-but-was-offline-when-a-callback-to-it-was-revoked-20010326
"First, some background: The AFS Fileserver tries really hard to keep
track of all the "interfaces" of a client.  Generally this is for a
multi-homed client, so that the server realizes that you are the same
client when you come from multiple addresses.  However, this also
winds up applying to a mobile host whose IP address changes over time.

When the Fileserver sees a "new" address, it asks the client for its
Uuid and, if that Uuid already exists, it adds this new address to the
list of interfaces for the existing host.  However, it keeps a
callback connection open to the original address.

Here's the problem: Assume the client has callbacks registered with
the server and then disappears from the network.  While the client is
off the net, someone else makes a change that causes that callback to
be broken.  The fileserver can't reach the client, so the break gets
added to the delayed callback list.  The logic is such that no client
requests will be processed by a host while there are outstanding
delayed callbacks to that client.


Now, if the client comes back on the same IP Address, everything works
fine.  The fileserver uses the cached callback connection and the
callbacks are cleared successfully.  However, if the client returns to
the network under a different address, this new address is added to
the existing host structure and then the delayed callbacks are
attempted.  Unfortunately it is using the (invalid) cached connection
to the old IP Address, so the delayed break fails.  Therefore, this
client is locked out of the fileserver until:

        1) the fileserver reboots,
        2) the client returns to the original IP Address, or
        3) All the callbacks timeout on their own.

This patch will fix this problem.  When the client makes a request and
the fileserver tries to break the delayed callbacks, if the breaking
fails then the fileserver will attempt to find a 'working' interface
by probing all the host interfaces for one that responds with the
correct Uuid.  If that succeeds then it resets the cached callback
connection and then breaks the delayed callbacks, thereby regaining
the connection to the client and proceeding with the proper cleanup
before the original request is completed."
2001-03-26 17:51:34 +00:00
Derrick Brashear
146fca9060 build-vfsck-for-solaris8-20010326
Before it was being explicitly skipped; Build it
2001-03-26 17:26:29 +00:00
Harald Barth
9feea404fd null-terminate-cell-when-copying-from-lrealm-20010326
Avoid condition where we could read past the end of lrealm (unlikely
to occur in practice and not remotely exploitable; cell and lrealm are
both MAXKTCREALMLEN and lrealm is configured locally and not read from the
network)
2001-03-26 17:18:42 +00:00
Nickolai Zeldovich
54b7292a44 do-bounds-checking-in-psetvolumestatus-20010315
Previously it was possible to overflow the variables used to construct a
SetVolumeStatus call
2001-03-16 03:35:07 +00:00
Erik J. Burckart
4b85432743 fix-for-cache-consistency-on-linux-24-smp-systems-20010315
"Here are the symptoms.  I have 2 OpenAFS  Linux 2.4 machines, one SMP and
one not.
--With both of them I access a series of directories and files within
(/afs/w/x/y/z/).
--I then move to the root directory.
--From a third machine, I remove the directories x, y, and z. Then re-add
them (same names) with some other files.
--From the SMP box, I do an ls in /afs/w and see x.  But x is inaccessible.
--From the UP box I can see and access x.
"

====================
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.
====================
Missed earlier: not part of the IBM delta.

====================
Part of the alpha patch slipped into the delta; Revert to previous
revision
2001-03-16 03:27:05 +00:00
Johan Danielsson
70cbd6f689 dux-advfs-client-support-20010315
necessary changes to allow a cache in an advfs
2001-03-15 18:55:20 +00:00
Nathan Neulinger
5994633186 bosserver-syslog-option-including-selectable-facility-20010315
"Simple patch to add "-syslog" option to bosserver. Causes it to direct all
logging activity to syslogd instead of to logs/BosLog"

currently unimplemented for NT

====================
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.
====================
Don't use a static outside its scope
2001-03-15 18:47:50 +00:00
Michael Stroucken
27d7f4fd60 initial-alpha-linux-support-20010315
top-level makefile mods for 64 bit system
2001-03-15 18:15:46 +00:00
Nickolai Zeldovich
a1fac47017 pts-args-checking-when-calling-com-err-20010314
"This prevents pts from crashing like this:

  pepsi-one~> pts createg a:b -id -1234
  /bin/athena/pts: Permission denied ; unable to create group a:b with id -1234
owned by 'Segmentation fault
"
2001-03-15 17:50:34 +00:00
Pavel Semerad
4d3b445cc3 fix-locking-on-linux-sparc64-20010312
" I have found problem with file locking and 64bit linux (tested on
ultrasparc). When issued fcntl(fd, f_SETLK, ..) with l_start = 0 and l_len
= 0, it sets l_len to LONG_MAX, so it is needed to test this value"
2001-03-15 17:47:45 +00:00
Johan Danielsson
3fd459ac39 simplification-of-code-in-cache-manager-to-make-dux-advfs-support-simpler-20010315
with advfs you can't VTOI inodes so provide a wrapper function for dux to ease
this problem
2001-03-15 17:43:11 +00:00
Eric Lorenzo
00c69d3f07 make-comerr-tolerate-different-eol-convention-20010306 2001-03-06 17:57:00 +00:00
Derrick Brashear
b90dd04009 make-afsd-be-less-annoying-20010306 2001-03-06 16:02:00 +00:00
Derrick Brashear
17abe56f75 xlc-r-on-path-not-usr-bin-20010306
By default it ends up in /usr/vac/bin
2001-03-06 06:16:17 +00:00
Derrick Brashear
858edd2056 use-dollar-cc-not-cc-for-aix-exporter-20010305
necessary to build aix afs with gcc
2001-03-05 22:57:57 +00:00
Derrick Brashear
5a9eb81c94 make-snprintf-compile-on-aix-433-20010305
AF_INET is in sys/socket.h on AIX 4.3.3
2001-03-05 22:47:54 +00:00
Derrick Brashear
5da931163b make-bosserver-be-less-annoying-20010305 2001-03-05 19:13:24 +00:00
Derrick Brashear
3531babbd2 restore-rxdebug-to-the-living-20010305
Give us back rxdebug
2001-03-05 18:55:13 +00:00
Hartmut Reuter
f310da48b4 support-namei-fileserver-on-solaris8-20010305
So the namei fileserver can be used on Solaris 8
2001-03-05 16:39:05 +00:00
Adam Thornton
c12594fb08 afs-linux-s390-updates-20010305
Updates for Linux s/390 AFS port
2001-03-05 16:34:32 +00:00
Derrick Brashear
5837ab6463 return-truncated-reason-from-krb-udp-interface-20010305
The remainder of the patch the snprintf support was intended to be used for
2001-03-05 16:26:04 +00:00
Ulrich Hahn
92dcbd617b pam-afs-password-changing-support-20010305
support for changing passwords when user has kaserver password only
2001-03-05 16:22:53 +00:00
Hartmut Reuter
c8bfbcc55d allow-shadowed-src-trees-20010305
So "make links" will work if src was a symlink.
2001-03-05 15:37:46 +00:00
Hartmut Reuter
4470f1d03f ntp-for-solaris-58-20010305
Let ntp build on Solaris 8
2001-03-05 15:34:14 +00:00
Johan Danielsson
bc5204d4e7 support-dux-51-20010305
Changes needed for OpenAFS Tru64 5.1 support
2001-03-05 15:12:42 +00:00
Michael Welsh Duggan
3f43961f53 linux-libafs-with-modversions-20010228
Use symbol versioning when compiling against a kernel with symbol versioning
enabled.
2001-02-28 19:22:44 +00:00
Nickolai Zeldovich
f2fbb398a4 afs-lookup-check-evalmountpoint-return-20010221
Make check the return code from EvalMountPoint()

====================
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.
====================
maintain old behavior consistent with checking eval return
2001-02-24 15:35:05 +00:00
Mattias Amnefelt
fd4fe77ecd backup-addvolentry-fix-20010221 2001-02-22 03:06:04 +00:00
Derrick Brashear
98e79522fb bos-mrafs-support-20010221
Make it work as intended
2001-02-22 00:34:45 +00:00
Nathan Neulinger
73634549ab update-README-20010213
Irix compile completes
2001-02-13 16:53:48 +00:00
Derrick Brashear
4dca94ffe6 snprintf-for-aix-not-irix-20010212
Irix 6.5 has snprintf
2001-02-13 03:54:04 +00:00
Derrick Brashear
61eb7d8838 provide-snprintf-for-irix-dux-20010212
So we can use snprintf, provide it for platforms that don't have it
2001-02-13 03:46:15 +00:00
Hartmut Reuter
54b2c2307a bos-mrafs-support-20010212
Necessary additions to bos for MR-AFS support
2001-02-13 00:28:22 +00:00
Hartmut Reuter
2156a32e7d revert-xdr-int64-in-favor-of-common-makefile-20010212
the new version of the patch put these in Makefile.common
2001-02-13 00:15:25 +00:00
Hartmut Reuter
d26273e0f1 include-xdr-int64-in-libafs-20010212
for new pioctl calls for mrafs

====================
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.
====================
for new pioctl calls for mrafs; convert spaces to tab
2001-02-12 23:56:16 +00:00
Hartmut Reuter
f896be7dd5 dirpath-mrafs-additions-20010212
Dirpath additions for MR-AFS files

====================
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.
====================
Dirpath additions for MR-AFS files; remove extra newline
2001-02-12 23:50:21 +00:00
Hartmut Reuter
c4a127d057 ubik-clone-support-20010212
Changes needed to support ubik (non-voting) clones.

====================
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.
====================
Needed kaserver support for ubik clones

====================
Needed support for ubik clones for the ptserver

====================
Support for ubik clones in vlserver

====================
auth layer support for ubik readonly clones

====================
ubik library support for readonly clones
2001-02-12 21:57:57 +00:00
Hartmut Reuter
8881f8778c rework-ktc-to-allow-dummy-libkrb-20010212
export some previously internal routines, and rename to not conflict
with libkrb;
with NO_AFS_CLIENT you can use the ktc routines also for architectures
which not yet have kernel support for AFS tokens (Cray T3E, NEC SX5).
2001-02-12 21:09:17 +00:00
Hartmut Reuter
d80d0eeaab bos-mrafs-support-20010212
Necessary additions to bos for MR-AFS support

====================
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.
====================
FS bnode changes for MR-AFS

====================
allow hex numbers for residencies, used by bos
2001-02-12 20:30:50 +00:00
Hartmut Reuter
86f1dc2117 mrafs-server-log-handling-20010212
Rotate old logs by date for MR-AFS; Could be adapted to rest of AFS
2001-02-12 20:29:20 +00:00