[OpenAFS] Re: Update squeeze openafs-fileserver to squeeze-backports

Russ Allbery rra@stanford.edu
Thu, 03 Oct 2013 13:46:44 -0700

Andrew Deason <adeason@sinenomine.net> writes:

> But it's not, according to the 'set -x' output. There is no script
> filename passed to .../frontend. It's running this, which is why I put
> it back in the quoted context:

>> > > + exec /usr/share/debconf/frontend  configure

Oh, indeed, I missed that.  Hm.

>> I suspect the actual problem isn't so much that, now that I've looked
>> at it more, but with this bit:
>> # Only do this once.
>> if [ -z "$DEBCONF_REDIR" ]; then

> But we're not running this. If we ran that, it would appear in the 'set
> -x' output at least once, before output was redirected. (Unless
> .../frontend is re-running the script and redirecting output before it
> runs the script, but as mentioned above, I don't see how it could be
> doing that.)

Yeah, there's some piece missing here.  I've never entirely understood how
this stuff works.  I do know that set -x never works with any shell script
that uses debconf (in other words, this is not specific to OpenAFS and has
been an issue for a long time), so there's something that debconf is doing
that prevents it from working, but I don't know exactly what.

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