Quoting Francesco Poli (2022-01-13 23:52:02) > On Mon, 10 Jan 2022 23:18:36 +0100 Johannes Schauer Marin Rodrigues > wrote: > > [...] > > You could set TMPDIR to a location that has enough space. > > I had tried, if you recall. > But you told me that the temporary directory must be world-writable > (and preferably with the sticky bit set) and all the directories in the > path must be world-readable. > > This rules out anything within my home directory (setting my home > directory as world-readable is out of the question). > > We have already seen that my /tmp lives in a partition which is too > small. > > I would rather not create some non-FHS directory for this specific > purpose: it would effectively be a second non-standard /tmp directory > somewhere... > > So, what's left?!? > > Is /dev/shm a possible choice? > > $ df --si /dev/shm > Filesystem Size Used Avail Use% Mounted on > tmpfs 8.3G 108M 8.2G 2% /dev/shm > > It's half the size of my main memory and it's within the main memory. > Should I try to set TMPDIR=/dev/shm ?
yes, I think that's worth a try. Other than that, you could run mmdebstrap with --mode=fakechroot which, in comparison to unshare mode, doesn't require the world-readable path for the TMPDIR. Thanks! cheers, josch
signature.asc
Description: signature