group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #31177
[Bug 1831981] Re: aptdaemon frontend locking, locking fixes
This bug was fixed in the package aptdaemon - 1.1.1+bzr982-0ubuntu21.1
---------------
aptdaemon (1.1.1+bzr982-0ubuntu21.1) disco; urgency=medium
* Various locking fixes (LP: #1831981)
- Implement frontend locking (incl. fixup from 0ubuntu24)
- Adjust locking order to match APT
- Use reverse order for unlocking
* Test suite fixes:
- Fix failing tests and disable ones we do not care about anymore (PK/PEP8)
- Make failing tests fail the build again
-- Julian Andres Klode <juliank@xxxxxxxxxx> Fri, 07 Jun 2019 12:42:20
+0200
** Changed in: aptdaemon (Ubuntu Disco)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1831981
Title:
aptdaemon frontend locking, locking fixes
Status in aptdaemon package in Ubuntu:
Fix Released
Status in aptdaemon source package in Xenial:
Fix Committed
Status in aptdaemon source package in Bionic:
Fix Released
Status in aptdaemon source package in Cosmic:
Fix Committed
Status in aptdaemon source package in Disco:
Fix Released
Status in aptdaemon source package in Eoan:
Fix Released
Bug description:
[Impact]
aptdaemon needs to implement frontend locking to avoid it hijacking dpkg status lock from clients that do implement frontend locking; and in order to be protected from apt clients that acquire the status lock (which they won't do if aptdaemon holds the frontend lock).
This also change the locking order to lock in APT order, and the
unlock order becomes the reverse of that so that the behavior is sane
wrt other clients, as it was somewhat broken.
[Test case]
Lock /var/lib/dpkg/lock-frontend and then try do so something with aptdaemon, it should not be possible until you release lock-frontend.
[Regression potential]
There may be other race conditions appearing now due to the order of (un)locking changing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1831981/+subscriptions