From: Christian Couder Date: Wed, 19 Jun 2024 14:01:57 GMT Subject: Re: [PATCH 0/3] Advertise OS version Message-ID: In-Reply-To: <04b714d3e949c30bae0e26231e923fc4@manjaro.org> On Wed, Jun 19, 2024 at 3:50 PM Dragan Simic wrote: > > I don't mind if this is present but disabled by default, but then I > > guess it is not really serving much of a purpose, as hardly anybody > > would enable it. Which makes collecting large-scale statistics by > > hosting providers pretty much useless (and I don't think it is all that > > useful for debugging individual cases). > > I agree that it should actually be disabled by default, for privacy > and security reasons, but that would actually defeat its purpose, so > I'm not really sure should it be merged. One possibility is to send just the `sysname`, described as 'Operating system name (e.g., "Linux")', field of the struct utsname filled out by uname(2) by default. It should be the same as what `uname -s` prints, so "Linux" for a Linux machine, and might be acceptable regarding privacy concerns. And then there might be a knob to deactivate it completely or to make it more verbose (which might be useful for example in a corporate context).