[Debconf-devel] Bug#1028128: debconf: Please support /var/cache/debconf/tmp.ci being a tmpfs

Niels Thykier niels at thykier.net
Sat Jan 7 15:04:20 GMT 2023


Package: debconf
Version: 1.5.81
Severity: wishlist
X-Debbugs-Cc: niels at thykier.net


Hi,

Thanks for change to make dpkg-preconfigure no longer assume /tmp is 
mounted with `exec` (or without `noexec`).

When trying it out, I decided to make `/var/cache/debconf/tmp.ci` a 
tmpfs (with `exec` mounted) as a means to avoid unnecessary writes to 
the disk.  This results in the following warnings from dpkg-preconfigure:

```
[... apt output here ...]
Need to get 0 B/357 kB of archives.
After this operation, 11,3 kB disk space will be freed.
Do you want to continue? [Y/n]
cannot remove directory for /var/cache/debconf/tmp.ci: Device or 
resource busy at /usr/sbin/dpkg-preconfigure line 73.
cannot remove directory for /var/cache/debconf/tmp.ci: Device or 
resource busy at /usr/sbin/dpkg-preconfigure line 159.
(Reading database ... 126341 files and directories currently installed.)
[... dpkg log from here ...]
```

It does not seem to cause errors or problems, but I would prefer not 
having "warnings". Therefore, I was hoping dpkg-preconfigure would 
adopt/support this particular configuration as a supported 
(warning-free) method.

(Note, I appreciate it is close to the freeze and I do not mind waiting 
until after the release with the fix.  In particular if it avoids you 
having to "rush" things in your end)

Thanks,
~Niels



More information about the Debconf-devel mailing list