[OpenAFS] little oddity in 1.4.2

Russ Allbery rra@stanford.edu
Sun, 29 Oct 2006 22:15:50 -0800

Juha J=E4ykk=E4 <juolja@utu.fi> writes:

> The key point is *trailing newline*. There *was no* newline (just "cell
> name<EOF>") in ThisCell; adding the newline fixed the issue. Conclusion:
> this change you described was the reason.

> That file was put into place originally by Debian package (the one in
> stable) installation scripts, so all Debian users ought to expect the
> same problem if they let the package scripts create their ThisCell.

That's odd.  I don't think this code has changed, and I don't see any way
that it would create that behavior:

    db_get openafs-client/thiscell
    echo $RET >/etc/openafs/ThisCell

    db_get openafs-fileserver/thiscell
    echo $RET >/etc/openafs/server/ThisCell

echo with no special arguments should always add the newline.

Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>