Hi,

On Fri, Feb 11, 2022 at 07:25:12PM +0100, Pascal Dupuis wrote:
> Dear Maintainer,

(I'm not the maintainer)

>    * I ugraded my raspi 3B from raspian (armhf) to debian arm64. To
>      reduce the amount of writes on the SD card, I use tmp.mount with
>         
> Options=mode=1777,strictatime,nosuid,nodev,noexec,size=128M,nr_inodes=400k
>      that's right: in memory, very small size, no exec. With such
>      settings, 'unattended-upgrades' fails as it tries to execute a
>      script from /tmp

Generally `noexec` for /tmp is not a supported configuration on 
Debian, at least while packages are being installed/upgraded.

Nevertheless, do you have log output showing what exactly fails?

>    * other programs are run as: env TMP=/var/tmp some_command
>      in case they require to generate and execute some script. But
>      this approach sometimes fails with unattended-upgrades

Can you verify that TMPDIR does not work? That would be the standard 
name for this environment variable on Linux, not TMP (even though 
Windows calls it that).

Best,
Chris

Reply via email to