]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
16 years agokauth-needs-sys-for-headers-20090316
Derrick Brashear [Mon, 16 Mar 2009 15:17:12 +0000 (15:17 +0000)]
kauth-needs-sys-for-headers-20090316

LICENSE IPL10

get sys's header for kauth

16 years agorxstat-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 15:06:54 +0000 (15:06 +0000)]
rxstat-prototypes-20090316

LICENSE IPL10
FIXES 124235

prototype the rxstat directory

16 years agovol-no-cast-macro-20090316
Derrick Brashear [Mon, 16 Mar 2009 14:41:22 +0000 (14:41 +0000)]
vol-no-cast-macro-20090316

LICENSE IPL10

afs_cast_uint32 doesn't exist, not sure we need it

16 years agobudb-no-pointer-math-on-void-star-20090316
Jeffrey Altman [Mon, 16 Mar 2009 14:19:39 +0000 (14:19 +0000)]
budb-no-pointer-math-on-void-star-20090316

LICENSE IPL10

can't do pointer math on void*; already casting to char* anyway

16 years agoauth-unistd-not-on-windows-20090316
Jeffrey Altman [Mon, 16 Mar 2009 14:12:37 +0000 (14:12 +0000)]
auth-unistd-not-on-windows-20090316

LICENSE IPL10

don't include unistd on windows

16 years agosys-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 14:00:56 +0000 (14:00 +0000)]
sys-prototypes-20090315

LICENSE IPL10
FIXES 124233

prototype the sys directory

16 years agogtx-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:49:15 +0000 (13:49 +0000)]
gtx-prototypes-20090316

LICENSE IPL10
FIXES 124243

prototype the gtx directory
utilize in scout

16 years agobutm-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:45:11 +0000 (13:45 +0000)]
butm-prototypes-20090316

LICENSE IPL10
FIXES 124241

prototype the butm directory

16 years agouss-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:43:34 +0000 (13:43 +0000)]
uss-prototypes-20090316

LICENSE IPL10
FIXES 124248

prototype the uss directory

16 years agobudb-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:41:23 +0000 (13:41 +0000)]
budb-prototypes-20090316

LICENSE IPL10
FIXES 124240

prototype the budb directory

16 years agobubasics-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:39:03 +0000 (13:39 +0000)]
bubasics-prototypes-20090316

LICENSE IPL10
FIXES 124237

prototype the bubasics directory
make the volser prototypes available for bubasics to use

16 years agodir-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:28:55 +0000 (13:28 +0000)]
dir-prototypes-20090316

LICENSE IPL10
FIXES 124242

prototype the dir directory

16 years agolibadmin-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:26:20 +0000 (13:26 +0000)]
libadmin-prototypes-20090316

LICENSE IPL10
FIXES 124246

prototype the libadmin directory

16 years agovenus-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:24:25 +0000 (13:24 +0000)]
venus-prototypes-20090316

LICENSE IPL10
FIXES 124250

prototype the venus directory

16 years agoscout-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:22:15 +0000 (13:22 +0000)]
scout-prototypes-20090316

LICENSE IPL10
FIXES 124253

prototype the scout directory

16 years agobozo-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:19:47 +0000 (13:19 +0000)]
bozo-prototypes-20090316

LICENSE IPL10
FIXES 124236

prototype the bozo directory

16 years agoauth-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:17:33 +0000 (13:17 +0000)]
auth-prototypes-20090316

LICENSE IPL10
FIXES 124234

prototype the auth directory

16 years agoafsd-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:13:45 +0000 (13:13 +0000)]
afsd-prototypes-20090316

LICENSE IPL10
FIXES 124231

prototype the afsd directory

16 years agovol-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:11:42 +0000 (13:11 +0000)]
vol-prototypes-20090316

LICENSE IPL10
FIXES 124252

prototype the vol directory

16 years agoptserver-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:08:38 +0000 (13:08 +0000)]
ptserver-prototypes-20090316

LICENSE IPL10
FIXES 124249

prototype the ptserver directory

