[Bug 1169815] Re: permissions problem

Adam Conrad adconrad at 0c3.net
Sat Apr 11 04:34:05 UTC 2015


Making databses immutable makes them rather difficult to use.  They are,
however, backed up on every dpkg run to /var/lib/dpkg/$db-old, as well
as backed up regularly to /var/backups.

** Changed in: dpkg (Ubuntu)
       Status: New => Invalid

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

Title:
  permissions problem

Status in dpkg package in Ubuntu:
  Invalid

Bug description:
  affects aptitude, apt-get and synaptic:

  /var/lib/dpkg directory and main files should be set immutable (+i) on
  install, thereby preventing contents from being deleted and requiring
  a reinstall to fix. (we should be working on a copy anyways..)

  Since you have to be sudo or root to make changes to packaging
  system(packages) it only makes sense that we limit the power of root
  in such a case not to destroy the packaging system by mistake.

  Just 'being careful' isnt enough. We are required to be root to do anything with packages. We need keep from shooting self in foot. 
  backing up database/required files for proper operation each time packager is called is another option. How feasable, I do not know.

  I am not only one to encounter this.

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



More information about the foundations-bugs mailing list