]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
16 years agoRemove incorrect return call in shutdown_icl() introduced by b7198421
Russ Allbery [Tue, 1 Dec 2009 00:53:57 +0000 (16:53 -0800)]
Remove incorrect return call in shutdown_icl() introduced by b7198421

16 years agoFinalize changes for 1.4.11+dfsg-6
Russ Allbery [Tue, 1 Dec 2009 00:33:19 +0000 (16:33 -0800)]
Finalize changes for 1.4.11+dfsg-6

16 years agoCorrectly state what symbols openafs-dbg contains
Russ Allbery [Tue, 1 Dec 2009 00:32:37 +0000 (16:32 -0800)]
Correctly state what symbols openafs-dbg contains

* Fix the openafs-dbg dependencies and package description to reflect
  its inclusion of debugging symbols for all server binaries in
  openafs-fileserver and openafs-dbserver, but not the legacy PAM
  modules.

16 years agoDon't say that the empty Ubuntu debug symbols will be fixed
Russ Allbery [Tue, 1 Dec 2009 00:27:57 +0000 (16:27 -0800)]
Don't say that the empty Ubuntu debug symbols will be fixed

The problem appears to be with dh_strip --dbg-package, rather than with
the flags that were passed to configure.

16 years agoForce source package format 1.0
Russ Allbery [Tue, 1 Dec 2009 00:14:28 +0000 (16:14 -0800)]
Force source package format 1.0

* In anticipation of a change in dpkg-source's defaults, force source
  package format 1.0.  The package is maintained using Git and
  generating a proper quilt series is complex and relatively pointless
  work, so the additional complexity of the 3.0 format is currently not
  that useful.

16 years agoFix configure flags used for debugging and optimization
Russ Allbery [Tue, 1 Dec 2009 00:06:36 +0000 (16:06 -0800)]
Fix configure flags used for debugging and optimization

* Fix configure flags used for enabling or disabling LWP and kernel
  debugging flags and always pass --disable-strip-binaries.  Hopefully
  fixes the empty debugging symbols on Ubuntu.  (LP: #370612)

16 years agoDo not attempt a DKMS build if the headers aren't available
Russ Allbery [Mon, 30 Nov 2009 23:15:59 +0000 (15:15 -0800)]
Do not attempt a DKMS build if the headers aren't available

* Do not attempt to build the kernel module with DKMS if the appropriate
  Linux headers aren't installed.  Based on code from the common DKMS
  postinst script (which we'll just use once it's reliably available).
  Thanks, Anders Kaseorg.  (LP: #487535)

16 years agoAdd changelog entry for new upstream deltas
Russ Allbery [Mon, 30 Nov 2009 22:50:56 +0000 (14:50 -0800)]
Add changelog entry for new upstream deltas

16 years agoAvoid IHandle leak when failing to attach volume
Rainer Toebbicke [Fri, 27 Nov 2009 14:03:25 +0000 (15:03 +0100)]
Avoid IHandle leak when failing to attach volume

When a volume fails to attach, ensure it's volume handles
get released before all traces of it are erased. Failure to do so
might cause problems once the volume is salvaged and re-attached.
VReleaseVolumeHandles_r is moved to FreeVolume and no longer called separately.

Change-Id: I2366f13fd9daa6eb8ce3b4240bb1534f14f706c4
Reviewed-on: http://gerrit.openafs.org/874
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoCheck for (hostFlags & HOSTDELETED) after h_Lock_r
Jeffrey Altman [Fri, 23 Oct 2009 14:54:35 +0000 (09:54 -0500)]
Check for (hostFlags & HOSTDELETED) after h_Lock_r

Many callers of h_Lock_r do not check if the HOSTDELETED flag is set,
even though it could have been set while waiting for the host lock. Add
checks for it everywhere we call h_Lock_r and we care if the host has
been deleted.

FIXES 125507

Reviewed-on: http://gerrit.openafs.org/716
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit cbe580fee176c9e9e083379129c309fd15d0f24c)

Change-Id: I5eacee7a33f7b1357ec13cfcc4e1b7b4538837f6
Reviewed-on: http://gerrit.openafs.org/776
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoAdd array bounds checking in h_Enumerate
Dan Hyde [Thu, 29 Oct 2009 16:07:47 +0000 (12:07 -0400)]
Add array bounds checking in h_Enumerate

When hostList is not properly NULL-terminated, the current code does
not protect from buffer overflow.  The following patch prevents buffer
overflow, prints a message, and asserts.

On our Linux hosts, we never reached the original assert, as there is
a problem handling the segfault the buffer overflow causes.

FIXES 125506

Reviewed-on: http://gerrit.openafs.org/757
Reviewed-by: Dan Hyde <drh@umich.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 93d48b1735b88b3051357307bdbebf5da9872d69)

