> John Paul Adrian Glaubitz wrote:
> > Also, this would be rather a bug in debconf

According to bug #129289 as of version 0.5.8, apt supports TMPDIR for
determining where apt-extracttemplates puts its temporary files.

So the solution is to provide a separate directory as
APT::ExtractTemplates::TempDir which is accessible by root only
and mounted with exec. You can replace /var/tmp/apt by whatever
directory you provide for root apt temporary files.

cat > /etc/apt/apt.conf.d/00tmpdir <<EOF
APT {
  ExtractTemplates {
    TempDir "/var/tmp/apt";
  }
}

DPkg {
  Pre-Invoke {
    "mkdir -m 0700 -p /var/tmp/apt";
  }
}
EOF


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to