4665 Commits

Author SHA1 Message Date
Jeffrey Altman
18f8d18c1b DEVEL15-windows-aklog-no-panic-if-no-kfw-20071129
LICENSE MIT


(cherry picked from commit e260ccde93009f7536d25ff6a42dcc1d126f08ec)
2007-11-29 20:55:30 +00:00
Jeffrey Altman
bf713c234f DEVEL15-viced-drop-core-on-shutdownandcore-20071129
LICENSE IPL10
FIXES 74708

when we call ShutDownAndCore, actually drop a core.


(cherry picked from commit a6fd54900e9ac9f5bf2a419338341ad355639034)
2007-11-29 19:26:41 +00:00
Jeffrey Altman
5e44192c82 DEVEL15-clean-felater-when-rechaining-20071129
LICENSE IPL10
FIXES 74708

in order that this not be continually rechained, clear this here; we
are handling it now.


(cherry picked from commit 7515efb9c390089b4ad4563b939785c5c05793c5)
2007-11-29 18:41:56 +00:00
Derrick Brashear
d64a133e5c DEVEL15-zero-uio-on-zero-read-20071127
LICENSE IPL10

avoid leaking random data in a read of a 0 length object.


(cherry picked from commit 262d1d1c70222b8378109674cd5090f602c52971)
2007-11-29 18:34:32 +00:00
Jeffrey Altman
957842d966 DEVEL15-windows-volstat-headers-20071129
move the enum volstat definition to cm_volstat.h from cm_volume.h.

fix the copyright.


(cherry picked from commit 7da027754463f7040c89b6a04c35d13d5fbe31d3)
2007-11-29 16:11:43 +00:00
Jeffrey Altman
9133767540 DEVEL15-windows-smb-out-of-memory-20071129
It turns out that LsaCallAuthenticationPackage can succeed but still
fail with an extended error.  The one case that we have seen reported
is STATUS_NO_MEMORY which would be produced when the paging file is
full.  This could be a transient error that will be resolved after
Windows increases the paging file size.

Instead of crashing under this condition we should force the authentication
to fail and permit the client to retry.

WER 567093715-1-0405174244


(cherry picked from commit ee839a167eea5c0b3e2a45bf1e47b268419dc04e)
2007-11-29 16:08:57 +00:00
Jeffrey Altman
a0b5d98ddf DEVEL15-windows-daemon-shutdown-20071129
The cm_Daemon() thread did not check after each operation whether or
not the service is in the process of shutting down.  As a result the
thread could access data, locks, etc. that had been freed by other
threads.

WER 572098933-1-0407879071


(cherry picked from commit baef5ba97f4d042d75fe1ac8e11325be459a3d9a)
2007-11-29 16:02:14 +00:00
Jason Edgecombe
0d84814d20 DEVEL15-man-page-symlink-20071128
Add man pages for all the symlink commands (Windows-only).


(cherry picked from commit 1ee37a57d3d343b8d7a1ab26b6783d396624c856)
2007-11-29 05:54:15 +00:00
Russ Allbery
833c85aaf0 DEVEL15-man-page-vos-convertrotorw-fix-20071128
Don't say that inode file servers are only available on Solaris and AIX.


(cherry picked from commit 6cd96f678e12570205d2cbf532b86219b1737c49)
2007-11-29 05:51:03 +00:00
Jason Edgecombe
00551d88aa DEVEL15-man-page-fs-sysname-improvements-20071128
Update the fs sysname man page to document the behavior of multiple @sys
values.


(cherry picked from commit 3be37f4d1ca1e3fae238e58d07708577d5653ae2)
2007-11-29 05:47:48 +00:00
Jason Edgecombe
ebbe5f86e6 DEVEL15-man-page-fs-rxstatpeer-20071128
New man page for fs rxstatpeer.


(cherry picked from commit f78f007dc593ec6948bf904d7903223bd6046081)
2007-11-29 05:44:11 +00:00
Steven Jenkins
ab867baba9 DEVEL15-man-page-fileserver-auditlog-20071128
Remove duplicate -auditlog in the fileserver synopsis.