16 years agoubik-prototype-fallout-20090316
Jeffrey Altman [Mon, 16 Mar 2009 12:37:09 +0000 (12:37 +0000)]
ubik-prototype-fallout-20090316

LICENSE IPL10

make things happy again

16 years agoirix-lacks-sig-t-20090315
Derrick Brashear [Mon, 16 Mar 2009 03:44:36 +0000 (03:44 +0000)]
irix-lacks-sig-t-20090315

LICENSE IPL10

sig_t is missing on irix

16 years agoviced-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 03:10:21 +0000 (03:10 +0000)]
viced-prototypes-20090315

LICENSE IPL10
FIXES 124251

prototype the viced directory

16 years agoubik-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 03:03:14 +0000 (03:03 +0000)]
ubik-prototypes-20090315

LICENSE IPL10
FIXES 124245

prototype the ubik directory

16 years agofsprobe-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:53:55 +0000 (02:53 +0000)]
fsprobe-prototypes-20090315

LICENSE IPL10
FIXES 124254

prototype the fsprobe directory

16 years agolibacl-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:42:34 +0000 (02:42 +0000)]
libacl-prototypes-20090315

LICENSE IPL10
FIXES 124256

prototype the libacl directory

16 years agokauth-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:35:29 +0000 (02:35 +0000)]
kauth-prototypes-20090315

LICENSE IPL10
FIXES 124257

prototype the kauth directory

16 years agorxgen-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:26:28 +0000 (02:26 +0000)]
rxgen-prototypes-20090315

LICENSE IPL10
FIXES 124255

prototype the rxgen directory

16 years agoutil-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:00:27 +0000 (02:00 +0000)]
util-prototypes-20090315

LICENSE IPL10
FIXES 124247

prototype the util directory

16 years agoaudit-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 01:38:07 +0000 (01:38 +0000)]
audit-prototypes-20090315

LICENSE IPL10
FIXES 124232

prototype the audit directory

16 years agodes-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 01:34:36 +0000 (01:34 +0000)]
des-prototypes-20090315

LICENSE IPL10
FIXES 124230

prototype the des directory

16 years agoviced-copyonwrite-optimization-20090315
Rainer Toebbicke [Sun, 15 Mar 2009 18:50:00 +0000 (18:50 +0000)]
viced-copyonwrite-optimization-20090315

LICENSE IPL10
FIXES 124397

optimize CopyOnWrite to avoid rewriting data if possible

16 years agocellservdb-proc-file-glocking-20090315
Chaskiel M Grundman [Sun, 15 Mar 2009 18:42:13 +0000 (18:42 +0000)]
cellservdb-proc-file-glocking-20090315

LICENSE IPL10
FIXES 124407

hold GLOCK appropriately when dealing with the proc file

16 years agoviced-improve-host-hashing-20090315
Mike Meffie [Sun, 15 Mar 2009 18:30:41 +0000 (18:30 +0000)]
viced-improve-host-hashing-20090315

LICENSE IPL10
FIXES 124447

hash based on host byte order so intel machines aren't sad

16 years agobutc-xbsa-buffersize-20090315
Mike Meffie [Sun, 15 Mar 2009 18:19:15 +0000 (18:19 +0000)]
butc-xbsa-buffersize-20090315

LICENSE IPL10
FIXES 124425

restrict buffer size to allow for header space

16 years agosolaris-avoid-returning-einval-if-possible-20090315
Chaskiel M Grundman [Sun, 15 Mar 2009 18:13:25 +0000 (18:13 +0000)]
solaris-avoid-returning-einval-if-possible-20090315

LICENSE IPL10
FIXES 124426

if we have a better error code, return it.

16 years agoaklog-old-principal-conversion-sans-524-20090315
Derrick Brashear [Sun, 15 Mar 2009 18:02:31 +0000 (18:02 +0000)]
aklog-old-principal-conversion-sans-524-20090315

LICENSE IPL10

we'll want to fix this differently later; since 524 is dying perhaps we need
to just ship heimdal's version of this code

