[Bug 2067585] Re: Upgrades to noble chmod /dev/null 644

Andreas Hasenack 2067585 at bugs.launchpad.net
Fri Jun 14 13:39:21 UTC 2024


Hello Julian, or anyone else affected,

Accepted ubuntu-release-upgrader into noble-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:24.04.19
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Noble)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

-- 
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:
  Fix Released
Status in ubuntu-release-upgrader source package in Noble:
  Fix Committed

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]

  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/existence of the tempfile we use.

  [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