apt-key adv should gpgconf --kill all the things after execution
Bug #1773992 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Medium
|
Julian Andres Klode | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
dirmngr processes are left hanging around after doing key server stuff with apt-key adv.
[Test case]
apt-key adv --recv-keys "8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092" < /dev/null ; sleep 2; ps aux
should not show a dirmngr process (except for any that was there before running it, obviously).
[Regression potential]
This just kills more processes using the temporary gpg home directory. It's hard to imagine what could go wrong there. Maybe gpgconf could go mad and kill the wrong process, who knows?
[Original bug report]
apt-key adv should gpgconf --kill all the things after execution
to ensure that e.g. dirmngr processes are not left hanging around
Changed in apt (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in apt (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in apt (Ubuntu Bionic): | |
status: | New → In Progress |
status: | In Progress → Triaged |
description: | updated |
description: | updated |
description: | updated |
Changed in apt (Ubuntu Bionic): | |
status: | Triaged → In Progress |
To post a comment you must log in.
So, we should do gpgconf --kill for everything and not just for gpg-agent? Hmm. Sounds like a job for a for loop.