16 years agowindows-afsd-reset-acl-cache-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:59:23 +0000 (04:59 +0000)]
windows-afsd-reset-acl-cache-20090312

LICENSE MIT

Modify the cm_ResetACLCache interface to accept an optional cm_cell_t *.
At the moment every time a token is set or cleared all of the acl info
for all cm_scache_t objects regardless of cell is reset.  This is both
a performance hit and unnecessary.  If we know the cell, only reset
the acl info for cm_scache_t objects in that cell.

If cell is not specified, reset for all cells.

16 years agowindows-afsd-unlock-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:54:59 +0000 (04:54 +0000)]
windows-afsd-unlock-20090312

LICENSE MIT

Modify the cm_Unlock() interface to support the ability to unlock all
locks within a range.  This is required for the redirector.

16 years agowindows-freelance-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:51:11 +0000 (04:51 +0000)]
windows-freelance-20090312

LICENSE MIT

correct error in windows-freelance-20090223.  use cpath not filename
since that is why we allocated cpath in the first place.

16 years agowindows-afsd-callback-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:49:06 +0000 (04:49 +0000)]
windows-afsd-callback-20090312

LICENSE MIT

use cm_HaveCallback() to check for a call back instead of explicit
checks on cbExpires and cbServerp.  cm_HaveCallback takes into account
Freelance mode and offline status.

16 years agowindows-afsd-btree-20090313
Jeffrey Altman [Sat, 14 Mar 2009 04:45:22 +0000 (04:45 +0000)]
windows-afsd-btree-20090313

LICENSE MIT

Change cm_BPlusDirEnumerate interface to include a 'FetchStatus'
parameter.  When set to 0, we do not fetch status for fids for
which we do not already have status info.  This avoids unnecessary
recycling of cm_scache_t objects.

16 years agodumpcallbackstate-64bit-timet-safe-20090310
Matt Benjamin [Tue, 10 Mar 2009 19:21:12 +0000 (19:21 +0000)]
dumpcallbackstate-64bit-timet-safe-20090310

LICENSE IPL10
FIXES 124451

on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad

16 years agoavoid-blocking-with-connhashtable-lock-in-reapconnections-20090307
Jeffrey Altman [Sat, 7 Mar 2009 14:10:23 +0000 (14:10 +0000)]
avoid-blocking-with-connhashtable-lock-in-reapconnections-20090307

LICENSE BSD

instead of potentially blocking waiting for a call lock, assume if the call is
locked, the conn is still busy. also, don't even try to get the conn data lock
if we don't need to

16 years agowindows-afsd-server-uuid-20090301
Jeffrey Altman [Mon, 2 Mar 2009 04:44:43 +0000 (04:44 +0000)]
windows-afsd-server-uuid-20090301

LICENSE MIT

Unlike the unix cache manager, on Windows the server uuid was not
recorded as part of the cm_server object.  This commit adds the uuid
and a flag to indicate if it is set or not.

A check is made in cm_UpdateVolumeLocation it confirm that the uuid
known to the CM is the same as the one being reported by the vl server.
If they differ, this is logged but no action is taken.

The contents of the cm_allServers list is now dumped in response to
"fs memdump" or a crash.  This includes the uuid, addr, type, flags,
downtime, caps, etc.

The server uuid is not useful at the moment because there is nothing
that the CM can use it for.  However, it might be useful for debugging
and it will be needed for extended callback support.

16 years agowindow-afsd-bad-version-20090228
Jeffrey Altman [Sat, 28 Feb 2009 16:19:13 +0000 (16:19 +0000)]
window-afsd-bad-version-20090228

LICENSE MIT

create a new cpp symbol CM_SCACHE_VERSION_BAD to represent data version
values in cm_scache objects that are known to be invalid.

then consistently apply this value throughout the code.  Previously
some invalid values were set to 0 and others to -1 (0xFFFFFFFF:FFFFFFFF).

Also fix at least one location where CM_BUF_VERSION_BAD was not used.

