Package: debdelta
Version: 0.56
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + debdelta-doc

Hi,

during a test with piuparts I noticed your package left processes
running after the package has been removed and/or purged.

In https://lists.debian.org/debian-devel/2009/08/msg00182.html and
followups it has been agreed that these bugs are to be filed with
severity serious.

>From the attached log (scroll to the bottom...):

0m49.3s ERROR: FAIL: Processes are running inside chroot:
  COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
  gpg-agent 11803 root  cwd    DIR   0,21      440 3463512416 
/tmp/piupartss/tmpGfwH0w
  gpg-agent 11803 root  rtd    DIR   0,21      440 3463512416 
/tmp/piupartss/tmpGfwH0w
  gpg-agent 11803 root  mem    REG   0,21  1787812 3463515254 
/tmp/piupartss/tmpGfwH0w/lib/i386-linux-gnu/libc-2.24.so
  gpg-agent 11803 root  mem    REG   0,21   132408 3463515240 
/tmp/piupartss/tmpGfwH0w/lib/i386-linux-gnu/libpthread-2.24.so
  gpg-agent 11803 root  mem    REG   0,21    87432 3463515211 
/tmp/piupartss/tmpGfwH0w/lib/i386-linux-gnu/libgpg-error.so.0.21.0
  gpg-agent 11803 root  mem    REG   0,21   842884 3463515213 
/tmp/piupartss/tmpGfwH0w/lib/i386-linux-gnu/libgcrypt.so.20.1.5
  gpg-agent 11803 root  mem    REG   0,21   146716 3463515258 
/tmp/piupartss/tmpGfwH0w/lib/i386-linux-gnu/ld-2.24.so
  gpg-agent 11803 root    0r   CHR    1,3      0t0 3463498470 
/tmp/piupartss/tmpGfwH0w/dev/null
  gpg-agent 11803 root    1w   CHR    1,3      0t0 3463498470 
/tmp/piupartss/tmpGfwH0w/dev/null
  gpg-agent 11803 root    2w   CHR    1,3      0t0 3463498470 
/tmp/piupartss/tmpGfwH0w/dev/null


This agent is automatically started by the gpg command in the postinst script
unfortunately there is no option to automatically terminate such a temporary
agent. But you could add the following command to your postinst,
directly after the gpg command, to terminate the agent:

    gpgconf --homedir ${GPG_HOME} --kill gpg-agent || true


cheers,

Andreas

Attachment: debdelta_0.56.log.gz
Description: application/gzip

Reply via email to