<div dir='auto'><div><br><div class="gmail_extra"><br><div class="gmail_quote">Am 07.05.2024 22:56 schrieb Richard Lewis <richard.lewis.debian@googlemail.com>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Luca Boccassi <bluca@debian.org> writes:
<br>
<br>
> qwhat would
<br>
> break where, and how to fix it?
<br>
<br>
Another one for you to investigate: I believe apt source and 'apt-get
<br>
source' download and extract things into /tmp, as in the mmdebootstap
<br>
example mentioned by someone else, this will create "old" files that
<br>
could immediately be flagged for deletion causing surprises.</p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">`apt download` and `apt source` download to your current working directory. Same for apt-get.</div><div dir="auto"></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
(People restoring from backups might also find this an issue)<br></p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">I would not expect people to restore to /tmp and expecting that restore to work across a reboot. </div><div dir="auto"><br></div><div dir="auto">And to be honest, I find the expectation to have any guarantee on files in /tmp or /var/tmp across a reboot quite surprising. The directories are named "tmp" because they are meant as temporary storage, which implies automatic deleting at some point IMHO.</div><div dir="auto"><br></div><div dir="auto">Now, bad choices by various tools have been mentioned, so a cleaner for these directories that runs outside a reboot has to be careful anyhow. But during a reboot? I don't think that should be too much of a problem. </div><div dir="auto"><br></div><div dir="auto">Cheers, </div><div dir="auto">Sven</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"></p></blockquote></div></div></div></div>