Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1232008

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

From Anton Zinoviev <anton@lml.bas.bg>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot
Subject Bug#977877: console-setup: setupcon --setup-dir ... generates temporary file name inside etc/console-setup directory
Date 2025-02-06 17:00 +0100
Message-ID <Kdcsh-eRHg-7@gated-at.bofh.it> (permalink)
References (1 earlier) <KaXxn-di5H-11@gated-at.bofh.it> <KaXxn-di5H-7@gated-at.bofh.it> <Kdcsh-eRHg-9@gated-at.bofh.it> <KaXxn-di5H-9@gated-at.bofh.it> <Kdcsh-eRHg-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#977877: console-setup: setupcon --setup-dir ... generates temporary file name  inside etc/console-setup directory Anton Zinoviev <anton@lml.bas.bg> - 2025-01-31 12:40 +0100
  Bug#977877: console-setup: setupcon --setup-dir ... generates temporary file name  inside etc/console-setup directory Anton Zinoviev <anton@lml.bas.bg> - 2025-02-06 17:00 +0100

csiph-web