Following up on myself here... * Sergio Gelato [2005-08-12 13:14:34 +0200]: > I wonder if using > server=`hostname -f` > in afs-newcell instead of > server=`hostname` > would help.
It helped, in that it got rid of the [] brackets around the IP address. It did not remove the need for AFSDB records in the DNS. And I haven't tested what happens when one changes /etc/hosts to have the unqualified host name first; maybe in that case one does *not* want to use hostname -f. The solution may be to do all the server/CellServDB setup work in the perl script, bypassing "bos addhost". gethostbyname(`hostname -f`) ought to return enough information for this. About the afs-rootvol script: > Alternatively, maybe one could make afs-newcell > create root.cell as well as root.afs, and in the dynroot case one would > temporarily mount root.afs under root.cell in order to populate it. (I > haven't tested this, but I don't see why it couldn't work.) I have now tested it, and it does work. I can submit my modified afs-rootvol on request; it's not quite done yet, since I coded if(1) and unless(1) instead of computing and testing whether we have dynroot. (How to do that test? I'd say vos create root.cell unconditionally, then see if /afs/$cell/. exists. If it does, mount root.afs at /afs/$cell/.root.afs and work from there; else try the old approach.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]