Change-Id: Idb920d2bd309b40ae9bebc6972e614ddf9ba8dcc
Reviewed-on: http://gerrit.openafs.org/862
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agovolser transaction object race conditions
Michael Meffie [Wed, 18 Nov 2009 15:07:14 +0000 (10:07 -0500)]
volser transaction object race conditions

Fix the transaction object races between VolMonitor and the
volume operation procedures which can cause the volume
server to crash.

Add a per transaction object mutex to safely set the
transaction call pointer and name. Fix VolMonitor to safely
traverse the transaction list and to access the call pointer
and last proc name while copying info to send to the vos
client.  Fix the sleep thread to safely access the last proc
name.

FIXES 125479

Change-Id: I6dffa31a84d98249712dd17aad353f99151b4fd5
Reviewed-on: http://gerrit.openafs.org/619
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoMake ktc_curpag also detect ONEGROUP PAG gids
Andrew Deason [Wed, 11 Nov 2009 17:23:49 +0000 (11:23 -0600)]
Make ktc_curpag also detect ONEGROUP PAG gids

ktc_curpag falls back to looking at the group list if the VIOC_GETPAG
pioctl fails. If we're in AFS_LINUX26_ONEGROUP_ENV in the kernel,
though, ktc_curpag still looks for two groups, instead of the one
combined group. Add a check for the big one group in the fallback if
we're on LINUX26.

Reviewed-on: http://gerrit.openafs.org/815
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c53abbb3e8d14643f3f82999cbe24fb12d358ce0)

Change-Id: I771d90546b1aec9f3e84a56a5b6a465e18b1241a
Reviewed-on: http://gerrit.openafs.org/853
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoClean up console message
Simon Wilkinson [Mon, 26 Oct 2009 12:49:11 +0000 (12:49 +0000)]
Clean up console message

Clean up the 'all buffers locked' console message so that it's
clear that it comes from AFS, and so it has a trailing newline.

From a bug report by Rainer Toebbicke to openafs-info

Change-Id: I3f69e57e37a91ae3e6e8822ccfe72dddc06b4359
Reviewed-on: http://gerrit.openafs.org/732
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 4a006f167bf6fe550eac9c96c6fce1f538760709)
Reviewed-on: http://gerrit.openafs.org/823
Reviewed-by: Dan Hyde <drh@umich.edu>
16 years agocm: address race condition in afs_QueueVCB
Michael Meffie [Mon, 9 Nov 2009 21:28:33 +0000 (16:28 -0500)]
cm: address race condition in afs_QueueVCB

Access the vcache callback member after taking
the xvcb lock to avoid the server object from
being freed in FlushServer on another thread.

Eventually, we should have a ref count on
avc->server.

FIXES 125596

Change-Id: I9328a0b3e372353b7812d6e9f2cbea44655a3d58
Reviewed-on: http://gerrit.openafs.org/817
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
16 years agoDo not check *aoutSize in PGetPAG
Andrew Deason [Wed, 11 Nov 2009 16:51:19 +0000 (10:51 -0600)]
Do not check *aoutSize in PGetPAG

*aoutSize is always zero in pioctls, since afs_HandlePioctl handles
checking the output buffer size, and sets outSize to 0 before calling
the pioctl. So, PGetPAG was always returning E2BIG; remove the check to
make it work.

Reviewed-on: http://gerrit.openafs.org/814
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 97d3fcfcd1617bafa6ee62d291f09b2e8bb6daf7)

Change-Id: Icc401904c26027e235ec869e834297861a640d39
Reviewed-on: http://gerrit.openafs.org/816
Reviewed-by: Dan Hyde <drh@umich.edu>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoFix memory allocation warnings at shutdown
Marc Dionne [Sat, 31 Oct 2009 12:54:52 +0000 (08:54 -0400)]
Fix memory allocation warnings at shutdown

At shutdown we check for unfreed memory allocated with AllocSmallSpace
and AllocLargeSpace and complain in the syslog if there are dangling
pieces.  This patch takes care of a few cases that always showed up
as warnings, even after a simple start-stop of the client.

- The cacheInode file needs to be closed before the checks, since it
uses a large piece for its struct file.

- The ICL logging code allocates 6 small pieces that are never freed.
Add a shutdown_icl() function that releases everything.  While we're
at it, correct one place where we allocated with afs_osi_Alloc but
freed with osi_FreeSmallSpace, confusing our accounting.

Change-Id: I4c28c848f155dec9d89e6199cde34209227ca5c9
Reviewed-on: http://gerrit.openafs.org/758
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-on: http://gerrit.openafs.org/767

16 years agoLinux: Fix write_begin configure test for recent RHEL kernels
Marc Dionne [Sat, 31 Oct 2009 17:27:18 +0000 (13:27 -0400)]
Linux: Fix write_begin configure test for recent RHEL kernels

Recent RHEL kernels now define simple_write_begin, which was used as
a test for the write_begin address_space op.  This makes the test
succeed when it shouldn't, and breaks the build.
Rewrite the test to actually check the address_space operation.

