[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977877: console-setup: setupcon --setup-dir ... generates temporary file name inside etc/console-setup directory



On Thu, Feb 06, 2025 at 10:38:43AM +0000, Adithya.Balakumar@toshiba-tsip.com wrote:
> 
> I may have overlooked a simpler solution to the reproducibility problem I 
> mentioned. I was wondering if we could copy the temporary file to 
> /etc/console-setup with a constant name (in [1]).

The problem is the creation of files with predictable names in a world-writable 
directory like /tmp.

> This does not tweak anything related to the temp file creation itself (either in 
> /tmp or /run) but just rename the file when being copied to /etc/console-setup.

Since /etc/console-setup is not world-writable, I think this should be ok.

Anton Zinoviev


Reply to: