If "-memcache" is supplied in the OPTIONS variable in /etc/afs/afs.conf, then openafs runs with a memory cache, instead of a disk cache. However, the rc script will give you "Error: No ext2 partition for afs cache", since it will still look for a required ext2 partition. Reproducible: Always Steps to Reproduce: 1. Emerge (any) openafs 2. Edit /etc/afs/afs.conf and add "-memcache" to OPTIONS 3. Run "/etc/init.d/afs start" Actual Results: You get "Error: No ext2 partition for afs cache" Expected Results: The init script shouldn't complain; rather it should start afsd Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r5 i686) ================================================================= System uname: 2.4.28-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 3.20GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -pipe -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -pipe -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -finline-functions" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.ccccom.com http://cudlug.cudenver.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d afs alsa apache2 apm arts avi bitmap-fonts crypt f77 font-server foomaticdb fortran gdbm gif gtk gtk2 imap imlib java jpeg kde libg++ libwww mad mbox mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts xinerama xml2 xmms xv zlib"
OpenAFS needs a developer to take up maintenance.
New ebuilds for openafs 1.2.13 (stable) and 1.3.85 (experimental) are available for testing. According to openafs-ml, 1.3.85 is currently undergoing testing so it can become 1.4rc. The check for the mounted ext2 partition as diskcache has been obsoleted in these ebuilds (because the restriction is too limited anyway). Sane configuration is left as the administrator's responsibility. Therefore the problem shouldn't occur with the new ebuilds anymore. It'd be great if the new ebuilds could be tested.
Fixed, as the check for an ext2 partition has been obsoleted.