Re: Bug#644788: Bug#654116: RFH: screen -- terminal multiplexor with VT100/ANSI terminal emulation
On 01/04/2012 10:24 PM, Axel Beckert wrote:
> Hi Simon,
> Simon McVittie wrote:
>> On Mon, 02 Jan 2012 at 16:26:55 -0500, Yaroslav Halchenko wrote:
>>> On Mon, 02 Jan 2012, Axel Beckert wrote:
>>>>> /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).
>>> 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 ?
>> Would it be enough for the "your old screen binary is
>> /tmp/screen-yhpoe8r/screen" notice to also say "if your /tmp is mounted
>> noexec, you might need to copy it elsewhere to run it"?
> That's my current plan -- with the noexec notice just being displayed
> if /tmp actually is mounted noexec.
Good plan, but I'd also vouch for few lines in the release notes, still.
Even you are planning on doing it with debconf, which after all,
is the only thing we should do (just echoing on the console is bad).