From b98232208f580e7b2677af87fb22d21f61a0509a Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 25 Sep 2014 11:39:16 +0200 Subject: Use /var/empty as the homedir for _apt Thanks to Axel Beckert --- debian/apt.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/apt.postinst b/debian/apt.postinst index fab026504..a538abde9 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -27,8 +27,8 @@ case "$1" in fi # add unprivileged user for the apt methods - adduser --force-badname --system --no-create-home \ - --quiet _apt || true + adduser --force-badname --system -home /var/empty \ + --no-create-home --quiet _apt || true chown -R _apt:root \ /var/lib/apt/lists \ /var/cache/apt/archives -- cgit v1.2.3