[Bug 1829860] Re: APT unlocks in same order as it locks
Julian Andres Klode
julian.klode at canonical.com
Fri Aug 9 09:33:09 UTC 2019
** Description changed:
[Impact]
APT releases the locks in the same order it acquires them, rather than reverse order. Given that we have no waiting for locks, this is not _super_ problematic, but it might be wrong: You'd get a lock failure on dpkg's lock, rather than lock-frontend.
[Test case]
- ...
+ Watch lock release with strace and see that it unlocks the right way.
[Regression potential]
...
** Changed in: apt (Ubuntu Disco)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1829860
Title:
APT unlocks in same order as it locks
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Xenial:
New
Status in apt source package in Bionic:
New
Status in apt source package in Disco:
In Progress
Bug description:
[Impact]
APT releases the locks in the same order it acquires them, rather than reverse order. Given that we have no waiting for locks, this is not _super_ problematic, but it might be wrong: You'd get a lock failure on dpkg's lock, rather than lock-frontend.
[Test case]
Watch lock release with strace and see that it unlocks the right way.
[Regression potential]
Some other locking races or something?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1829860/+subscriptions
More information about the foundations-bugs
mailing list