Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26213 - The inittial start of openafs1.2.10 fails
Summary: The inittial start of openafs1.2.10 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 09:37 UTC by Sven Sternberger
Modified: 2003-10-19 22:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for /etc/init.d/afs (afs.patch,812 bytes, patch)
2003-08-08 21:57 UTC, Steven Jenkins
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.