Hi, I've just gotten a bug on aptitude that may be related to this (#392870). It looks to me like the bug log here (and ExecFork()'s code) gives the answer: apt restores signal handlers after forking, but does NOT restore the signal mask. Something like, eg, sigset_t fullsigs; sigfillmask(&fullsigs); sigprocmask(SIG_UNBLOCK, &fullsigs, NULL); before the exec() would do the trick. I'll implement a workaround in aptitude for now, though. Daniel
Attachment:
signature.asc
Description: Digital signature