source: trunk/server/fedora/specs/openafs.spec.patch @ 1545

Last change on this file since 1545 was 1545, checked in by mitchb, 14 years ago
Revert r1510. Back out to OpenAFS 1.4.11. 1.4.12 may not have been as much of a Nice Thing (TM) as we'd hoped. Since upgrading to it, our servers have been flapping on a more-than-daily basis, almost always due to bogus AFS lost contact messages, resulting in loads shooting up into the hundreds while the machines are stuck in IOwait. When this includes the server that contrib.scripts is on, the machine falls out of the pool. In all cases, it results in a service slowdown. Sometimes a reboot has been necessary because 'fs checks' doesn't always clear it up. While we haven't found a conclusive cause for the problems, they seem to point to AFS, and began happening the same night we upgraded to 1.4.12.
File size: 3.0 KB
  • openafs.spec

    old new  
    88# for beta/rc releases make pkgrel 0.X.<tag>
    99# for real releases make pkgrel 1 (or more for extra releases)
    1010#%define pkgrel 0.1.rc1
    11 %define pkgrel 1.1
     11%define pkgrel 1.1.99scripts.%{scriptsversion}
    1212
    1313%if %{?osvers:0}%{!?osvers:1}
    1414%define osvers 1
     
    261261%endif
    262262ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64
    263263
     264Patch1000: openafs-scripts.patch
     265Patch1003: openafs-localcsdb.patch
     266Patch1005: openafs-numsysnames.patch
     267
    264268#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265269Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266270Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
     
    343347%if %{build_userspace}
    344348
    345349%package client
     350Provides: scripts-openafs-client
    346351Requires: binutils, openafs = %{PACKAGE_VERSION}
    347352
    348353%if %{fedorakmod}
     
    403408
    404409%if %{build_authlibs}
    405410%package authlibs
     411Provides: scripts-openafs-authlibs
    406412Summary: OpenAFS authentication shared libraries
    407413Group: Networking/Filesystems
    408414
     
    419425%endif
    420426
    421427%package authlibs-devel
     428Provides: scripts-openafs-authlibs-devel
    422429%if %{build_authlibs}
    423430Requires: openafs-authlibs = %{PACKAGE_VERSION}
    424431%endif
     
    437444libraries.
    438445
    439446%package devel
     447Provides: scripts-openafs-devel
    440448Summary: OpenAFS Development Libraries and Headers
    441449Group: Development/Filesystems
    442450
     
    465473administrators.
    466474
    467475%package kernel-source
     476Provides: scripts-openafs-kernel-source
    468477Summary: OpenAFS Kernel Module source tree
    469478Group: Networking/Filesystems
    470479Provides: openafs-kernel = %{PACKAGE_VERSION}
     
    514523
    515524%if %{krb5support}
    516525%package krb5
     526Provides: scripts-openafs-krb5
    517527Summary: OpenAFS programs to use with krb5
    518528Requires: openafs = %{PACKAGE_VERSION}
    519529Group: Networking/Filesystems
     
    540550%if %{build_modules}
    541551
    542552%if %{fedorakmod}
    543 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
     553%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
    544554
    545555%else
    546556
     
    699709
    700710# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    701711%patch0 -p1 -b .kmod26
     712%patch1000 -p1 -b .scripts
     713%patch1003 -p1 -b .localcsdb
     714%patch1005 -p1 -b .numsysnames
    702715
    703716##############################################################################
    704717#
     
    12091222rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump*
    12101223
    12111224# remove man pages from programs deleted above
    1212 for f in 1/dlog 1/dpass 1/livesys 1/xstat_cm_test 1/xstat_fs_test 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
     1225for f in 1/compile_et 1/dlog 1/dpass 1/livesys 1/xstat_cm_test 1/xstat_fs_test 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
    12131226  rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.*
    12141227done
    12151228
     
    15691582%{_libdir}/librxstat.a
    15701583%{_libdir}/libubik.a
    15711584%{_mandir}/man1/rxgen.*
    1572 %{_mandir}/man1/compile_et.*
    15731585
    15741586%if %{build_dkmspkg}
    15751587%files -n dkms-%{name}
Note: See TracBrowser for help on using the repository browser.