Hi Yaroslav! Yaroslav Halchenko wrote: > > > I strongly recommend this solution, along with a proper debconf notice. > > [...] > > > /tmp is a good choice because the next reboot will automatically clean > > > up everything (and obviously the old binary will not be needed after > > > a reboot). > > Thanks for that hint. This sounds better (and especially less messy) > > than I thought! :-) > > Thank you Axel for your detailed response and IMHO this is indeed close > to an ideal (lightweight, self-cleaning, etc) resolution for this > scenario. BTW -- what is the take of standards/practices on having /tmp > mounted with noexec [1]?
Good point! /run/shm (IIRC formerly /dev/shm) likely would be an alternative option, too. > I just wondered if that might be worth a check/warning during moving > the binary Indeed. Thanks for this hint! Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120103061704.gu20...@sym.noone.org