16 years agowindows-afsd-btree-20090228
Jeffrey Altman [Sat, 28 Feb 2009 15:40:56 +0000 (15:40 +0000)]
windows-afsd-btree-20090228

LICENSE MIT

Change how BPlusDir enumerations behave with regards to bulk stat
operations.  If the number of entries in the enumeration is larger
than the number of cm_scache objects, then using the previous model
of cm_BPlusDirEnumBulkStat being called for the entire enumeration
list results in the early objects being recycled and the status
info discarded before the caller of cm_BPlusDirNextEnumEntry()
receives the name.

The revised model triggers bulk stat operations from within
NextEnumEntry() as objects requiring status fetching are about
to be returned to the caller.  This reduces the thrashing of the
stat cache.

We should consider adding a flag field to cm_BPlusDirEnumerate()
or cm_BPlusDirNextEnumEntry() to permit enumeration without
status fetching.

16 years agowindows-afsd-error-map-20090227
Jeffrey Altman [Fri, 27 Feb 2009 07:26:35 +0000 (07:26 +0000)]
windows-afsd-error-map-20090227

LICENSE MIT

do not permit VNOSERVICE or VOFFLINE or VSALVAGE to leak and
be returned as an error code.  The resulting NTSTATUS is not valid.

16 years agowindows-tests-torture-20090226
Jeffrey Altman [Thu, 26 Feb 2009 17:46:32 +0000 (17:46 +0000)]
windows-tests-torture-20090226

LICENSE MIT

fix error message

create a file of the specified size

16 years agowindows-freelance-20090223
Jeffrey Altman [Tue, 24 Feb 2009 05:06:23 +0000 (05:06 +0000)]
windows-freelance-20090223

LICENSE MIT

Fix another set of edge cases where adding a mountpoint or symlink
to the Freelance volume would result in the wrong fid being returned
to the request that made the addition.

When the Freelance directory is updated, invalidate the cm_scache_t object.
that is associated with it.

Actually use the data version when checking callback status.

The return value from Add Mount/Symlink is not negative on failure.
Its an actual error code.  Treat it that way.

16 years agowindows-getrootcellname-20090223
Jeffrey Altman [Mon, 23 Feb 2009 14:28:32 +0000 (14:28 +0000)]
windows-getrootcellname-20090223

LICENSE MIT

do not mix and match CELL_MAXNAMELEN and MAXCELLCHARS.  They are
not the same.

16 years agolibafs-tree-clean-target-20090221
Russ Allbery [Sat, 21 Feb 2009 20:51:08 +0000 (20:51 +0000)]
libafs-tree-clean-target-20090221

LICENSE IPL10

Add clean and distclean targets to the libafs_tree Makefile, based on
suggestions by jhutz.

16 years agolinux-module-build-test-configure-fix-20090221
Mike Meffie [Sat, 21 Feb 2009 15:36:39 +0000 (15:36 +0000)]
linux-module-build-test-configure-fix-20090221

LICENSE IPL10
FIXES 124381

deal when the module link warning has extra characters

16 years agowindows-smb-misc-20090220
Jeffrey Altman [Sat, 21 Feb 2009 04:26:43 +0000 (04:26 +0000)]
windows-smb-misc-20090220

LICENSE MIT

Fix smb_FindFIDByScache() to avoid obtaining the smb_fid_t.mx and
smb_rctLock out of order.  Doing so requires obtaining references
on each smb_fid_t belonging to the smb_vc_t in order to prevent them
from being removed from the list while the list is being walked.

Reorder tests for CM_SCACHEFLAG_DELETED and smb_fid_t.scp to make
them more efficient and consistent.

When processing Tran2SetPathInfo do not fail because an smb_fid_t
cannot be found for the path object.  The PathInfo function is
being used because we do not have a file descriptor.  Most importantly
do not fail by returning success.

16 years agowindows-rename-cross-dir-invalid-handle-20090220
Jeffrey Altman [Sat, 21 Feb 2009 04:19:23 +0000 (04:19 +0000)]
windows-rename-cross-dir-invalid-handle-20090220

