[Bug 2067585] [NEW] Upgrades to noble chmod /dev/null 644
Julian Andres Klode
2067585 at bugs.launchpad.net
Thu May 30 09:32:22 UTC 2024
Public bug reported:
[Impact]
Upgrades to noble chmod /dev/null 644, breaking use of the device on multi-user systems for non-root.
[Test plan]
1. do-release-upgrade mantic -> noble
2. check that /dev/null remains 666
[Where problems could occur]
[Details]
This is a regression of the fix for bug 2064090, where we pointed apt_pkg.config["Dir::State::extended_states"] = "/dev/null" in the simulation to not lose the automatically installed bit, as we need that later, apt chmod's it extended_states.
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.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Critical
Assignee: Nick Rosbrook (enr0n)
Status: Triaged
** Tags: foundations-todo regression-update
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => Critical
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-release-upgrader (Ubuntu)
Assignee: (unassigned) => Nick Rosbrook (enr0n)
** Tags added: foundations-todo
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2067585
Title:
Upgrades to noble chmod /dev/null 644
Status in ubuntu-release-upgrader package in Ubuntu:
Triaged
Bug description:
[Impact]
Upgrades to noble chmod /dev/null 644, breaking use of the device on multi-user systems for non-root.
[Test plan]
1. do-release-upgrade mantic -> noble
2. check that /dev/null remains 666
[Where problems could occur]
[Details]
This is a regression of the fix for bug 2064090, where we pointed apt_pkg.config["Dir::State::extended_states"] = "/dev/null" in the simulation to not lose the automatically installed bit, as we need that later, apt chmod's it extended_states.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2067585/+subscriptions
More information about the foundations-bugs
mailing list