(cherry picked from commit a7291b33490ce62a9ea5b93fab268e3c669a6051)
2007-11-29 05:39:53 +00:00
Jason Edgecombe
59a955f4c6 DEVEL15-man-page-additions-20071128
Add new man pages for vos convertROtoRW, vos copy, and read_tape and add
a troubleshooting section to the fileserver man page.


(cherry picked from commit 2ecef5038e81386a002740f6b0112330117c4f6e)
2007-11-29 05:35:33 +00:00
Russ Allbery
96d04df40e DEVEL15-man-fs-uuid-tweaks-20071128
Some minor capitalization and formatting tweaks to the fs uuid man page.


(cherry picked from commit 5743116d700ce279cde3a8dee962757df509d557)
2007-11-29 05:17:29 +00:00
Derrick Brashear
165c8670db DEVEL15-getpag-prototype-20071127
forward declare this function

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

returns void, but, whatever


(cherry picked from commit 031369cd322d5dae4d1e8284c104e69a903c7995)
2007-11-28 05:04:51 +00:00
Mike Meffie
80a2e25794 DEVEL15-linux-try-kbuild-deal-with-old-modpost-20071127
the pre 2.6.20.1 modpost issued warnings and not errors for unresolvable symbols.

not overly useful.


(cherry picked from commit eee1f81821656ed85720523750b312eaf0dd71b4)
2007-11-27 20:46:24 +00:00
Derrick Brashear
1f3598c37c DEVEL15-macos-no-read-on-directories-20071127
thanks to quentin@mit.edu for pointing this out.

no read() on directories


(cherry picked from commit 746aab982ae3b7b6e1fb8109e5e9892a1821d6ec)
2007-11-27 20:02:35 +00:00
Marc Dionne
e7beba31f0 DEVEL15-linux-hash-inodes-for-mmap-20071127
FIXES 78544

inodes are only added to the superblock dirty list if hashed.

do so.


(cherry picked from commit 89261e8b84697f3b5158e197ca9946c6fe9f45ed)
2007-11-27 19:28:26 +00:00
Asanka Herath
159b653ffb DEVEL15-windows-nim-afscred-double-free-20071127
fix a double free on error condition


(cherry picked from commit 4172d60820fdf3375091b0a451e8d25809019d8d)
2007-11-27 17:31:39 +00:00
Derrick Brashear
26164b4e20 DEVEL15-redhat-cleanup-authlibs-correctly-20071126
when not packaging authlibs, correctly discard them


(cherry picked from commit 3c401f4724bea0b39baabfb3e38168886925e358)
2007-11-26 22:20:27 +00:00
Derrick Brashear
3f68888c33 DEVEL15-volprocs-alloc-vnode-instead-of-using-stack-20071126
don't use stack here; alloc memory for short term use


(cherry picked from commit 4f98eb48fccde9dd70708b2dd6b0903745d16b7a)
2007-11-26 22:12:04 +00:00
Rainer Toebbicke
c73395ec07 DEVEL15-namei-avoid-spurious-emfile-20071126
FIXES 77531

before we did not handle the fd cache runnign dry. "oops"


(cherry picked from commit 48bcb88ddc8fe7baa7a2b0f8decee7e704ad32ef)
2007-11-26 21:47:29 +00:00
Christof Hanke
6de5356fa1 DEVEL15-assorted-warning-cleanup-20071126
add missignheader files, missing return values, correct a few calls to printf


(cherry picked from commit da18bb147b25e62ed69c6f88fa6331161018d9fb)
2007-11-26 21:08:38 +00:00
Christof Hanke
4783edac64 DEVEL15-kauth-ubik-wrap-pad-requisite-args-out-20071126
of course, if Date is larger than 32 bits, the wrapper is broken anyway. we should really get rid of the wrapper


(cherry picked from commit 5d8c44bc09fde707dc6aaaf037b2c8805cce0ed1)
2007-11-26 20:39:46 +00:00
Derrick Brashear
b3672335c0 DEVEL15-enhance-afsdb-debugging-20071123
allow cmdebug to show locks on cells. add fstrace event for afsdb


(cherry picked from commit b776352e3b824d7c733ef05a71eac85c025b290b)
2007-11-23 14:32:56 +00:00
Sean O'Malley
d75b01f3c9 DEVEL15-krb5-klog-solaris-20071123
FIXES 77575

