Author christian.heimes
Recipients christian.heimes, cstratak, doko, matrixise, r.david.murray, vstinner
Date 2020-11-24.13:28:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606224536.76.0.370159253713.issue28468@roundup.psfhosted.org>
In-reply-to
Content
The os-release file is not tight to systemd. Only the reverse relationship is true: systemd, d-bus and other software require os-release.

The file is present in the minimal base image of distributions like Alpine, ArchLinux, CentOS, Debian, Fedora, RHEL, SUSE, and Ubuntu plus all derivates. In the last three years I have not seen any Linux distribution that is missing the file. The only odd-ball in the list is Alpine. It ships /usr/lib/os-release without the optional but recommended /etc/os-release symlink.

If you know any Linux platform without os-release, please let me know. I'm curious to know which platforms don't have the file and why the platform excludes it.

Python could also follow the lead of other software like D-Bus and make the presence of os-release mandatory on Linux. Any Linux platform without it would be considered broken. I don't think it is necessary to impose such restriction on vendors.
History
Date User Action Args
2020-11-24 13:28:56christian.heimessetrecipients: + christian.heimes, doko, vstinner, r.david.murray, matrixise, cstratak
2020-11-24 13:28:56christian.heimessetmessageid: <1606224536.76.0.370159253713.issue28468@roundup.psfhosted.org>
2020-11-24 13:28:56christian.heimeslinkissue28468 messages
2020-11-24 13:28:56christian.heimescreate