← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1831981] Re: aptdaemon frontend locking, locking fixes

 

This bug was fixed in the package aptdaemon - 1.1.1+bzr982-0ubuntu14.1

---------------
aptdaemon (1.1.1+bzr982-0ubuntu14.1) xenial; 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
    - Make failing tests fail the build again
    - debian/tests/control: Depend on gir1.2-vte-2.91, not gir1.2-vte-2.90

 -- Julian Andres Klode <juliank@xxxxxxxxxx>  Wed, 03 Jul 2019 12:39:38
+0200

** Changed in: aptdaemon (Ubuntu Xenial)
       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 Released
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