[Bug 1795387] [NEW] [FFe] Stop trying apt_pkg.pkgsystem_(un)lock()

Balint Reczey balint.reczey at canonical.com
Mon Oct 1 12:39:18 UTC 2018


Public bug reported:

Lock() can succeed when update-manager is ran as root (not recommended
and not done by default) potentially taking the lock blocking other dpkg
frontends.

Update-manager is typically ran as a normal user thus lock operations
fail and are ignored already.

Dropping the locking operations makes the code less confusing and more
predictable.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Stop trying apt_pkg.pkgsystem_(un)lock()
+ [FFe] Stop trying apt_pkg.pkgsystem_(un)lock()

** Description changed:

  Lock() can succeed when update-manager is ran as root (not recommended
  and not done by default) potentially taking the lock blocking other dpkg
  frontends.
  
  Update-manager is typically ran as a normal user thus lock operations
  fail and are ignored already.
+ 
+ Dropping the locking operations makes the code less confusing and more
+ predictable.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1795387

Title:
  [FFe] Stop trying apt_pkg.pkgsystem_(un)lock()

Status in update-manager package in Ubuntu:
  New

Bug description:
  Lock() can succeed when update-manager is ran as root (not recommended
  and not done by default) potentially taking the lock blocking other
  dpkg frontends.

  Update-manager is typically ran as a normal user thus lock operations
  fail and are ignored already.

  Dropping the locking operations makes the code less confusing and more
  predictable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1795387/+subscriptions



More information about the foundations-bugs mailing list