diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-11-28 13:17:57 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-28 13:30:29 +0100 |
commit | ebca2f254ca96ad7ad855dca6e76c9d1c792c4a0 (patch) | |
tree | 20ccd9b6f358db0c30745b67cbee79e54c50f00f /test/integration/framework | |
parent | d5e7aa2a60076bf9924d4a62ad19a04951f4759a (diff) |
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
Diffstat (limited to 'test/integration/framework')
-rw-r--r-- | test/integration/framework | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework index 292a7b958..ce10002ec 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -370,6 +370,8 @@ EOF # in testcases, it can appear as if localhost has a rotation setup, # hide this as we can't really deal with it properly echo 'Acquire::Failure::ShowIP "false";' + # fakeroot can't fake everything, so disabled in production but good for tests + echo 'APT::Sandbox::Verify "true";' } >> aptconfig.conf cp "${TESTDIRECTORY}/apt.pem" "${TMPWORKINGDIRECTORY}/rootdir/etc/webserver.pem" |