Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97480 - OpenAFS Server may break client if DNS not up
Summary: OpenAFS Server may break client if DNS not up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 04:59 UTC by Tommie
Modified: 2005-09-01 17:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommie 2005-06-30 04:59:03 UTC
Since OpenAFS is pretty fragile, it is not surprising that the server can break 
the client.

My problem was the vlserver and ptserver wouldn't start (bosserver gave up 
after 13 tries) because /etc/hosts didn't have a mapping of my hostname to IP. 
I rely on the DNS server on the same machine. However, since afs.server doesn't 
depend on DNS, this would happen every reboot. The result was my AFS client (on 
localhost) crashed in kernel and would not start again.

I suggest adding a "after dns" in the depend of afs.server, much in the line of 
doing a "after afs.server" in afs.client. This means the script will work for 
users with /etc/hosts and with DNS.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-30 14:30:07 UTC
OpenAFS needs a developer to take up maintenance.
Comment 2 Gerte Hoogewerf 2005-07-02 05:45:09 UTC
I'm would like to maintain the ebuilds.
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2005-07-02 05:50:16 UTC
In order to maintain a package, you need to be a Gentoo developer.
To see what is needed to become a developer, please read
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml.
Comment 4 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-01 17:50:28 UTC
Added "use dns" to both afs-client and afs-server init-scripts.  See
openafs-1.4.0rc2.