make this work on solaris


(cherry picked from commit aa5c3518df8d73c2b0aa625e77179f33df97c2af)
2007-11-23 13:59:34 +00:00
Marc Dionne
edd56e701a DEVEL15-linux-2624-20071123
FIXES 77370

support linux 2.6.24


(cherry picked from commit af7cf697ef8c0a416251d3fbfd516738e14c290b)
2007-11-23 13:40:36 +00:00
Derrick Brashear
e0f99dc9b5 DEVEL15-macos-buildpkg-cleanup-cruft-20071123
don't leave the old dmg around since it makes a new one bomb


(cherry picked from commit dda101f22d4690f2c7c8731740fd9676f2a85c66)
2007-11-23 13:03:05 +00:00
Jeffrey Altman
c7c23cc699 DEVEL15-giveupallcallbacks-locking-20071121
FIXES 74708


Hold H_LOCK across calls into GiveUpAllCallbacks_r


(cherry picked from commit b0b3565b69b0b8fda46b25e7bd73c5116b32d83e)
2007-11-21 19:34:36 +00:00
Jeffrey Altman
0fd7ec0280 DEVEL15-windows-dv-logging-20071114
64-bit data version logging updates


(cherry picked from commit 5d84c50e5eb754eb33de0e53eab3fd64d170bb36)
2007-11-14 17:19:41 +00:00
Jeffrey Altman
96d0a0900d DEVEL15-windows-64bit-data-version-20071114
Add support for 64-bit AFSFetchStatus data version values


(cherry picked from commit 5d245327f057389950c30bb36af6d12f6f96c73a)
2007-11-14 06:23:33 +00:00
Derrick Brashear
cdb60f1781 DEVEL15-dafs-inode-convert-20071113
the dafs version of this


(cherry picked from commit 473b0345210c98a44cffb8c5de1d0da5980969f4)
2007-11-14 04:36:14 +00:00
Derrick Brashear
64aaaeafcd DEVEL15-inode-convert-ro-to-rw-20071113
so this functionality works with inode fileserver, also. corrected abstraction from previous versions so vol and volser have correct bits.


(cherry picked from commit b98b51185dbd46ef6d9ef0249b032bbc49d13bfb)
2007-11-13 22:15:20 +00:00
Derrick Brashear
128c9fad42 DEVEL15-redhat-spec-no-strip-20071112
suggested by simon. debuginfo support in rpmbuild strips for us. deal here.


(cherry picked from commit 524f749430e78edab581ad84978d13870911b6f8)
2007-11-13 00:47:19 +00:00
Simon Wilkinson
fc404100ac DEVEL15-redhat-reunrevert-fedora-build-change-20071112
"oops"


(cherry picked from commit 606ce43066bf1d818a990982f9704a973371c456)
2007-11-13 00:31:25 +00:00
Derrick Brashear
aed1423c0e DEVEL15-redhat-packaging-updates-20071112
FIXES 76890

various updates to deal with fedora 8 and remove obsolete stuff


(cherry picked from commit 9f284c66a9ad685eab201e480372633d538938b3)
2007-11-13 00:03:11 +00:00
Jeffrey Altman
5d5650234f DEVEL15-viced-accurately-track-file-callbacks-20071112
FIXES 74708

this should fix the issue with cbfree being corrupted. a more exhaustive pointer-blunting patch should probably be pulled in, but, this is simple and obvious


(cherry picked from commit d284c0e7c11e8ee4755ac152e5e47d4abf304afc)
2007-11-12 19:04:27 +00:00
Kevin McBride
bddb2fcf69 DEVEL15-autoconf-strip-debug-options-sanity-20071112
To prevent stripping, specify the '--disable-strip-binaries' option on
the ./configure command line. fileserver and volserver are never stripped.

When --enable-debug is specified, binaries will not be stripped by default.


(cherry picked from commit 8593c52c2787587110865287937750e51c48afa5)
2007-11-12 18:28:30 +00:00
Tom Keiser
198bc09264 DEVEL15-dafs-optimize-shutdown-20071112
optimize shutdown case as is done elsewhere, for dafs.


