[Bug 1795614] Re: packagekit frontend locking

Julian Andres Klode 1795614 at bugs.launchpad.net
Thu Oct 18 13:45:53 UTC 2018


I verified by creating a prerm script for packagekit-tools with sleep 20
in it, and then looked at the locks while that was sleeping:

# lslocks
COMMAND           PID  TYPE SIZE MODE  M START END PATH
cron              415 FLOCK   4B WRITE 0     0   0 /run/crond.pid
packagekitd      3374 POSIX   0B WRITE 0     0   0 /var/lib/dpkg/lock-frontend
packagekitd      3374 POSIX   0B WRITE 0     0   0 /var/cache/apt/archives/lock
atd               406 POSIX   4B WRITE 0     0   0 /run/atd.pid
dpkg             3500 POSIX   0B WRITE 0     0   0 /var/lib/dpkg/lock

We can see the packagekitd holds the frontend lock, and dpkg holds the
lock.

-- 
You received this bug notification because you are a member of
PackageKit-Team, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/1795614

Title:
  packagekit frontend locking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1795614/+subscriptions



More information about the Ubuntu-reviews mailing list