Re: Bug#179125: maintainer scripts tries to exec script in /tmp
Quoting Oliver Elphick <email@example.com>:
> On Tue, 2003-02-04 at 09:08, Christian Kurz wrote:
> > So I guess that the error message above was generated by debconf which
> > wanted to configure the package. I think I've seen the same error
> > message, when I had once mounted tmp with noexec on a machine. I might
> > be wrong about supposing that it's debconf that fails, but at least I'm
> > pretty sure that it's not the postinst. Otherwise I would ask you or
> > somebody else to explain to me since when the postinst is run at
> > preconfiguration time. Maybe this helps you a bit finding the real
> > mistake, since I'm having the feeling that the discussion on -devel
> > centered around the wrong assumption.
> I'm surprised that he hasn't been bitten by this before, but it is
> obviously debconf that is doing it.
> > If you want to quote parts of this e-Mail on -devel for the other people
> > discussing the issue, I'll give you permission. If I made some mistake
> > and my whole analyzation of the situation is false, then I apologize for
> > my mistake and accept that I was wrong.
> You seem to be entirely correct.
That indeed looks like the source of the problem, and thr truth is I have seen
that message from debconf before... So it seems there's a config option to tell
apt where to store temporary files. I'll fix my system and you can close the bug.
In the meantime, it looks like we've sussed out a potential error in your
package, so if you can use TMPDIR instead of /tmp that would be great.