After emerge of openafs1.2.10 the start script failed. Because the start script /etc/init.d/afs contains a simple procedure to produce the /usr/vice/etc/cacheinfo file. The following line fails: CACHESIZE=`df $PART | grep ^/ | awk '{print $4}'` because my df has the follwing >> 3 line << output: >df /usr/vice/cache/ Filesystem 1K-blocks Used Available Use% Mounted on /dev/ide/host0/bus0/target0/lun0/part5 988212 21812 966400 3% /usr/vice/cache in the fstab line I use an label for this ext2 partition!! Reproducible: Always Steps to Reproduce: 1.emerge openafs 2./etc/init.d/afs start 3. Actual Results: The cacheinfo file is not valid and look like this /afs:/usr/vice/cache: Expected Results: /afs:/usr/vice/cache:874605 I use the experimental branch "~x86" and Great! After a long time without openafs it's nice to have it back ;-)
Created attachment 15787 [details, diff] patch for /etc/init.d/afs
Now it work correctly, on my system!
Note to OpenAFS developer: the patch should be applied to files/afs.rc.rc6.
Thank you. committed.