Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 26213

Summary: The inittial start of openafs1.2.10 fails
Product: Gentoo Linux Reporter: Sven Sternberger <sternberger>
Component: New packagesAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED FIXED    
Severity: normal CC: aliz, seemant, steven.jenkins
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for /etc/init.d/afs

Description Sven Sternberger 2003-08-08 09:37:24 UTC
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 ;-)
Comment 1 Steven Jenkins 2003-08-08 21:57:47 UTC
Created attachment 15787 [details, diff]
patch for /etc/init.d/afs
Comment 2 Sven Sternberger 2003-08-09 03:08:20 UTC
Now it work correctly, on my system!
Comment 3 Steven Jenkins 2003-08-09 04:33:37 UTC
Note to OpenAFS developer: the patch should be applied to files/afs.rc.rc6.
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2003-10-19 22:13:47 UTC
Thank you. committed.