Change-Id: Idac9b318ff716b61bf8ca4508d2dbdbfbad5b50d
Reviewed-on: http://gerrit.openafs.org/759
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-on: http://gerrit.openafs.org/766
Tested-by: Derrick Brashear <shadow@dementia.org>
16 years agoChange section of openafs-modules-dkms to kernel to match override
Russ Allbery [Wed, 4 Nov 2009 07:27:57 +0000 (23:27 -0800)]
Change section of openafs-modules-dkms to kernel to match override

16 years agoFinalize changes for 1.4.11+dfsg-5 debian/1.4.11+dfsg-5
Russ Allbery [Wed, 4 Nov 2009 06:27:44 +0000 (22:27 -0800)]
Finalize changes for 1.4.11+dfsg-5

16 years agoRemove the openafs module from DKMS if necessary before adding
Russ Allbery [Wed, 4 Nov 2009 05:44:55 +0000 (21:44 -0800)]
Remove the openafs module from DKMS if necessary before adding

* In the postinst of openafs-modules-dkms, if the openafs module is
  already added in DKMS, try to remove it first before adding it.  This
  should more correctly handle the case of a user installing this
  package without the correct kernel headers, having it fail in
  postinst, and then installing the correct headers and having dpkg
  attempt to configure the package again.  Thanks, Philipp Kaluza.
  (Closes: #553542)

16 years agoComment the remove on upgrade in the dkms package prerm
Russ Allbery [Wed, 4 Nov 2009 05:44:38 +0000 (21:44 -0800)]
Comment the remove on upgrade in the dkms package prerm

16 years agoAdd changelog for applied upstream deltas
Russ Allbery [Wed, 4 Nov 2009 05:15:43 +0000 (21:15 -0800)]
Add changelog for applied upstream deltas

16 years agoMake ktc_curpag generally available
Russ Allbery [Sun, 12 Jul 2009 18:26:03 +0000 (11:26 -0700)]
Make ktc_curpag generally available

ktc_curpag isn't specific to a Kerberos v4 environment, so move it outside
the AFS_KERBEROS_ENV #ifdef.  Add it to the auth.h header and to the
exports from the shared libafsauthent.

FIXES 125155

Reviewed-on: http://gerrit.openafs.org/64
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit cd37fd33f70c2196ff64188e32ff759590cb3748)
Reviewed-on: http://gerrit.openafs.org/208
Tested-by: Derrick Brashear <shadow@dementia.org>
16 years agoAdd automatic sysname detection for ARM Linux
Russ Allbery [Sat, 22 Aug 2009 01:37:41 +0000 (18:37 -0700)]
Add automatic sysname detection for ARM Linux

Add arm*-linux* to the case statement that attempts to automatically
determine the AFS sysname, similar to the other Linux sysname
determination cases.

Reviewed-on: http://gerrit.openafs.org/334
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit a59df36211d6bc641eeec6d8fd8876a98ce3600a)
Reviewed-on: http://gerrit.openafs.org/462

16 years agoLinux - Fix disk cache access for selinux/AppArmor constrained processes
Marc Dionne [Wed, 28 Oct 2009 21:54:32 +0000 (17:54 -0400)]
Linux - Fix disk cache access for selinux/AppArmor constrained processes

Preserve the credentials used for cache initialisation and use then
whenever disk cache files are opened.  This takes advantage of the
credentials separation work from David Howells available in kernels
2.6.29 and above.
Access to cache files was done under the security context of the
user process, causing processes constrained by selinux or AppArmor to
fail to access AFS cache files and causing the cache manager to panic.

Besides the RT tickets, should also fix the following Ubuntu bugs:
 415766 429260 457779 459299

FIXES 92944,125544

Change-Id: Ief8acd65c1a3e4d8c951f80bfd65f8340b8cec34
Reviewed-on: http://gerrit.openafs.org/752
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-on: http://gerrit.openafs.org/774

16 years agoAvoid using released hosts
Andrew Deason [Wed, 28 Oct 2009 16:06:47 +0000 (11:06 -0500)]
Avoid using released hosts

Since h_Release_r has the possibility of freeing a host, we should not
be using a host after it has been released. A few places can still use a
released host, potentially causing heap corruption, double frees, and
generally weird behavior.

So either move calls of h_Release_r until after we finish using a host,
or make sure to set the pointer to NULL after it has been released.

Reviewed-on: http://gerrit.openafs.org/747
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Dan Hyde <drh@umich.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 416e2f11c35f5d55f91090b30b4db1a9bf6d6e07)

Change-Id: I91bd09c3e6d87476de8c66c2eb710c0fd424cadd
Reviewed-on: http://gerrit.openafs.org/762
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoProtect rx_call iovq from simultaneous attempts to empty it
Jeffrey Altman [Mon, 27 Jul 2009 16:54:16 +0000 (12:54 -0400)]
Protect rx_call iovq from simultaneous attempts to empty it

The iovq queue is not safe to clear without holding the call lock.

FIXES 125110

LICENSE BSD

Reviewed-on: http://gerrit.openafs.org/242
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Hans-Werner Paulsen <hans@MPA-Garching.MPG.DE>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 4dadd24ba8ce72fd655e29d74801f27e9e148b01)
Change-Id: Ifdb1f420f07f9c55d56fe24899e3a040a77db6a9
Reviewed-on: http://gerrit.openafs.org/763
Tested-by: Andrew Deason <adeason@sinenomine.net>
16 years agoLinux: Avoid deadlock in readdir - release GLOCK for filldir
Marc Dionne [Sun, 1 Nov 2009 21:03:17 +0000 (16:03 -0500)]
Linux: Avoid deadlock in readdir - release GLOCK for filldir

The GLOCK is held while calling the filldir function in afs_linux_readdir().
If this function causes a page fault, and in particular if this fault
involves AFS, we're in trouble as we'll eventually deadlock in the
readpage code.
A simple test case for this is to call the getdents syscall on an
AFS directory with a buffer that is part of an mmaped AFS file.

This is already the case in the master branch; the change was part of
the merge of the NFS translator code.

FIXES 125555

Change-Id: I829838e45f94921d22335154587216f7842e3955
Reviewed-on: http://gerrit.openafs.org/760
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoLinux: 2.6.32 - Adapt to writeback changes
Marc Dionne [Thu, 17 Sep 2009 20:57:52 +0000 (16:57 -0400)]
Linux: 2.6.32 - Adapt to writeback changes

Adapt to the writeback changes in kernel 2.6.32
- Since we define our own backing_dev, it needs to be registered with
the writeback code and attached to the super_block.  Otherwise it
might get ignored when writeback is needed.
- Each backing_dev now gets its own kernel thread.  The name of the
thread is based on the registered name - the openafs one will appear
as "flush-afs".

Reviewed-on: http://gerrit.openafs.org/574
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Change-Id: Ib1403a65991fc7c2cb73099feef7e0dbec02543d
Reviewed-on: http://gerrit.openafs.org/755

16 years agoAvoid prematurely destroying callback_rxcon
Andrew Deason [Thu, 22 Oct 2009 16:12:30 +0000 (11:12 -0500)]
Avoid prematurely destroying callback_rxcon

Currently, h_GetHost_r and removeAddress_r can destroy the
callback_rxcon of a host. Having a NULL callback_rxcon can cause
segfaults in code that does not properly check if a host has been
HOSTDELETED before trying to use it.

Although such code is incorrect and should be fixed, we can still avoid
a segfault in those situations by not destroying callback_rxcon until we
destroy the host itself. This just prevents destroying callback_rxcon in
h_GetHost_r and removeAddress_r, leaving it to h_TossStuff_r to destroy
when it destroys the host.

Reviewed-on: http://gerrit.openafs.org/717
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit bbcfbe1a04eda9e75b1643be88cf9d4842a8aa86)

Change-Id: I4d44fca9b79b656bc70f8108616f23f2dfaa353f
Reviewed-on: http://gerrit.openafs.org/749
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoMake afsd.pod reflect reality
Simon Wilkinson [Wed, 28 Oct 2009 11:12:18 +0000 (11:12 +0000)]
Make afsd.pod reflect reality

9d396c4916fdac64fcface30e6637ca6e2911203 (from 2005) introduced
autotuning for afsd, and changed some of the defaults which aren't
autotuned. Update the afsd man page to reflect the autotuning, and
the new defaults.

Change-Id: Iea2035743cb45cca1c249bc2e838405039ad7d3a
Reviewed-on: http://gerrit.openafs.org/744
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoAlso change the source package name in the module changelog file debian/1.4.11+dfsg-4
Russ Allbery [Thu, 1 Oct 2009 01:05:09 +0000 (18:05 -0700)]
Also change the source package name in the module changelog file

* When changing the name of the source package built by
  openafs-modules-source, we need to change the package name in the
  changelog as well or dpkg-gencontrol explodes.  Thanks, Aaron M.
  Ucko.  (Closes: #549140)

16 years agoFinalize changes for 1.4.11+dfsg-3 debian/1.4.11+dfsg-3
Russ Allbery [Tue, 29 Sep 2009 22:35:09 +0000 (15:35 -0700)]
Finalize changes for 1.4.11+dfsg-3

16 years agoviced cap fetchdata len to avoid negative
Derrick Brashear [Fri, 25 Sep 2009 11:15:40 +0000 (07:15 -0400)]
viced cap fetchdata len to avoid negative

when trying to read from a short or zero length file,
it's possible for sanity checking to knock the length below
zero. set a floor at zero.

Reviewed-on: http://gerrit.openafs.org/494
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 529d487d65d8561f5d0a43a4dc71f72b86efd975)
Reviewed-on: http://gerrit.openafs.org/500