LICENSE MIT

Problems with the cm_Rename() functions:

 * when a rename occurs across directories, the file server allocates
   a new vnode which in turn alters the FID.  Since the new FID and
   potentially version number is unknown to the client, it is not
   possible to update the target directory with the new name and
   FID thereby avoiding reading the directory from the file server.

 * when the old vnode is removed, the callback is broken but the
   client did not discard the cm_scache_t object

In order to optimize the client cache AFS requires a RXAFS_RenameEx
rpc that is equivalent to the current RPC but returns the new FID
and status.  This would permit the cache manager to relabel the
data buffers and cm_scache_t that are known to contain valid data.

16 years agoMore DKMS fixes
Russ Allbery [Fri, 20 Feb 2009 21:00:37 +0000 (13:00 -0800)]
More DKMS fixes

Add a better clean rule and make the (still commented-out) DKMS package
architecture-dependent like openafs-modules-source.

16 years agoUse the right make target for DKMS
Russ Allbery [Fri, 20 Feb 2009 20:03:42 +0000 (12:03 -0800)]
Use the right make target for DKMS

16 years agoFix the version stripping in the openafs-modules-dkms scripts
Russ Allbery [Fri, 20 Feb 2009 19:34:34 +0000 (11:34 -0800)]
Fix the version stripping in the openafs-modules-dkms scripts

16 years agosmb-vc-reset-on-request-20090218
Asanka Herath [Thu, 19 Feb 2009 04:04:24 +0000 (04:04 +0000)]
smb-vc-reset-on-request-20090218

LICENSE MIT

When processing SMB_SESSION_SETUP_ANDX in smb_ReceiveV3SessionSetupX
it is possible that the smb client might indicate that it requires an
Mpx Count greater than we are configured to support.  If so, log it
to the Windows Event Log as a warning.

It is also possible that the client might specify that its maximum
receive buffer is smaller than the SMB_PACKETSIZE.  If so, log it
to the Windows Event Log as a warning.

Finally, if the client specifies a virtual circuit number of zero,
the client thinks this is its first time communicating with us.
In which case we should invalidate all prior virtual circuits.
We also log this request to the Windows Event Log as informational.

16 years agoFinalize changes for 1.4.8.dfsg1-2 debian/1.4.8.dfsg1-2
Russ Allbery [Thu, 19 Feb 2009 00:00:13 +0000 (16:00 -0800)]
Finalize changes for 1.4.8.dfsg1-2

16 years agoMake openafs-modules-source arch: all
Russ Allbery [Wed, 18 Feb 2009 22:20:52 +0000 (14:20 -0800)]
Make openafs-modules-source arch: all

