pkgsrc/filesystems/openafs/PLIST

261 lines
5.2 KiB
Text
Raw Normal View History

@comment $NetBSD: PLIST,v 1.6 2022/03/19 16:19:02 jakllsch Exp $
bin/afs_compile_et
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
bin/afsio
bin/afsmonitor
bin/akeyconvert
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
bin/aklog
bin/asetkey
bin/bos
bin/cmdebug
bin/fs
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
bin/klog.krb5
bin/livesys
bin/pagsh
bin/pagsh.krb
bin/pts
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
bin/restorevol
bin/rxgen
bin/scout
bin/sys
bin/tokens
bin/tokens.krb
bin/translate_et
bin/udebug
bin/unlog
bin/up
bin/xstat_cm_test
bin/xstat_fs_test
include/afs/acl.h
include/afs/afs.h
include/afs/afs_args.h
include/afs/afs_atomlist.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/afs_consts.h
include/afs/afs_lhash.h
include/afs/afs_stats.h
include/afs/afs_sysnames.h
Update to 1.6.21 User-Visible OpenAFS Changes OpenAFS 1.6.21 All platforms * Avoid a possible 100ms transmit delay in the RX protocol when a peer's receive window transitions from closed to open (12627) * Documentation improvements (12476 12477 12559[RT #133339]) All server platforms * When bosserver is started with an unknown option, print an error message and exit with a non-zero value rather than failing silently (12631) All DB server platforms * Hold the DB lock while checking for an aborted write transaction (12516) All file server platforms * On demand attach fileservers, don't save or restore a client's host state if CPS ("Current Protection Subdomain") recalculation for it is in progress, to avoid fileserver thread exhaustion (12568) * On demand attach fileservers, avoid flooding the log with error messages, which could happen when the fileserver was restarted while a volume was offline (12569) * Update a volume's "Last Update" time when its content is modified by the salvager, to make the change visible in the output of "vos examine" and to backup services (12633) All client platforms * Corrected the DCentries bucket counts for very large and zero length files in the output of "fs getcacheparms -excessive" (12604 12605) * Fixed a bug that prevented users with GID 2748 and 2750 from executing the "fs sysname" command on clients running afsd with -rmtsys (12607) * Provide a new -inumcalc switch for afsd to allow enabling the alternative MD5 method of inode number calculation, which was previously only possible on Linux and through the sysctl interface (12608 12632) Linux clients * Support for mainline kernel 4.12 and distribution kernels with backports from it (12624 12626) * Re-added the improved algorithm for freeing unused vcaches to reduce memory consumption first introduced with the 1.6.18 release, together with a fix for the issue leading to its removal in 1.6.18.2 (12448..12451) macOS clients * Fixed a crash while stopping the client on macOS 10.12 "Sierra" (12602)
2017-07-21 03:39:33 +02:00
include/afs/afs_trace.h
include/afs/afscbint.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/afscp.h
include/afs/afsint.h
include/afs/afssyscalls.h
include/afs/afsutil.h
include/afs/afsutil_prototypes.h
include/afs/audit.h
include/afs/auth.h
include/afs/bnode.h
include/afs/bosint.h
include/afs/bubasics.h
include/afs/budb.h
include/afs/budb_client.h
include/afs/budb_errs.h
include/afs/bumon.h
include/afs/butc.h
include/afs/butm.h
include/afs/butx.h
include/afs/cellconfig.h
include/afs/cmd.h
include/afs/cnvldb.h
include/afs/com_err.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/daemon_com.h
include/afs/dir.h
include/afs/dirpath.h
include/afs/error_table.h
include/afs/errors.h
include/afs/exporter.h
include/afs/fileutil.h
include/afs/fsprobe.h
include/afs/fssync.h
include/afs/gtxX11win.h
include/afs/gtxcurseswin.h
include/afs/gtxdumbwin.h
include/afs/gtxframe.h
include/afs/gtxinput.h
include/afs/gtxkeymap.h
include/afs/gtxlightobj.h
include/afs/gtxobjdict.h
include/afs/gtxobjects.h
include/afs/gtxtextcb.h
include/afs/gtxtextobj.h
include/afs/gtxwindows.h
include/afs/icl.h
include/afs/ihandle.h
include/afs/keys.h
2007-03-21 20:49:24 +01:00
include/afs/ktc.h
include/afs/ktime.h
include/afs/mit-sipb-cr.h
include/afs/namei_ops.h
include/afs/nfs.h
include/afs/nfsclient.h
include/afs/opr.h
include/afs/osi_inode.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/pagcb.h
include/afs/param.h
include/afs/partition.h
include/afs/prclient.h
include/afs/prerror.h
include/afs/print.h
include/afs/procmgmt.h
include/afs/procmgmt_softsig.h
include/afs/prs_fs.h
include/afs/prserver.h
include/afs/ptclient.h
include/afs/pterror.h
include/afs/pthread_glock.h
include/afs/pthread_nosigs.h
include/afs/ptint.h
include/afs/ptserver.h
include/afs/ptuser.h
include/afs/rxgen_consts.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/salvsync.h
include/afs/stds.h
include/afs/sysctl.h
include/afs/tabular_output.h
include/afs/tcdata.h
include/afs/thread_pool.h
include/afs/thread_pool_types.h
include/afs/unified_afs.h
include/afs/usd.h
include/afs/venus.h
include/afs/vice.h
include/afs/viceinode.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/vioc.h
include/afs/vl_opcodes.h
include/afs/vldbint.h
include/afs/vlserver.h
include/afs/vnode.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/vnode_inline.h
include/afs/voldefs.h
include/afs/volint.h
include/afs/volser.h
include/afs/volume.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/afs/volume_inline.h
include/afs/vsutils_prototypes.h
include/afs/work_queue.h
include/afs/work_queue_types.h
include/afs/xfsattrs.h
include/afs/xstat_cm.h
include/afs/xstat_fs.h
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
include/kopenafs.h
include/lock.h
include/lwp.h
include/opr/lock.h
include/opr/queue.h
include/rx/fcrypt.h
include/rx/rx.h
include/rx/rx_clock.h
include/rx/rx_event.h
include/rx/rx_globals.h
include/rx/rx_lwp.h
include/rx/rx_misc.h
include/rx/rx_multi.h
include/rx/rx_null.h
include/rx/rx_opaque.h
include/rx/rx_packet.h
include/rx/rx_prototypes.h
include/rx/rx_pthread.h
include/rx/rx_queue.h
include/rx/rx_user.h
include/rx/rxkad.h
include/rx/rxkad_prototypes.h
include/rx/rxstat.h
include/rx/xdr.h
include/rx/xdr_prototypes.h
include/timer.h
include/ubik.h
include/ubik_int.h
lib/afs/libacl.a
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
lib/afs/libafscom_err.a
lib/afs/libafsint.a
lib/afs/libafsutil.a
lib/afs/libaudit.a
lib/afs/libauth.a
lib/afs/libauth.krb.a
lib/afs/libbos.a
lib/afs/libbubasics.a
lib/afs/libbudb.a
lib/afs/libbutm.a
lib/afs/libbxdb.a
lib/afs/libcmd.a
lib/afs/libdir.a
lib/afs/libfsprobe.a
lib/afs/libgtx.a
lib/afs/libprocmgmt.a
lib/afs/libprot.a
lib/afs/libsys.a
lib/afs/libusd.a
lib/afs/libvldb.a
lib/afs/libvlib.a
lib/afs/libvolser.a
lib/afs/libxstat_cm.a
lib/afs/libxstat_fs.a
lib/afs/util.a
lib/afs/vlib.a
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
lib/libafsauthent.a
lib/libafsauthent.so
lib/libafsauthent.so.2
lib/libafsauthent.so.2.0.0
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
lib/libafsauthent_pic.a
lib/libafscp.a
lib/libafshcrypto.a
lib/libafshcrypto.so
lib/libafshcrypto.so.2
lib/libafshcrypto.so.2.0.0
lib/libafsrfc3961.a
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
lib/libafsrpc.a
lib/libafsrpc.so
lib/libafsrpc.so.2
lib/libafsrpc.so.2.0.0
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
lib/libafsrpc_pic.a
lib/libkopenafs.a
lib/libkopenafs.so
lib/libkopenafs.so.2
lib/libkopenafs.so.2.0.0
lib/liblwp.a
lib/libopr.a
lib/librokenafs.a
lib/librokenafs.so
lib/librokenafs.so.2
lib/librokenafs.so.2.0.0
lib/librx.a
lib/librxkad.a
lib/librxstat.a
lib/libubik.a
libexec/openafs/buserver
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
libexec/openafs/dafileserver
libexec/openafs/dasalvager
Upgrade OpenAFS to 1.6.6. Remove unused options bos-new-config, fast-restart, & largefile. Remove patches fixed upstream. OpenAFS 1.6.6 All platforms * As of this release, OpenAFS no longer ships uncompressed source tarballs. Tarballs are still shipped with both compression formats, gzip and bzip2. (10131) * Documentation improvements (10136 10314 10601) * Improved diagnostics and error messages (9412 10085 10274) * Avoid redefining "assert" in our public header files, which could cause failures when building some applications using them. (10096) * Fixes for parallel builds (10005 10309 10337) * Added a -s switch to afscp (not installed by default) to help simulate a slow client. (9416 9417) * Added a -probe switch to vlclient test program (not installed by default) to ping all vlservers in a cell in parallel. (9570) All server platforms * The fileserver now ignores any vice partitions with a NeverAttach flag file present in the root directory. (RT #130561) (9470 9471) * Restrict forcing CPS ("Current Protection Subdomain") recalculation in the fileserver to administrators. Also fixed a bug that could cause this operation to be incomplete. (9485 9487) * Allow non-DAFS fileservers to attach unusable volumes, restoring pre-1.6 behaviour. (RT #131505) (9499) * Restored the pre-1.6 behaviour when running vos examine for a volume currently in a transaction, showing the volume as busy again rather than offline. (9685 9915 9916) * Reduced the minimum time a bos salvage takes from 5 seconds to 1. (9476) * Fixed buserver to not segfault when started with the -servers option. (RT #131706) (10166) * Salvager fixes, addressing a wide variety of possible problems from unnecessary salvaging to aborts (9282 9283 9457 9458 9459 9461 9462 9480 9481 10165 10167) * Fixed a bug that could cause saved state information to be discarded when restarting a large or busy fileserver, which negatively impacted performance. (9683) * Fixed a bug that could have caused undefined behaviour in the vlserver in rare cases when a fileserver registered its addresses in the VLDB. (9429) * Added the -preserve-vol-stats switch to volserver, allowing it to keep the access statistics across volume restore and reclone operations instead of resetting them. (9477) * Inserted an exponential delay between retries when bosserver attempts to restart a server process. (9571 10199) * Improved vldb_check (not installed by default) to cope with broken vlentry names and volids, and provide more output to aid debugging. (10268) * Releasing a volume after adding a new RO site no longer touches any of the existing RO sites, if the RW data hasn't changed since the last release. (10174) * Make the copyDate field for RO clones have the same meaning as for remote RO volumes. Previously, the copyDate field for clones was updated every time we released. (9451) * Fixed potentially undefined behaviour in ptserver when too many pts ids are allocated. (10124) * Note that the server side NAT pings feature present in the prereleases was removed before the final release, since no positive feedback was provided during prerelease testing. (9420 10135) Linux servers * Start bosserver with -nofork in the systemd unit file, to allow systemd to track its state (10093) All client platforms * No longer track file locks on read-only volumes. Write locks can't succeed, read locks always will. Avoids log messages about this kind of lock. (8910) * Added the "fs flushall" subcommand, which makes the client discard all cached data. This was previously available on Windows only. (9065 9388 9389 9390) * Fixed a bug that could make the client incorrectly believe its cache is up to date. This change could negatively impact AFS <-> DFS translators, should those still be running anywhere. (8898) * Several changes to avoid panicing in certain error conditions. (9131 9287 10354 10355 10356 10357) (partially addressing RT #131747) * Added the -rxmaxfrags switch to afsd, allowing to limit the number of UDP fragments sent or received per RX packet. (9430) * Build fixes for aklog on several platforms (RT #131716) (9917 10107 10275) * Require that the AFS mountpoint specified in the cacheinfo file is an absolute path. Relative paths result in a client that basically works but is not fully functional. (10253) * Fixed a bug that could cause one of the afsd threads to enter an infinite loop (10431 .. 10436) Linux clients * Support Linux kernels up to 3.13 (10241) * Fixed a bug that made readv/writev calls in AFS space fail with Linux kernels where generic_file_aio_read exists but those operations have not been switched to using aio_read/aio_write. This was a regression introduced with release 1.6.3 and affected at least RHEL 5.9 kernels. (10248) * Fixed a similar bug making core dumps fail in AFS space, affecting a much wider range of kernels including the most recent ones. (RT #131729) (10254) * Enhanced the keyring code to make PAGs work correctly on kernels with a distribution specific change to the Linux keyring code. This affected at least SLES 11 SP3 kernels. (10252) * Fixed a bug that could make failures during PAG instantiation go unnoticed. (10255) * Fixed a bug that made compilation fail for Linux kernels without keyring support. This affected at least the SLE 10 SDK and an OEM version of SLES 11 SP1. (10325) * Fixed build for kernels with user namespace support enabled. Likely to be required for Ubuntu 14.04 and eventually other distributions. (10456 10457 10458 10518 10472) * Support RHEL 6.5 kernels, and possibly others with changes backported from recent mainline kernels that touch getname/putname, by no longer using those functions. Previously, the client could cause a kernel panic when syscall auditing was enabled. (10578) * Make tmpfs usable as the cache filesystem again. This had been broken since kernel 3.1 (9950 10193) * When starting the client fails, clean up the backing device information created in sysfs, to avoid error messages during a subsequent start and possible system instability later on (10454) * Update Red Hat packaging to support Fedora >= 20, RHEL >= 7 and ELrepo kernels (10597 10619 10622 10703 10704) OS X Clients * Support OS X 10.9 "Mavericks" (10519 10541 10542 10543 10548 10549) AIX clients * Fixed a bug that caused the 1.6 AIX client to never receive any RX packets in the kernel. (RT #131725) FUSE client * Support Solaris 11 (9454 9455) * Allow other users to access filesystems mounted by root. (9452) FreeBSD * Build tvolser and dvolser on this platform (10122) * Several fixes to catch up with newer releases (10374 .. 10381) NetBSD * Build tsalvaged, tvolser and dvolser on this platform (10121) * Fixed build on NetBSD 5 and newer. (10138)
2014-02-21 22:33:51 +01:00
libexec/openafs/davolserver
libexec/openafs/fileserver
libexec/openafs/ptserver
libexec/openafs/salvager
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
libexec/openafs/salvageserver
libexec/openafs/upclient
libexec/openafs/upserver
libexec/openafs/vlserver
libexec/openafs/volserver
sbin/afsd
sbin/backup
sbin/bos_util
sbin/bosserver
sbin/butc
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
sbin/dafssync-debug
sbin/fms
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
sbin/fssync-debug
sbin/fstrace
sbin/prdb_check
sbin/pt_util
sbin/read_tape
sbin/rmtsysd
sbin/rxdebug
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
sbin/salvsync-debug
sbin/state_analyzer
sbin/uss
sbin/vldb_check
sbin/vldb_convert
sbin/voldump
sbin/volinfo
Update to 1.6.21 User-Visible OpenAFS Changes OpenAFS 1.6.21 All platforms * Avoid a possible 100ms transmit delay in the RX protocol when a peer's receive window transitions from closed to open (12627) * Documentation improvements (12476 12477 12559[RT #133339]) All server platforms * When bosserver is started with an unknown option, print an error message and exit with a non-zero value rather than failing silently (12631) All DB server platforms * Hold the DB lock while checking for an aborted write transaction (12516) All file server platforms * On demand attach fileservers, don't save or restore a client's host state if CPS ("Current Protection Subdomain") recalculation for it is in progress, to avoid fileserver thread exhaustion (12568) * On demand attach fileservers, avoid flooding the log with error messages, which could happen when the fileserver was restarted while a volume was offline (12569) * Update a volume's "Last Update" time when its content is modified by the salvager, to make the change visible in the output of "vos examine" and to backup services (12633) All client platforms * Corrected the DCentries bucket counts for very large and zero length files in the output of "fs getcacheparms -excessive" (12604 12605) * Fixed a bug that prevented users with GID 2748 and 2750 from executing the "fs sysname" command on clients running afsd with -rmtsys (12607) * Provide a new -inumcalc switch for afsd to allow enabling the alternative MD5 method of inode number calculation, which was previously only possible on Linux and through the sysctl interface (12608 12632) Linux clients * Support for mainline kernel 4.12 and distribution kernels with backports from it (12624 12626) * Re-added the improved algorithm for freeing unused vcaches to reduce memory consumption first introduced with the 1.6.18 release, together with a fix for the issue leading to its removal in 1.6.18.2 (12448..12451) macOS clients * Fixed a crash while stopping the client on macOS 10.12 "Sierra" (12602)
2017-07-21 03:39:33 +02:00
sbin/volscan
sbin/vos
sbin/vsys
Update OpenAFS to 1.6.1. Upstream release notes for 1.6.0 and 1.6.1: OpenAFS Release Notes - Version 1.6.1 _________________________________________________________________ All server platforms: Critical bugfixes. All systems: Major bugfixes. _________________________________________________________________ Sites running 1.6.0 fileserver are urged to update immediately to avoid data loss. Sites running 1.6.0 UNIX clients are urged to update immediately to avoid excess network traffic. All platforms: - Updated idle dead handling to avoid issues with retrying calls which could succeed but error and then error on a retry. - libafscp updates. - uafs userspace cache manager updates. All server platforms: - A bug which can lose data on a fileserver for volumes which are replicated or backed up has been fixed. Sites running 1.6.0 are urged to upgrade immediately! (130295) - Fix salvaging of volumes with large numeric IDs. - Further correct tracking of alternate and changed addresses in the fileserver. - Do not perform Rx keepalives during disk IO to allow timeouts to occur in event IO cannot complete. - Properly associate link tables recreated during salvage with the volume group ID. - Demand attach: better error handling during volume attachment. - Confirm vnode lengths are as expected during fileserver operations. - Demand attach: better handling of volumes being passed for salvage and being returned from salvage. - Conditions which cause a restored volume to immediately need salvage are now properly tracked. - Bosserver properly honors rxbind mode. - Ensure salvager returns volumes to fileserver even when no applicable vnodes are found. - DAFS: perform additional verification of data restored about clients and callbacks. All UNIX platforms: - Correct handling of server NAT pings to avoid unnecessary growth of NAT ping traffic. - Fix hard mount retry behavior to retry all servers. - Several lock order inversions which could deadlock fixed. - Handle issues updating mtab. - Fix fs setserverprefs to work again for DB servers. FreeBSD: - Track kernel API changes for 9.0 Linux: - Support for kernel versions through 3.4. - Avoid potential panic due to an error being returned as a positive number when doing inode operations. - Fix vcache lock ordering during readdir. - Updated RPM packaging. - Updated dkms support. - Updated systemd support. MacOS: - Fix panic at shutdown due to not stopping network listener. - Updated Kerberos support for additional issues in Lion. NetBSD: - Updated support for 5.0 userspace binaries. - Add support for 6.0. Solaris: - Avoid panic on shutdown when mount failed. - Disable SSE instructions when compiling to avoid panics on non-SSE hosts. Windows: - Properly handle VNOSERVICE, which indicates a fileserver has done an idle timeout of a call. - Improved tracking of volume groups. - Do not recycle buffers in the current file if they are in the active chunk and up to date. - Support Windows 7 Advanced Firewall. - Default to maximum 2 CPUs unless registry overrides. - Failover and retry for VBUSY. - Properly fetch unix mode when requested. OpenAFS Release Notes - Version 1.6.0 _________________________________________________________________ All UNIX systems: Security bugfixes. All systems: Major bugfixes. _________________________________________________________________ All platforms: - Rx NAT pings are not enabled until peer has answered. - Numerous fixes to command argument parsing. All server platforms: - Avoid crashing on host table exhaustion. Instead, defer clients. All UNIX platforms: - Rx connection reference counting is enabled. - An Rx connection reference count leak is fixed in bulkstat. - Handle unparsable directory objects. - Handle Kerberos cred cache errors in aklog. Linux: - Init script properly returns status as exit code. - RPM packaging fixes (executable libraries, no postinstall message) - Kill i386 from RPM packaging. MacOS: - Fix 32 bit Lion client support. - Avoid panic when doing FSEvent synthesis. - Fix bug when using non-dynroot. - Update Kerberos support in PreferencesPane. Solaris: - Avoid panic on shutdown when mount failed. Windows: - Add shutdown message to event log. - Check offline volume status by policy rather than on each daemon thread run. - Return error on directory object not found instead of crashing. - Improve error message output. - afslogin.dll can start afsd_service if it's not starting or started. - Optimize away release lock RPCs for deleted files. - Background Daemon will not perform operations on deleted files. - Resort recently used directories to the top of the LRU if the directory is larger than the stat cache. - Resort deleted objects to the bottom of the LRU. - Use interlocked operations for state and queue fields to allow safe bit set and clear on multiprocessor systems. CHANGES IN 1.6.0PRE7 All platforms: - Substantial Rx updates to correct erroneous behavior. - Salvager tries harder to detect linktable issues. - Additional documentation. - xstat tools now cope with differing timeval structures between endpoints. All UNIX platforms: - New build targets to make distribution tarfiles (make dist) and srpms (srpm). Demand Attach Fileserver platforms: - Don't attach volumes with special status set. FreeBSD: - Avoid panic at shutdown due to vcache flushing. - Support virtual network stacks. Linux: - Treat Linux 3.0 as Linux 2.6 for sysname purposes. - Attempt to properly handle SELinux in packaging. MacOS: - MacOS 10.7 support. Solaris: - Try harder to avoid deadlocks on file-larger-than-cache operations. Windows: - Add support for NTFS symlinks. - Handle file search requests for virtual syscall ioctl file. - Process SyncOps properly to enforce ordered operations. - Avoid recursing during NewServer operations. - Correct lock acquisition order during SMB locking. CHANGES IN 1.6.0PRE6 All UNIX platforms: - Fall back to afs3-vlserver SRV record values when afs3-ptserver SRV record is not available. - Avoid holding unneeded locks when probing server capabilties. - Do not attempt page flushes for directories. Demand Attach Fileserver platforms: - Unlink fileserver state file on standalone salvage. FreeBSD: - Support for virtual network stacks. Linux: - Further corrections to Redhat packaging. - Avoid showing files larger than one cache chunk size as full of NULLs. (129880) This bug was in unissued pre5 only, not in pre4. - Fix lockup in 2.6.38 due to erroneous kernel feature configure test. MacOS: - Rework logic for bulk status operations to avoid a potential hang. Solaris: - Don't leave dangling function references if kernel extension fails to load. Windows: - aklog supports dotted Kerberos v5 principal names. - afskfw library always attempts afs/cell@USER-REALM - afskfw library must test return code from krb5_cc_start_seq_get() or will trigger a null pointer exception when using Heimdal. - lock protected fields must be 32-bit in order to avoid memory overwrite races. CHANGES IN 1.6.0PRE5 All server platforms: - Avoid leaking references to hosts during callback break multi-Rx operations. (129376) All UNIX platforms: - Avoid a potential deadlock (which times out) when we need to allocate more callback returns and must flush some already in use. - Deal with libcom_err conflicts with other packages using it (e.g. krb5) (128640) AIX: - Fix PAG usage to track by PAG identifier, not group list. Irix: - Properly create new vnodes to avoid crashing in the client. Linux: - Support 2.6.39. - Avoid attempting to free stat cache entries when we are below user-specified number of entries in use. - Properly track user-specified number of stat cache entries to use as a desired usage target. - Don't read pages beyond EOF in the cache. (128452) MacOS: - Properly shut down AFS, closing the Rx socket in the upcall handler to avoid attempting to process data after we can no longer do so. NetBSD: - Updates for platform support. Windows: - Fix caching of non-existent volumes. The test to trigger an immediate CM_ERROR_NOSUCHVOLUME in cm_UpdateVolumeLocation() was backwards. - Prevent the background daemon from checking the status of non-existent volumes. cm_CheckOfflineVolumes() should skip volume groups with the CM_VOLUMEFLAG_NOEXIST flag set. - The afskfw library should return an error immediately if the krb5_32.dll library cannot be loaded. Affects afslogon.dll and afscreds.exe. - No longer depend on leashw32.dll in afskfw library. - NPLogonNotify must provide the user password in all calls to KFW_AFS_get_cred(). It cannot count on a credential cache being preserved between calls. Permits tokens to be acquired for all cells listed in the TheseCells registry value for a domain. - Improve the trace logging from NPLogonNotify(). - Avoid a race when writing the cm_scache_t mountPointString when acquiring mount point or symlink target data via cm_GetData(). The race could result in bogus target data being cached. - Permit the use of des-cbc-md5 and des-cbc-md4 enctypes as DES keys in asetkey.exe. CHANGES IN 1.6.0PRE4 All server platforms: - A file descriptor leak which could result in corrupted files in the fileserver was fixed. An IMMEDIATE upgrade from previous 1.6 release candidates as well as 1.5 release fileserver is SUGGESTED! - Properly support large volume numbers (larger than 2147483647). All platforms: - Documentation updates. Demand Attach Fileserver platforms: - Allow salvager to be run manually again when DAFS is being used. (129458) FreeBSD: - New RC script, updated packaging. Linux: - Improve RPM building tools. - setpag() errors are now properly reported. MacOS: - Preferences Pane behavior fixed for 1.6 series (version detection is used to select default behavior). - A potential kernel panic during bulkstat operations is fixed. (128511) - 64-bit MacOS kernel performance is greatly improved. (128934) Solaris: - Properly report errors for AFS system call callers. Windows: - Properly create new cell mount points in freelance mode. - Avoid recursive offline volume checks. CHANGES IN 1.6.0PRE3 All platforms: - Revert UUID support in vos. - pt_util fixed to properly create new databases. - Rx busy call channel error handling improved. - MTU discovery now properly shut down on call reset. - FUSE client support fixed for non-/afs mounts. All server platforms: - A deleted volume can now be recreated properly. - Callbacks are again not broken during whole partition salvages. - Positional vectored IO fixed for largefile (>2GB) capable systems. - Fileserver per-client thread usage again properly enforced. - Anonymous dropbox support improved and drawbacks documented. Demand Attach Fileserver platforms: - Ensure vnodes are not reallocated while in use due to volume bitmap errors. Linux: - Perform vcache eviction via a fast path before visiting vcaches where sleep is needed. MacOS: - aklog AuthorizationPlugin now provided. Solaris: - Corrected Solaris 11 startup script. - vcache mappings freed on shutdown to avoid panic. Windows: - icon tray state now conditionally set (128591) CHANGES IN 1.6.0PRE2 All platforms: - Documentation updates. - Don't stop Rx keepalives after an ackall is received, avoiding spurious connection timeouts. (128848) - Don't retry Rx calls on channels returning busy errors. (128671) - vos will not die with a double free error at command completion. - Properly enable Rx connection hard timeouts. - Initialize rx_multi lock before use. - Avoid spurious crashes when initializing in "backup" client. All unix platforms: - Check for /afs existance before starting, unless -nomount is specified. - Avoid a potential panic when using /afs/.:mount syntax. - Avoid a panic in memcache mode due to missing CellItems file. All server platforms: - Attempt to recovery more quickly from timed out volume release transactions. - Auditing now properly byte order swaps IP addresses when printing. - vos split now has improved error handling. - Many changes to again support Windows fileservers. - During volume removal, data removal speed improved. - Improve CPU utilization during volume attaching by DAFS. - In salvager check-only mode, avoid potentially fixing a vnode. - Fix support for large (greater than 2gb) volume special files. - Salvager will not crash if multiple or bad volume link tables are encountered. - Avoid erroneous full dump by remembering which sites were out of date at the start of the release. FreeBSD: - Remove support for "Giant" lock as we no longer need to use it. - Don't sleep with AFS GLOCK. - Properly enable 64 bit long long support. - Restore support for FreeBSD 7 (128612) - Fix locking issues at shutdown. Linux: - support through kernel 2.6.38. - RedHat packaging now properly supports RHEL6. - Use rx_Readv in cache bypass to improve performance. - Properly handle 0-length replies during cache bypass operations. - Properly handle non-contiguous readpage cache bypass operations. - Do proper locking when transitioning to or from cache bypass. - Avoid extra runs of vcache freeing routine. (128756) MacOS: - Check for unloaded kernel extensions when decoding AFS panics. - Properly handle setpag errors. PAGs are not supported. - Disable "get tokens at login" in prefs pane if AD authentication plugin is configured. OpenBSD: - support through OpenBSD 4.8. Solaris: - Fix support for Solaris pre-10. Windows: - afs_config will not longer set the Tray Icon State in the registry if the checkbox is not present in the dialog. (128591) - AFS Explorer Shell Extension now works from folder backgrounds. Overlays for mount points and symlinks are present in the dll, but are not registered at present by the installers. - Do not use RankServerInterval registry value as the value for PerformanceTuningInterval. - When the data version of a mountpoint or symlink changes, the target string in the cm_scache_t object must be cleared. - "fs checkservers" now includes vldb servers in the output and only lists multi-homed servers once. A multi-homed server that has at least one up interface is no longer considered to be down. - When asynchronously storing dirty data buffers to the file server ensure that (a) the cm_scache_t object and the cm_buf_t object are for the same File ID so that locking and signalling work properly; and (b) if the FID no longer exists on the file server, do not panic, just discard the buffer. - When processing VNOVOL, VMOVED and VOFFLINE errors perform server comparisons by UUID or address and not simply by cm_server_t pointer. Otherwise, server failover may not succeed. - Do not preserve status information for cm_scache_t objects when the issuing server is multi-homed. - Giving up all callbacks when shutting down or suspending the machine is now significantly faster due to the use of an rx_multi implementation. (This functionality is still off by default and must be activated by a registry value.) - Race conditions were possible when updating the state of the cm_volume_t flags and when moving the volumes within the least recently used list. - Ensure that the lanahelper library does not perform a NCBRESET of each lan adapter when enumerating the current network bindings. Correcting this permits OpenAFS to work on Windows 7 when the network adapter settings change. - Fix creation of mount points and symlinks as \\AFS\xxxx PREVIOUS CHANGES: All platforms: - vos now properly deals with matching sites when servers are multihomed. All Unix platforms: - Servers now marked down when GetCapabilities returns error. - In-use vcache count is now properly tracked. All server platforms: - Fix ptserver supergroups support on 64 bit platforms. - Demand attach salvaging doesn't use freed volume pointers. - Properly hold host lock during host enumeration in fileserver. FreeBSD: - Fix socket termination on shutdown. - Support for 7.2, 7.3, 7.4 and 8.2 included. - References to vcaches are no longer leaked during root or reclaim. Linux: - Define llseek handler to avoid ESPIPE error in 2.6.37. - Mount interface replaces get_sb (new for 2.6.37, not yet required). - RedHat init script allows deferring for a new binary restart. - DEFINE_MUTEX replaces DECLARE_MUTEX for 2.6.37. MacOS: - Correct return value from setpag syscall. OpenBSD: - Bug fixes for issues introduced previously in 1.5 series. Solaris: - Switch to ioctl() syscall replacement for Solaris 11 since syscall 65 is not safe.
2012-12-01 16:22:32 +01:00
share/openafs/C/afszcm.cat
@pkgdir lib/openafs