16 years agoh_GetHost_r cleanup cases
Russ Allbery [Sat, 26 Sep 2009 07:50:54 +0000 (00:50 -0700)]
h_GetHost_r cleanup cases

avoid potentially leaking a cb_in or a capabilities blob;
use a common exit function and free when these were left set.

Reviewed-on: http://gerrit.openafs.org/496
Tested-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 5d765426e597c60228e66bddaa21bf2453c74a85)
Reviewed-on: http://gerrit.openafs.org/497
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoAdd changelog for additional upstream deltas
Russ Allbery [Tue, 29 Sep 2009 22:10:38 +0000 (15:10 -0700)]
Add changelog for additional upstream deltas

16 years agoAdd changelog for additional upstream deltas
Russ Allbery [Tue, 15 Sep 2009 00:48:35 +0000 (17:48 -0700)]
Add changelog for additional upstream deltas

16 years agoInit the vrequest structure correctly
Rainer Toebbicke [Mon, 14 Sep 2009 11:53:56 +0000 (12:53 +0100)]
Init the vrequest structure correctly

Init the vrequest structure correctly

FIXES 125355
(1.4.x only)

afs_InitReq fails to initialize the "flags" field of the vrequest structure.

Consequently the logic involving (flags & O_NONBLOCK) in afs_Analyze leads to
unpredictable results. afs_InitReq should initialize the complete vrequest
structure.

Reviewed-on: http://gerrit.openafs.org/457
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agofileserver should actually retry VL_RegisterAddrs on failure
Derrick Brashear [Mon, 3 Aug 2009 20:17:14 +0000 (16:17 -0400)]
fileserver should actually retry VL_RegisterAddrs on failure

fileserver should actually retry VL_RegisterAddrs on failure

currently the background daemon logic for retrying was never triggered.
easy enough fix: set FS_registered to 1 so the loop retries

Reviewed-on: http://gerrit.openafs.org/266
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 years agoMinor coding style fixes for openafs-fileserver postinst
Russ Allbery [Sat, 22 Aug 2009 19:16:40 +0000 (12:16 -0700)]
Minor coding style fixes for openafs-fileserver postinst

16 years agoChange /var/lib/openafs/local permissions to 700
Russ Allbery [Sat, 22 Aug 2009 19:07:03 +0000 (12:07 -0700)]
Change /var/lib/openafs/local permissions to 700

* Change the permissions of /var/lib/openafs/local to 0700 to match
  upstream defaults.  This directory contains the fssync.sock file used
  for coordination between the fileserver and the volserver, and
  commands sent to that socket are not authenticated.  Linux protects
  the socket from unprivileged writes by default, but other operating
  systems do not.  Upstream therefore wants this directory to be 0700
  and bosserver will complain by default if it's not.  Changing the
  permissions let us drop a patch to bosserver.

16 years agoChange the source package name of the module source
Russ Allbery [Sat, 22 Aug 2009 18:10:20 +0000 (11:10 -0700)]
Change the source package name of the module source

* Change the source package name of the stripped package generated by
  openafs-modules-source so that, should someone build a Debian source
  package from it, it won't have the same name as the main openafs
  source package.

16 years agoApply various updates to the correct module control file
Russ Allbery [Sat, 22 Aug 2009 18:08:12 +0000 (11:08 -0700)]
Apply various updates to the correct module control file

* Fix the second module control file for the standards version, section,
  and maintainer update.

16 years agoFinalize changes for 1.4.11+dfsg-2 debian/1.4.11+dfsg-2
Russ Allbery [Sat, 22 Aug 2009 03:09:11 +0000 (20:09 -0700)]
Finalize changes for 1.4.11+dfsg-2

16 years agoAlso install restorevol in openafs-client
Russ Allbery [Sat, 22 Aug 2009 01:27:32 +0000 (18:27 -0700)]
Also install restorevol in openafs-client

16 years agoAdd bug closer for armv5tel support
Russ Allbery [Thu, 20 Aug 2009 21:49:30 +0000 (14:49 -0700)]
Add bug closer for armv5tel support

16 years agoUpdate to standards version 3.8.3
Russ Allbery [Thu, 20 Aug 2009 21:48:18 +0000 (14:48 -0700)]
Update to standards version 3.8.3

* Update standards version to 3.8.3.
  - Change section of packages generated by openafs-modules-source to
    kernel.
  - Add Homepage to packages generated by openafs-modules-source.

16 years agoSwap maintainers in the module source package
Russ Allbery [Thu, 20 Aug 2009 21:43:24 +0000 (14:43 -0700)]
Swap maintainers in the module source package

* Swap maintainer and uploaders in the packaging files for the module
  source package, matching the main package.