* Make openafs-modules-source architecture-specific (arch: any instead
  of arch: all).  The new method for generating the kernel source tree
  only generates correct build machinery for the architecture on which
  it was built, making the package architecture-specific.  The generated
  tree is so much smaller that this still only uses about 1MB of archive
  space more than the old method and makes each openafs-modules-source
  package much smaller.  This is a workaround until we can fix
  libafs_tree to include enough build machinery to handle all Linux
  architectures from one source tree.  (Closes: #516023)

16 years agoRemove *-stamp files in the module build
Russ Allbery [Wed, 18 Feb 2009 21:48:49 +0000 (13:48 -0800)]
Remove *-stamp files in the module build

* Explicitly remove *-stamp files in the clean target of the module
  build until the module build is upgraded to debhelper 7.

16 years agowindows-64bit-printf-sanity-20090218
Simon Wilkinson [Wed, 18 Feb 2009 17:48:39 +0000 (17:48 +0000)]
windows-64bit-printf-sanity-20090218

LICENSE IPL10
FIXES 124265

don't assume %lld works for 64 bit ints on windows

16 years agovos-increment-offline-count-20090218
Peter Tripician [Wed, 18 Feb 2009 17:27:59 +0000 (17:27 +0000)]
vos-increment-offline-count-20090218

LICENSE IPL10
FIXES 124333

increment offline volume count, not pointer to it

16 years agovldb-check-no-bogus-shadow-decl-20090217
Derrick Brashear [Tue, 17 Feb 2009 14:34:18 +0000 (14:34 +0000)]
vldb-check-no-bogus-shadow-decl-20090217

LICENSE IPL10

unfussy compilers treat this as a shadow declare; others thankfully as an error

16 years agoaklog-524-vars-20090216
Derrick Brashear [Tue, 17 Feb 2009 14:27:48 +0000 (14:27 +0000)]
aklog-524-vars-20090216

LICENSE IPL10

add missing variables

16 years agovclosevnodefiles-ihandle-leak-20090216
Jeffrey Altman [Tue, 17 Feb 2009 04:37:27 +0000 (04:37 +0000)]
vclosevnodefiles-ihandle-leak-20090216

LICENSE IPL10
FIXES 124359

don't leak ihandles on close. this isn't a complete fix for the issue

16 years agobozo-corefile-timestamp-fix-20090216
Peter Tripician [Tue, 17 Feb 2009 04:32:08 +0000 (04:32 +0000)]
bozo-corefile-timestamp-fix-20090216

LICENSE IPL10
FIXES 124340

output y2k-correct corefile names

16 years agoaklog-use-native-principal-conversion-20090216
Evan Broder [Tue, 17 Feb 2009 04:28:53 +0000 (04:28 +0000)]
aklog-use-native-principal-conversion-20090216

LICENSE IPL10
FIXES 124338

use krb5_524_conv_principal instead of doing it potentially wrong ourselves

16 years agomacos-10-6-support-20090216
Chas Williams [Tue, 17 Feb 2009 04:25:10 +0000 (04:25 +0000)]
macos-10-6-support-20090216

LICENSE IPL10
FIXES 124288

support for (32 bit) macos 10.6. no pam yet

16 years agovldb-check-meaningful-return-codes-20090216
Steven Jenkins [Tue, 17 Feb 2009 04:16:56 +0000 (04:16 +0000)]
vldb-check-meaningful-return-codes-20090216

LICENSE IPL10
FIXES 124321

make vldb_check have meaningful return codes

16 years agofs-lsm-parse-bug-20090226
Peter Tripician [Tue, 17 Feb 2009 03:59:28 +0000 (03:59 +0000)]
fs-lsm-parse-bug-20090226

LICENSE IPL10
FIXES 124319

print correct error on root directory

16 years agolinux26-bogus-param-define-20090216
Marc Dionne [Tue, 17 Feb 2009 03:43:37 +0000 (03:43 +0000)]
linux26-bogus-param-define-20090216

LICENSE IPL10
FIXES 124324

remove orphaned define

16 years agoredhat-rpms-kernel24-20090216
Tony D'Amato [Tue, 17 Feb 2009 03:29:22 +0000 (03:29 +0000)]
redhat-rpms-kernel24-20090216

LICENSE IPL10
FIXES 102673

rewrite make rule for 2.4 kernels

16 years agorx-head-build-error-20090216
Marc Dionne [Tue, 17 Feb 2009 03:23:27 +0000 (03:23 +0000)]
rx-head-build-error-20090216

LICENSE IPL10
FIXES 124323

include header so mutex&atomic macros exist

16 years agoFinalize changes for 1.4.8.dfsg1-1 debian/1.4.8.dfsg1-1
Russ Allbery [Tue, 17 Feb 2009 01:14:37 +0000 (17:14 -0800)]
Finalize changes for 1.4.8.dfsg1-1

16 years agoComment out DKMS support for right now
Russ Allbery [Mon, 16 Feb 2009 21:34:38 +0000 (13:34 -0800)]
Comment out DKMS support for right now

This will be renabled once the dkms package is available in Debian.

17 years agoFix syntax error in the openafs-client init script
Russ Allbery [Fri, 13 Feb 2009 22:39:01 +0000 (14:39 -0800)]
Fix syntax error in the openafs-client init script

17 years agoFix the clean rule for the module build
Russ Allbery [Fri, 13 Feb 2009 20:50:14 +0000 (12:50 -0800)]
Fix the clean rule for the module build

libafs_tree doesn't support make clean or make distclean, so add clean
rules directly to debian/module/rules.

17 years agoNo longer include the upstream NEWS in the module package
Russ Allbery [Fri, 13 Feb 2009 20:30:58 +0000 (12:30 -0800)]
No longer include the upstream NEWS in the module package

17 years agoDon't use make install for the module build
Russ Allbery [Fri, 13 Feb 2009 19:40:41 +0000 (11:40 -0800)]
Don't use make install for the module build

make install requires pinstall, which we don't copy over with libafs_tree.
Just copy the built module out of the build directory and simplify life.

17 years agoUse the right make target for building the kernel module
Russ Allbery [Fri, 13 Feb 2009 19:18:29 +0000 (11:18 -0800)]
Use the right make target for building the kernel module

Now that we're using make libafs_tree, the kernel module should build
with a simple make.

17 years agoFurther tweaks for the module source packages
Russ Allbery [Fri, 13 Feb 2009 18:34:47 +0000 (10:34 -0800)]
Further tweaks for the module source packages

Ensure that config.sub and make_vnode.pl are executable before building
the source package.  Don't include the debian directory in the DKMS
package.

17 years agoUse make libafs_tree to create the kernel source
Russ Allbery [Fri, 13 Feb 2009 17:42:23 +0000 (09:42 -0800)]
Use make libafs_tree to create the kernel source

* Use make libafs_tree to generate the tree for the kernel module
  compile rather than copying the entire source tree.

17 years agoUpdate translations for the template removal
Russ Allbery [Fri, 13 Feb 2009 17:30:50 +0000 (09:30 -0800)]
Update translations for the template removal

17 years agoFix creation of the openafs-modules-* packages
Russ Allbery [Fri, 13 Feb 2009 03:40:45 +0000 (19:40 -0800)]
Fix creation of the openafs-modules-* packages

Also remove server documentation from openafs-modules-source and add
the README to openafs-modules-dkms, and remove DH_OPTIONS from
debian/rules since it's no longer needed.

17 years agoFix the sed command for generating dkms.conf
Russ Allbery [Fri, 13 Feb 2009 03:19:22 +0000 (19:19 -0800)]
Fix the sed command for generating dkms.conf

17 years agoGeneral improvements to debconf configuration handling
Russ Allbery [Fri, 13 Feb 2009 02:02:30 +0000 (18:02 -0800)]
General improvements to debconf configuration handling

* General improvements to debconf configuration handling.
  - Do not abort the config script if we have no default realm and
    dnsdomainname fails.  (LP: #274886, #318132)
  - Do not abort postinst if we can't resolve any host name for the
    cell.  Just continue in that case, omitting any configuration for
    the local cell.  (LP: #322054)
  - Correctly set the default for AFS_CRYPT from the existing config.
  - The cache size is high, not critical, since we have a default.
  - Don't create the client ThisCell if no local cell was specified.
  - Improve the leading comment in afs.conf.client.  Users can edit it,
    but any changes other than the setting values will be lost.
  - Remove the openafs-fileserver/bosconfig_moved template, which would
    only be shown on upgrades from pre-1.2.0 versions.
  - Standardize coding style and always quote strings.

17 years agoDon't exit successfully if sourcing the debconf module fails
Russ Allbery [Fri, 13 Feb 2009 01:27:03 +0000 (17:27 -0800)]
Don't exit successfully if sourcing the debconf module fails

* Abort the config script rather than exiting successfully if the
  debconf shell module is not available.  The config script should never
  be run in the absence of debconf, so if this fails, something deeper
  is wrong and we shouldn't blindly continue.

17 years agoAdd initial DKMS support and compress module source with bzip2
Russ Allbery [Fri, 13 Feb 2009 01:24:57 +0000 (17:24 -0800)]
Add initial DKMS support and compress module source with bzip2

* Add initial DKMS support via an openafs-modules-dkms package, based on
  work by Robert Gerlach.  (LP: #288743)
* Compress the source in openafs-modules-source with bzip2 instead of
  gzip to reduce the package size.

17 years agoFix openafs-client Lintian override
Russ Allbery [Fri, 13 Feb 2009 00:20:33 +0000 (16:20 -0800)]
Fix openafs-client Lintian override

17 years agoCreate the openafs-modules-source doc directory
Russ Allbery [Thu, 12 Feb 2009 22:39:50 +0000 (14:39 -0800)]
Create the openafs-modules-source doc directory

17 years agowindows-smb-fidp-scp-race-20090212
Jeffrey Altman [Thu, 12 Feb 2009 21:44:47 +0000 (21:44 +0000)]
windows-smb-fidp-scp-race-20090212

LICENSE MIT
FIXES 124293

As evident in a crash dump, there is a race surrounding access to the
scp field of the smb_fid_t object.  Not all access was protected by
the smb_fid_t mx and the cm_scache_t object was not always being
reference counted within the accessing function.

This patch ensures that all initial references to the scp object
are performed under the smb_fid_t mx mutex and that the cm_scache_t
is prevented from being recycled by obtaining a local reference.

Finally, CM_ERROR_BADFD is returned as an error if a request begins
after the smb_fid_t scp field has already been cleared by a smb_CloseFID()
call as part of a concurrent request.

17 years agowindows-vmoved-vnovol-failover-20090212
Jeffrey Altman [Thu, 12 Feb 2009 21:30:03 +0000 (21:30 +0000)]
windows-vmoved-vnovol-failover-20090212

LICENSE MIT
FIXES 124276

A readonly volume with multiple instances was being marked alldown
when one of the instances resulted in VNOVOL because the vldb and
the indicated file server were out of sync.  The cache manager would
then attempt to re-obtain the volume location info from the vldb
for the entire timeout period.

This patch:

adds trace logging to cm_Analyze indicating which server references
are being deleted and which remain in response to a VNOVOL/VMOVED error.

adds trace logging to cm_UpdateVolumeStatusInt showing how the
new volume status value is determined.

corrects cm_Analyze() so that it doesn't corrupt the server reference
list during cm_FreeServerList() calls; doesn't orphan the server reference
list by setting *serverpp to NULL; and only re-obtains the volume info
list once per request.

17 years agoFirst cut at debhelper 7 support
Russ Allbery [Thu, 12 Feb 2009 21:23:20 +0000 (13:23 -0800)]
First cut at debhelper 7 support

* Update to debhelper compatibility level V7.
  - Use dh where possible in debian/rules.
  - Use dh_lintian to install Lintian overrides.
  - Eliminate the configure target and do all the work in build.
  - Do more in the install target and less in binary, matching the
    default command stacks in dh.
  - Use a debian/clean configuration file to let dh clean do more of the
    work rather than using rm commands in debian/rules.

17 years agoUse set -e instead of #!/bin/sh -e in maintainer scripts
Russ Allbery [Thu, 12 Feb 2009 20:32:57 +0000 (12:32 -0800)]
Use set -e instead of #!/bin/sh -e in maintainer scripts

17 years agoAdd explanations for the Lintian overrides
Russ Allbery [Thu, 12 Feb 2009 20:30:28 +0000 (12:30 -0800)]
Add explanations for the Lintian overrides

17 years agoAdd ${misc:Depends} to all dependencies
Russ Allbery [Thu, 12 Feb 2009 20:27:19 +0000 (12:27 -0800)]
Add ${misc:Depends} to all dependencies

17 years agoInstall additional upstream man pages
Russ Allbery [Thu, 12 Feb 2009 19:24:29 +0000 (11:24 -0800)]
Install additional upstream man pages

17 years agoApply upstream STABLE14-rx-do-not-race-current-packet-20090105
Russ Allbery [Thu, 12 Feb 2009 19:06:08 +0000 (11:06 -0800)]
Apply upstream STABLE14-rx-do-not-race-current-packet-20090105