On Mon, 3 Nov 2025 22:21:19 GMT, Sergey Bylokhov <[email protected]> wrote:

> But still, according to that document, the correct location for storing the 
> file is /usr/lib/os-release, while /etc/xx is only a compatibility 
> workaround. Since we’ve already moved from an unspecified or non-standard 
> behavior to the standard one, why not follow the specification completely?

No, according to the [/etc/os-release man 
page](https://www.freedesktop.org/software/systemd/man/latest/os-release.html):

_"The file /etc/os-release takes precedence over /usr/lib/os-release. 
Applications should check for the former, and exclusively use its data if it 
exists, and only fall back to /usr/lib/os-release if that is missing."_

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28073#discussion_r2488048799

Reply via email to