16 years agoChangelog for armv5tel change, similar change for module package
Russ Allbery [Thu, 20 Aug 2009 21:41:57 +0000 (14:41 -0700)]
Changelog for armv5tel change, similar change for module package

Add changelog entry for Danial Bayer's armv5tel support patch.  Make
the similar change to the module packaging files.

16 years agoadd armv5tel to sysname
Daniel Bayer [Tue, 18 Aug 2009 22:44:23 +0000 (00:44 +0200)]
add armv5tel to sysname

16 years agoMerge commit 'upstream/1.4.11+dfsg' debian/1.4.11+dfsg-1
Russ Allbery [Fri, 10 Jul 2009 21:01:31 +0000 (14:01 -0700)]
Merge commit 'upstream/1.4.11+dfsg'

16 years agoImported Upstream version 1.4.11+dfsg upstream/1.4.11+dfsg
Russ Allbery [Fri, 10 Jul 2009 21:01:15 +0000 (14:01 -0700)]
Imported Upstream version 1.4.11+dfsg

16 years agoAdd initial changelog entry for 1.4.11+dfsg-1
Russ Allbery [Fri, 10 Jul 2009 21:00:27 +0000 (14:00 -0700)]
Add initial changelog entry for 1.4.11+dfsg-1

16 years agoFinalize changes for 1.4.11~pre3+dfsg-1 debian/1.4.11.pre3+dfsg-1
Russ Allbery [Sat, 4 Jul 2009 22:20:18 +0000 (15:20 -0700)]
Finalize changes for 1.4.11~pre3+dfsg-1

16 years agoDon't install fs man pages for Windows-only commands
Russ Allbery [Sat, 4 Jul 2009 21:36:21 +0000 (14:36 -0700)]
Don't install fs man pages for Windows-only commands

* Don't install man pages for fs command variants that are only
  available on Windows.

16 years agoUpdate CellServDB to 2009-06-29 version
Russ Allbery [Sat, 4 Jul 2009 21:32:50 +0000 (14:32 -0700)]
Update CellServDB to 2009-06-29 version

16 years agoBring src/config/linux-version closer to upstream
Russ Allbery [Sat, 4 Jul 2009 21:31:19 +0000 (14:31 -0700)]
Bring src/config/linux-version closer to upstream

* Bring src/config/linux-version closer to upstream since upstream now
  handles unversioned source directories.  There is one remaining change
  required to search for UTS_RELEASE in the correct header path.

16 years agoMerge commit 'upstream/1.4.11.pre3'
Russ Allbery [Sat, 4 Jul 2009 21:25:26 +0000 (14:25 -0700)]
Merge commit 'upstream/1.4.11.pre3'

16 years agoImported Upstream version 1.4.11~pre3 upstream/1.4.11.pre3+dfsg
Russ Allbery [Sat, 4 Jul 2009 21:25:10 +0000 (14:25 -0700)]
Imported Upstream version 1.4.11~pre3

16 years agoAdd initial changelog entry for 1.4.11~pre3
Russ Allbery [Sat, 4 Jul 2009 21:24:29 +0000 (14:24 -0700)]
Add initial changelog entry for 1.4.11~pre3

16 years agoIgnore dkms failure in the prerm of openafs-modules-dkms
Russ Allbery [Fri, 3 Jul 2009 01:27:01 +0000 (18:27 -0700)]
Ignore dkms failure in the prerm of openafs-modules-dkms

* Ignore failures to remove an existing DKMS tree in the prerm of the
  openafs-modules-dkms package.  In the possible cases where the tree
  may not be present to be removed, failing package removal doesn't
  make sense.  (Further addresses LP #368471.)

16 years agoAdd Russian debconf translation
Russ Allbery [Sat, 27 Jun 2009 17:23:15 +0000 (10:23 -0700)]
Add Russian debconf translation

* Translation updates:
  - Russian, thanks Yuri Kozlov.  (Closes: #534807)

16 years agoFix spelling error in changelog debian/1.4.11.pre1+dfsg1-1
Russ Allbery [Sat, 20 Jun 2009 02:18:50 +0000 (19:18 -0700)]
Fix spelling error in changelog

16 years agoUpdate standards version to 3.8.2
Russ Allbery [Sat, 20 Jun 2009 02:18:20 +0000 (19:18 -0700)]
Update standards version to 3.8.2

16 years agoRemove some additional files that upstream doesn't clean up
Russ Allbery [Wed, 17 Jun 2009 21:57:20 +0000 (14:57 -0700)]
Remove some additional files that upstream doesn't clean up

16 years agoUpdate debian/copyright for the in-progress doc rewrite
Russ Allbery [Wed, 17 Jun 2009 21:55:44 +0000 (14:55 -0700)]
Update debian/copyright for the in-progress doc rewrite

16 years agoUpdate the doc-base files for the new reference manuals
Russ Allbery [Wed, 17 Jun 2009 21:53:29 +0000 (14:53 -0700)]
Update the doc-base files for the new reference manuals

16 years agoFix a few more documentation installation problems
Russ Allbery [Wed, 17 Jun 2009 21:52:59 +0000 (14:52 -0700)]
Fix a few more documentation installation problems

16 years agoInstall new upstream man pages
Russ Allbery [Wed, 17 Jun 2009 21:38:55 +0000 (14:38 -0700)]
Install new upstream man pages

16 years agoFix syntax error in the documentation installation
Russ Allbery [Wed, 17 Jun 2009 21:36:16 +0000 (14:36 -0700)]
Fix syntax error in the documentation installation

16 years agoRemove afs/sysctl.h from the build system
Russ Allbery [Wed, 17 Jun 2009 21:16:38 +0000 (14:16 -0700)]
Remove afs/sysctl.h from the build system

This change was accidentally lost in the merge of the new upstream
version.

16 years agoBuild and install the Doxygen protocol documentation
Russ Allbery [Wed, 17 Jun 2009 21:09:48 +0000 (14:09 -0700)]
Build and install the Doxygen protocol documentation

16 years agoBuild and install the new DocBook manuals
Russ Allbery [Wed, 17 Jun 2009 20:50:09 +0000 (13:50 -0700)]
Build and install the new DocBook manuals

Install generated PDF and HTML from the new DocBook manuals.  Install
only ka2heim.txt from the txt directory; the other things in there aren't
horribly useful.  Stop installing the old HTML documentation.  Add the
required additional configure options for the DocBook documentation build.

16 years agoAdd initial upstream changelog entry for 1.4.11~pre1+dfsg1
Russ Allbery [Wed, 17 Jun 2009 20:32:39 +0000 (13:32 -0700)]
Add initial upstream changelog entry for 1.4.11~pre1+dfsg1

16 years agoMerge commit 'upstream/1.4.11.pre1+dfsg1'
Russ Allbery [Wed, 17 Jun 2009 20:21:54 +0000 (13:21 -0700)]
Merge commit 'upstream/1.4.11.pre1+dfsg1'

Conflicts:
src/afs/Makefile.in

16 years agoImported Upstream version 1.4.11~pre1+dfsg1 upstream/1.4.11.pre1+dfsg1
Russ Allbery [Wed, 17 Jun 2009 20:20:14 +0000 (13:20 -0700)]
Imported Upstream version 1.4.11~pre1+dfsg1

16 years agoFinalize changes for 1.4.10+dfsg1-2 debian/1.4.10+dfsg1-2
Russ Allbery [Wed, 27 May 2009 04:19:17 +0000 (21:19 -0700)]
Finalize changes for 1.4.10+dfsg1-2

16 years agoBuild-depend on cpio (used for generating openafs-modules-source)
Russ Allbery [Wed, 27 May 2009 02:19:11 +0000 (19:19 -0700)]
Build-depend on cpio (used for generating openafs-modules-source)

16 years agoApply STABLE14-man-page-vos-dump-flags-20090526
Russ Allbery [Wed, 27 May 2009 01:27:01 +0000 (18:27 -0700)]
Apply STABLE14-man-page-vos-dump-flags-20090526

* Apply upstream CVS deltas:
  - STABLE14-man-page-vos-dump-flags-20090526: document the -clone and
    -omitdirs flags to vos dump.  (Closes: #502571)

16 years agoSTABLE14-linux-mmap-antirecursion-avoid-spurious-eio-20090526
Russ Allbery [Tue, 26 May 2009 23:55:52 +0000 (16:55 -0700)]
STABLE14-linux-mmap-antirecursion-avoid-spurious-eio-20090526

I avoided pulling up the error that this fixes, but note that it's
applied in the changelog for the record.

16 years agoApply STABLE14-background-fsync-consistency-issues-20090522
Russ Allbery [Tue, 26 May 2009 23:54:05 +0000 (16:54 -0700)]
Apply STABLE14-background-fsync-consistency-issues-20090522

* Apply upstream CVS deltas:
  - STABLE14-background-fsync-consistency-issues-20090522: file
    descriptor handling fixes for the file server.

16 years agoApply STABLE14-memcache-write-on-laststore-20090512
Russ Allbery [Tue, 26 May 2009 23:50:39 +0000 (16:50 -0700)]
Apply STABLE14-memcache-write-on-laststore-20090512

* Apply upstream CVS deltas:
  - STABLE14-memcache-write-on-laststore-20090512: write back dirty
    pages on last store with memcache to avoid losing changes.

16 years agoApply STABLE14-dprintf-rename-20090427
Russ Allbery [Tue, 26 May 2009 23:48:48 +0000 (16:48 -0700)]
Apply STABLE14-dprintf-rename-20090427

* Apply upstream CVS deltas:
  - STABLE14-dprintf-rename-20090427: rename AFS's dprintf to avoid
    conflicts with one in the kernel.

16 years agoApply STABLE14-linux-mmap-antirecursion-fix-20090512
Russ Allbery [Tue, 26 May 2009 23:47:24 +0000 (16:47 -0700)]
Apply STABLE14-linux-mmap-antirecursion-fix-20090512

* Apply upstream CVS deltas:
  - STABLE14-linux-mmap-antirecursion-fix-20090512: improvements in
    flag setting and locking around recursive mmap protection.

16 years agoApply STABLE14-linux26-defer-cred-changing-20090511
Russ Allbery [Tue, 26 May 2009 23:34:35 +0000 (16:34 -0700)]
Apply STABLE14-linux26-defer-cred-changing-20090511

* Apply upstream CVS deltas:
  - STABLE14-linux26-defer-cred-changing-20090511: defer changing groups
    when the real and effective credentials of a process differ to avoid
    running afoul of checks in newer Linux kernels that cause oops.
    (Closes: #528785)

16 years agoDynamically determine versions for dkms.conf and get-orig-source
Russ Allbery [Tue, 26 May 2009 23:28:10 +0000 (16:28 -0700)]
Dynamically determine versions for dkms.conf and get-orig-source

* Dynamically determine the Debian and upstream versions for dkms.conf
  and get-orig-source from debian/changelog.  Thanks, Anders Kaseorg.
  (LP: #364426)

16 years agoEnable DKMS support
Russ Allbery [Tue, 26 May 2009 19:00:29 +0000 (12:00 -0700)]
Enable DKMS support

* Provide an openafs-modules-dkms package that uses DKMS to dynamically
  build kernel modules for the local kernel and document this option in
  README.modules.  This is an alternative to installing
  openafs-modules-source and building kernel modules for each new kernel
  with module-assistant or make-kpkg.  (Closes: #168852, #525131)
  (LP: #52786, #364426, #369875)
* Have openafs-client recommend at least the current source version of
  openafs-modules-source or openafs-modules-dkms instead of any old
  version.  While the API probably hasn't changed, it's best practice to
  keep a relatively close match between the userspace andn the kernel
  module version.  (LP: #369875)

16 years agoFinalize changes for 1.4.10+dfsg1-1 and add NEWS debian/1.4.10+dfsg1-1
Russ Allbery [Mon, 6 Apr 2009 22:51:37 +0000 (15:51 -0700)]
Finalize changes for 1.4.10+dfsg1-1 and add NEWS

16 years agoUpdate 1.4.10 with security advisory names and CVEs
Russ Allbery [Mon, 6 Apr 2009 22:48:58 +0000 (15:48 -0700)]
Update 1.4.10 with security advisory names and CVEs

16 years agoMerge branch 'feature/pic-libraries'
Russ Allbery [Sat, 4 Apr 2009 19:29:24 +0000 (12:29 -0700)]
Merge branch 'feature/pic-libraries'

16 years agoMerge branch 'bug/pam-build'
Russ Allbery [Sat, 4 Apr 2009 19:29:19 +0000 (12:29 -0700)]
Merge branch 'bug/pam-build'

16 years agoMerge branch 'bug/module-name'
Russ Allbery [Sat, 4 Apr 2009 19:29:17 +0000 (12:29 -0700)]
Merge branch 'bug/module-name'

16 years agoMerge branch 'bug/kbuild-headers'
Russ Allbery [Sat, 4 Apr 2009 19:29:12 +0000 (12:29 -0700)]
Merge branch 'bug/kbuild-headers'

16 years agoMerge branch 'bug/compiler-flags'
Russ Allbery [Sat, 4 Apr 2009 19:29:08 +0000 (12:29 -0700)]
Merge branch 'bug/compiler-flags'

16 years agoMerge branch 'upstream' into feature/pic-libraries
Russ Allbery [Sat, 4 Apr 2009 19:28:59 +0000 (12:28 -0700)]
Merge branch 'upstream' into feature/pic-libraries

16 years agoMerge branch 'upstream' into bug/pam-build
Russ Allbery [Sat, 4 Apr 2009 19:28:52 +0000 (12:28 -0700)]
Merge branch 'upstream' into bug/pam-build

16 years agoMerge branch 'upstream' into bug/module-name
Russ Allbery [Sat, 4 Apr 2009 19:28:42 +0000 (12:28 -0700)]
Merge branch 'upstream' into bug/module-name

16 years agoMerge branch 'upstream' into bug/kbuild-headers
Russ Allbery [Sat, 4 Apr 2009 19:28:35 +0000 (12:28 -0700)]
Merge branch 'upstream' into bug/kbuild-headers

16 years agoMerge branch 'upstream' into bug/compiler-flags
Russ Allbery [Sat, 4 Apr 2009 19:28:25 +0000 (12:28 -0700)]
Merge branch 'upstream' into bug/compiler-flags