Leftover /tmp/apt-key.* files after updates with embedded gpg keys in deb822 sources
Bug #1995247 reported by
Julian Andres Klode
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Julian Andres Klode | ||
Jammy |
Fix Released
|
High
|
Julian Andres Klode | ||
Kinetic |
Won't Fix
|
High
|
Julian Andres Klode | ||
Lunar |
Fix Released
|
High
|
Julian Andres Klode |
Bug Description
[Impact]
When keys are embedded into deb822 sources files as Signed-By, apt writes them to a temporary file, but the code to delete them accidentally had an if (0) in front of the deletion, so they don't get deleted and accumulate with each `apt update` run.
[Test plan]
Including a test case for this in our comprehensive integration test suite which runs as autopkgtest, so passing autopkgtest = good.
[Where problems could occur]
Files could end up being removed too soon if the code is otherwise wrong?
Changed in apt (Ubuntu Lunar): | |
status: | New → Triaged |
Changed in apt (Ubuntu Kinetic): | |
status: | New → Triaged |
Changed in apt (Ubuntu Jammy): | |
status: | New → Triaged |
Changed in apt (Ubuntu Lunar): | |
status: | Triaged → In Progress |
Changed in apt (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Kinetic): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Lunar): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Jammy): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in apt (Ubuntu Kinetic): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in apt (Ubuntu Lunar): | |
assignee: | nobody → Julian Andres Klode (juliank) |
tags: | added: foundations-todo |
Changed in apt (Ubuntu Kinetic): | |
status: | Triaged → In Progress |
Changed in apt (Ubuntu Jammy): | |
status: | Triaged → In Progress |
tags: | removed: foundations-todo |
To post a comment you must log in.
2.5.4 uploaded to unstable.