Upgrades to noble chmod /dev/null 644
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Critical
|
Nick Rosbrook | ||
Noble |
Fix Released
|
High
|
Nick Rosbrook |
Bug Description
[Impact]
Upgrades to noble chmod /dev/null 644, breaking use of the device on multi-user systems for non-root.
[Test plan]
Upgrade from mantic to noble:
1. do-release-upgrade --proposed
2. check that /dev/null remains 666
[Where problems could occur]
This patch makes apt use a tempfile for extended_states during the dist-upgrade simulation. The change is confined to the simulation, so that is where we would see problems, potentially about the permissions/
[Details]
This is a regression of the fix for bug 2064090, where we pointed apt_pkg.
The fix for this is to create a temporary file for extended_states, and then remove the temporary file at the end of the simulation.
Related branches
- Julian Andres Klode: Approve
-
Diff: 176 lines (+16/-104)3 files modifiedDistUpgrade/DistUpgradeController.py (+13/-10)
DistUpgrade/DistUpgradeQuirks.py (+3/-45)
tests/test_quirks.py (+0/-49)
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Triaged |
assignee: | nobody → Nick Rosbrook (enr0n) |
tags: | added: foundations-todo |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
This bug was fixed in the package ubuntu- release- upgrader - 1:24.10.4
--------------- release- upgrader (1:24.10.4) oracular; urgency=medium
ubuntu-
* DistUpgrade: drop quirk for systems with BIOS and XFS /boot (LP: #2067886)
* DistUpgrade: use tempfile for apt extended_states during simulation
(LP: #2067585)
* DistUpgradeQuirks: drop t64 replacement quirk
* Run pre-build.sh: updating mirrors, demotions, and translations.
-- Nick Rosbrook <email address hidden> Wed, 05 Jun 2024 16:58:21 -0400