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

Andrew Deason adeason@sinenomine.net
Thu, 3 Oct 2013 14:47:39 -0500

On Thu, 03 Oct 2013 11:39:34 -0700
Russ Allbery <rra@stanford.edu> wrote:

> > > + exec /usr/share/debconf/frontend  configure
> set -x doesn't follow shell scripts through debconf because debconf does
> some black magic to reinvoke the script.  It's one of the things that
> makes debugging postinst scripts so "interesting."

I'm not sure if it matters, and sorry if this is getting too far off
topic, but I'm not following this as the reason. It's invoking
/usr/share/debconf/frontend, which at least for a debian system I'm
glancing at, is a perl script, so of course the perl isn't going to
honor 'set -x'. But if you mean that that perl reinvokes the original
postinst shell script, I don't see how it could do so; how does it know
which script to run?

Andrew Deason