]> git.saurik.com Git - apt.git/commit
disable privilege-drop verification by default as fakeroot trips over it
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 28 Nov 2015 12:17:57 +0000 (13:17 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 28 Nov 2015 12:30:29 +0000 (13:30 +0100)
commitebca2f254ca96ad7ad855dca6e76c9d1c792c4a0
tree20ccd9b6f358db0c30745b67cbee79e54c50f00f
parentd5e7aa2a60076bf9924d4a62ad19a04951f4759a
disable privilege-drop verification by default as fakeroot trips over it

Dropping privileges is an involved process for code and system alike so
ideally we want to verify that all the work wasn't in vain. Stuff
designed to sidestep the usual privilege checks like fakeroot (and its
many alternatives) have their problem with this through, partly through
missing wrapping (#806521), partly as e.g. regaining root from an
unprivileged user is in their design. This commit therefore disables
most of these checks by default so that apt runs fine again in a
fakeroot environment.

Closes: 806475
apt-pkg/contrib/fileutl.cc
test/integration/framework