Comment 0 for bug 2067585

Revision history for this message
Julian Andres Klode (juliank) wrote :

[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.