[Bug 2058035] Update Released
Timo Aaltonen
2058035 at bugs.launchpad.net
Thu May 30 15:42:26 UTC 2024
The verification of the Stable Release Update for software-properties
has completed successfully and the package is now being released to
-updates. Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2058035
Title:
[SRU] Create directories for apt configuration files if they are
absent
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Xenial:
Fix Released
Bug description:
Impact
------
The autopkgtest for 0.96.20.12, which introduces Ubuntu Pro in
Xenial's software-properties, failed on Dbus tests[1].
The failure is because, at some point in time, the .keep file were
removed from the otherwise empty tests/aptroot/etc/apt/apt.conf.d/.
This caused the Git repository to drop
tests/aptroot/etc/apt/apt.conf.d/ and also its parent, which also
became empty, and the tests try to directly create files in those
directories, raising the error.
It seems that previous uploaders did not use the Git checkout, as the
offending commit was introduced in Jun 2019 and there were subsequent
uploads that did contain those empty directories.
Test case
---------
Trigger an autopkgtest against the proposed package version. It must
succeed.
Regression Potential
--------------------
Although the introduced change is idempotent, there could be other
part of the code assuming the directories didn't exist and trying to
create them with a "fail if already exists" approach, causing a
runtime regression.
[1]
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
xenial/xenial/amd64/s/software-
properties/20240301_100314_9e242@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2058035/+subscriptions
More information about the foundations-bugs
mailing list