(cherry picked from commit cd8311641fd32328dd1d8a07b1318ecb53726bd1)
2007-11-12 18:19:59 +00:00
Jeffrey Altman
bdbecaf5ea DEVEL15-windows-readonly-volume-callbacks-20071111
disable the option by default.  require the daemonCheckVolCBInterval
registry value be set in order to activate it.

do not renew .readonly volumes whose callbacks are less than 30 minutes
old.


(cherry picked from commit f2bff0e675a2ca0b583264d59d288c62636a06b8)
2007-11-12 03:25:55 +00:00
Russ Allbery
401b084d5e DEVEL15-man-page-name-underscore-more-20071111
Missed fs apropos when fixing NAME entries to eliminate spaces.


(cherry picked from commit e61efde3236b9cd09a09cb9e869b27a14b68c4ac)
2007-11-12 00:15:20 +00:00
Russ Allbery
cf2114029d DEVEL15-man-page-name-underscore-20071111
The NAME heading for man pages can't contain a space in the program side
or the man pages won't index with some man implementations.


(cherry picked from commit 6ef9f3933595e4fef5c4af334ab580dbb08212c3)
2007-11-11 23:51:04 +00:00
Jeffrey Altman
d63e5ba4a9 DEVEL15-windows-readonly-volume-callbacks-20071110
avoid a deadlock


(cherry picked from commit b5935d47fb5b06c4f1c74c3671af4b1a481b8ab3)
2007-11-10 22:55:19 +00:00
Simon Wilkinson
bef49380d4 DEVEL15-libafsrpc-makefile-fix-20071110
FIXES 76836

fix double / in makefile


(cherry picked from commit dd1535d31509d48d961085809c132b398edd80ff)
2007-11-10 20:13:39 +00:00
Dan Hyde
0faeee6591 DEVEL15-viced-missing-lock-20071109
FIXES 76713

Add missing lock that needs to protect an in use 'host' from having
HOSTDELETED added to the hostFlags and HWNO_INPROGRESS removed.


(cherry picked from commit 76c886b574b7d21db2557872be8af8e6ca549f34)
2007-11-10 00:37:50 +00:00
Jeffrey Altman
5cbdd5c93e DEVEL15-cmdebug-human-readable-expiration-time-20071109
add -ctime parameter which produces human readable expiration times.
Doesn't work with OpenAFS for Windows prior to 1.5.28 because time()
was not used in those versions for tracking expiration times.


(cherry picked from commit 578e0d957547e4ac7f39b0559e166fd9eea5f150)
2007-11-10 00:19:20 +00:00
Jeffrey Altman
77cb230871 DEVEL15-windows-readonly-volume-callbacks-20071109
A .readonly volume callback applies to the entire volume.  Track it
in the cm_volume_t cbExpiresRO field and apply it to all cm_scache_t
objects with valid callbacks that are associated with that volume upon
each daemon callback check.  This will prevent premature callback
expiration.

Also, attempt to automatically refresh the callbacks every 30 minutes
by obtaining a callback on the volume root.  This value is configurable
with the "daemonCheckVolCBInterval" registry value.

Change from osi_Time() to time() for expiration values in order to
permit conversion to human readable values in cmdebug.


(cherry picked from commit b43d778e9342dd19c010354cf6db854fdf1f7d22)
2007-11-10 00:15:55 +00:00
Derrick Brashear
b3bfca66dc DEVEL15-clean-platform-20071109
clean platform dir


(cherry picked from commit 15a52f254b8c079a1e640e18ce90508861ec5d96)
2007-11-09 20:18:33 +00:00
Derrick Brashear
7cb0102b34 DEVEL15-macos-packaging-updates-20071109
make the readme correct. make dmgs which have a useful name


(cherry picked from commit 10ff33e6092a63107600b3b58c44c8d15849bbe6)
2007-11-09 19:31:22 +00:00
Derrick Brashear
04de5cf42c DEVEL15-hpux11-thread-lock-tracking-20071109
do this for hpux also


(cherry picked from commit 757bdb092ec4e1db9c7dc949499cc761982bd105)
2007-11-09 19:20:29 +00:00