Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59624 - openafs ebuild and initscript updates
Summary: openafs ebuild and initscript updates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-08-06 09:05 UTC by Johan Ymerson
Modified: 2005-08-16 06:43 UTC (History)
3 users (show)

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


Attachments
Proposed new ebuild (openafs-1.2.11.ebuild,3.42 KB, text/plain)
2004-08-06 09:08 UTC, Johan Ymerson
Details
Proposed new initscript for openafs client (afs-client,5.12 KB, application/octet-stream)
2004-08-06 09:09 UTC, Johan Ymerson
Details
Proposed new initscript for openafs server (afs-server,1.58 KB, application/octet-stream)
2004-08-06 09:10 UTC, Johan Ymerson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Ymerson 2004-08-06 09:05:34 UTC
The current openafs ebuild and initscripts have several problems, here are some:
 - The initscript is unable to determine the CACHESIZE if the filesystem isn't ext2, the cache directory isn't on it's own partition, or the path to the device holding the cache partition is too long.
 - The initscript sometime hang when shutting down the machine, making an unattended reboot quite scary.
 - The initscript sometime leave zombie processes arround when you restart openafs.
 - A reemerge overwrites some configuration files (for example CellServDB and ThisCell).

To correct these problems I have modified the ebuild and initscript. To make it possible to restart the AFS client without restarting the AFS server, I have split the initscript into 2 scripts, afs-server and afs-client.

Reproducible: Sometimes
Steps to Reproduce:
Comment 1 Johan Ymerson 2004-08-06 09:08:45 UTC
Created attachment 36892 [details]
Proposed new ebuild
Comment 2 Johan Ymerson 2004-08-06 09:09:24 UTC
Created attachment 36893 [details]
Proposed new initscript for openafs client
Comment 3 Johan Ymerson 2004-08-06 09:10:01 UTC
Created attachment 36894 [details]
Proposed new initscript for openafs server
Comment 4 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-30 14:30:08 UTC
OpenAFS needs a developer to take up maintenance.
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2005-07-28 09:22:31 UTC
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 initscript doesn't try to determine the CACHESIZE anymore, also because a
cache doesn't necessarily need to be on a seperate partition.  Setting it
correctly has become the administrator's responsibility.  (Though I have read
something about usage of the keyword "AUTOMATIC" inside the cacheinfo file
somewhere, but I need to check this)
The reboot problems with the hanging and the zombie processes should be gone. 
Also the configuration files aren't overwritten anymore during a re-emerge.

It'd be great if this ebuild could be tested to see if it solves the problems
reported.
Comment 6 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-16 06:43:32 UTC
All of the four mentioned problems seem to be fixed.  See latest testing ebuild
in portage.  We however did not implement the solution where there are two
different init scripts available.  If you want to discuss this, please open a
new bug report.