Re: F35 Change: "Fedora Linux" in /etc/os-release

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

 



On Tue, Mar 09, 2021 at 10:19:53PM -0500, Neal Gompa wrote:
> Fedora actually *has* other things branded Fedora today, and may do so
> for more things in the future. They don't have the opportunity to get
> attention because our ability to present ourselves beyond the Linux
> distribution sucks.
> 
> > Overall, ust..... no. Deliberately breaking every ansible, chef, or
> > other deployment tools that check /etc/os-release for a consistent
> > operating system reference name is not a benefit to anyone.
> 
> Ansible uses ID and VERSION_ID, which are not changing, so this will
> have no impact there.

No, ansible uses NAME from /etc/os-release. ID is used only from
/usr/lib/os-release. See

https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts/system/distribution.py#L390

But /etc/redhat-release seems to be preferred over /etc/os-release, so
I guess this change won't have an impact on the "distribution"
variable.

-- 
Miroslav Lichvar
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux