Russ Allbery [Thu, 18 Aug 2005 17:36:20 +0000 (17:36 +0000)]
* Improve the documentation and scripts for setting up new servers or a
new cell. afs-rootvol can now be run from a client configured to use
dynroot. afs-newcell generates the server CellServDB directly to work
around oddities with bos addhost. Thanks to Fahemm Mitha and Sergio
Gelato for analysis and patches. (Closes: #322638)
Russ Allbery [Sun, 14 Aug 2005 04:15:05 +0000 (04:15 +0000)]
Redo all of the patch sets and move them into a subdirectory. Add
explanations of the status of the various patches relative to upstream.
Add the new PAM patch.
Russ Allbery [Fri, 12 Aug 2005 04:00:29 +0000 (04:00 +0000)]
Remove the old PAM patches and the makefile logic to build the PIC
objects. Also remove some other now-unnecessary divergences from
upstream to reduce the size of the diff.
Russ Allbery [Thu, 11 Aug 2005 17:40:23 +0000 (17:40 +0000)]
Point readers at the comments in /etc/openafs/afs.conf as well. Update
the status of the man page work. Make slight updates to the wording and
capitalization in a few other places.
Russ Allbery [Thu, 11 Aug 2005 17:34:35 +0000 (17:34 +0000)]
- Add an AFS_PRE_SHUTDOWN hook called before shutting down the client.
- Provide a shutdown hook, disabled by default, that kills all
processes with files open in /afs. Enabling this ensures a more
reliable clean shutdown and umounting of the cache partition, but
may not always be what the admin wants.
This duplicates the functionality in the upstream init script (where it
calls /usr/vice/etc/killafs if present), but in a more general way and
with better documentation.
Russ Allbery [Thu, 11 Aug 2005 07:58:44 +0000 (07:58 +0000)]
* Rework how PAM modules are handled.
- Build against the pthread-aware libraries. (Closes: #297804)
- Use the shared library objects instead of building separate PIC
objects, eliminating the need for many Makefile modifications.
- Include pam_afs.krb.so as well. (Closes: #165972)
This is still a work in progress, but I want to get it into the repository
as a checkpoint since everything seems to work. Remaining to be done is
the cleanup of the old Makefile rules to build the pic directory, which
should no longer be needed.
Tested with unstable ssh-krb5 and login so far, with no problems.
Russ Allbery [Thu, 11 Aug 2005 01:35:25 +0000 (01:35 +0000)]
* Don't include the empty /usr/src/modules directory in
openafs-modules-source, only the tarball, to match how other kernel
module source packages behave. (Closes: #244685)
Russ Allbery [Thu, 11 Aug 2005 01:12:16 +0000 (01:12 +0000)]
- Update the default client options based on the cache tuning synopsis
by Jeffrey Hutzelman, including setting a larger chunksize for all
default option sets. (Closes: #303944)
Russ Allbery [Thu, 11 Aug 2005 00:29:20 +0000 (00:29 +0000)]
* Improve the openafs-client init script.
- Choose the client options based on the cache size by default.
- Move the code to build the options string to the init script from
afs.conf so that afs.conf is pure configuration.
- Improve the readability of the output on start.
- Significantly improve the comments in afs.conf.
- Remove the code to set -nosettime as it's now the default.
* Move the openafs-client init script and afs.conf file we use into the
debian directory rather than patching the upstream version. We've
diverged so much that there's no point in continuing to merge changes.
Russ Allbery [Wed, 10 Aug 2005 21:48:42 +0000 (21:48 +0000)]
* Diagnose unsupported architectures earlier and with a clearer error.
* Suppress error messages from a missing kernel version header since
they occur normally when doing the regular package build and are just
confusing. Instead, print an error in kern-sysname and abort if the
kernel version could not be determined.
* Make bosserver less picky about permissions and remove the attempt to
set /etc/openafs/server-local not-world-readable since dh_fixperms was
overridding it anyway. (Closes: #312921)
Russ Allbery [Thu, 12 May 2005 06:03:05 +0000 (06:03 +0000)]
* Repackage upstream to remove MacOS-specific files covered by the APSL.
Remove the WINNT directory to save space since we have to repackage
anyway. Provide a get-orig-source target to do the repackaging.
* Update copyright with more complete information from upstream
src/LICENSE.
Russ Allbery [Tue, 10 May 2005 01:44:58 +0000 (01:44 +0000)]
If I forget to remove the fi when removing the if, someone else will get
bitten by it later, so use if false; then ; else instead. Also, it's
helpful to regenerate configure when changing .m4 files.
Russ Allbery [Tue, 10 May 2005 01:37:31 +0000 (01:37 +0000)]
* In all cases, only build the module appropriate to the kernel we're
building against. Building an SMP module against a non-SMP kernel
fails due to missing defines. (Closes: #225907)
Russ Allbery [Mon, 9 May 2005 22:50:56 +0000 (22:50 +0000)]
Pass environment variables to configure in the environment; passing them
as arguments works if configure is rebuilt with Autoconf 2.5x, but passing
them in the environment works with any version of configure. (Debian's
configure autodetects autoconf 2.13 when running regen.sh, and so far it
does seem to work....)
Russ Allbery [Sun, 8 May 2005 20:33:22 +0000 (20:33 +0000)]
* README.modules: Add documentation for module-assistant and recommend
it when using Debian kernels. Mention divergences from upstream in
module naming. (Closes: #253168) Emphasize that the kernel source
tree used for make-kpkg must be identically configured to the kernel
the module will be used with.
Russ Allbery [Sun, 1 May 2005 03:48:26 +0000 (03:48 +0000)]
* Update debhelper compatibility level to V4.
- Remove all *.conffiles control files. They're no longer needed.
- Use misc:Depends to get debconf dependencies.
- Use dh_install rather than the movefiles script.
* openafs-dbserver doesn't need to depend on debconf.
* Remove unnecessary preinst for openafs-fileserver.
Russ Allbery [Sun, 1 May 2005 00:40:06 +0000 (00:40 +0000)]
* Overhaul the module build rules.
- Use debhelper to build the module binary package.
- Let debhelper handle the module postinst and prerm control scripts.
- Properly support modules_config and modules_clean.
- Break the build process into configure, build, install, and binary
rules, paralleling the regular build rules and making it easier to
maintain the make-kpkg build targets.
- Include the kernel version in the long description.
- Update standards version of module packages to 3.6.1.
- Include the copyright and basic documentation in the module binary
package. Otherwise, policy requires an exact versioned dependency
on the package containing the copyright file.
Also note that the logic to turn off optimization when requested doesn't
work as documented in the configure script.
* Update standards version to 3.6.1.
- Install Debian::OpenAFS::ConfigUtils in /usr/share, not /usr/lib.
- Always enable debugging symbols and disable optimization if noopt is
set in DEB_BUILD_OPTIONS.
- /etc/init.d/openafs-fileserver restart starts bosserver if it's not
already running.
* README.Debian: Document that the client cache partition must be ext2
or ext3 and that XFS and ReiserFS will not work. upserver and
upclient are now provided. Provide some information about why
kaserver is not provided. (Closes: #249315)
Also clean up the formatting of README.Debian a little.
* Put the compiled modules into KPKG_DEST_DIR if set. This appears to
be preferred over DEB_DEST by the make-kpkg documentation. Thanks,
Jonas Smedegaard. (Closes: #206403)
Sam Hartman [Mon, 4 Apr 2005 04:49:58 +0000 (04:49 +0000)]
Rerun regen.sh without autoconf2.13 installed.
Apparently the debian magic to choose the right version of autoconf interacts badly with aclocal
and afs
Sam Hartman [Sun, 9 Jan 2005 01:03:14 +0000 (01:03 +0000)]
* New upstream version
* Target for unstable not experimental
* New CellServDB
* OpenAFS seems not to have a changelog available, so stop shipping it.
* Build openafs.ko not libafs.ko so the right name appears in lsmod