[OpenAFS] Update squeeze openafs-fileserver to squeeze-backports
Russ Allbery
rra@stanford.edu
Fri, 04 Oct 2013 09:30:04 -0700
Torbj=C3=B6rn Moa <moa@fysik.su.se> writes:
> I don't know if this is at all related, but I vaguely recall having had
> a similar problem. It turned out that the cell name string in
> /etc/openafs/ThisCell, as made by the initial installation config,
> didn't have a line termination, which made the upgrade config script
> choke when trying to read it. Consequently, it was easily fixed by just
> adding a <CR> at the end of the line.
> But then again, this may not be your problem at all, although the
> symptoms are quite similar.
Oh! It's failing in the *.config script! Of course. That's why the -x
output goes away; that script is being run by debconf and it's a separate
script that doesn't have -x.
# Configure the client cell. Default to the current ThisCell file and,
# failing that, the lowercased local domain name, if available. Ignore err=
ors
# on read, since it may fail if there's no newline in the file.
if [ -r /etc/openafs/ThisCell ] ; then
read cell < /etc/openafs/ThisCell
db_set openafs-client/thiscell "$cell"
fi
Well, the comment indicates that I knew about this problem at some point,
but I see no sign of actually doing what the comment says it should be
doing. On the other hand, I can't figure out why that read would fail
when there's no trailing newline (it doesn't for me with either bash or
dash).
--=20
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>