On Thu, 6 Feb 2025 17:47:16 +0200 Anton Zinoviev <an...@lml.bas.bg> wrote: > On Thu, Feb 06, 2025 at 10:38:43AM +0000, adithya.balaku...@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 > >
Hi Anton, Thanks for the feedback. Based on the idea above, I have attached a revised patch. Please have a look at the patch and let me know if you have any concerns. Thanks and Regards, Adithya Balakumar
0001-setupcon-Copy-temp-files-into-etc-console-setup-with.patch
Description: 0001-setupcon-Copy-temp-files-into-etc-console-setup-with.patch