fedora-release-$PRODUCT, /etc/issue, /etc/os-release, Per-Product Configs and more!
Miloslav Trmač
mitr at redhat.com
Wed Jul 2 13:47:26 UTC 2014
----- Original Message -----
> On Wed, Jul 02, 2014 at 10:38:15AM +0200, Karel Zak wrote:
> > It would be really really nice have only *one* file (/etc/os-release)
> > that contains operating system identification data. The mess like
> > /etc/fedora-release and /etc/redhat-release should be deprecated.
>
> Yeah. The tricky thing is providing "sub-release" information when there's
> just one file. Maybe something like "/etc/os-release.d/" could solve the
> problem....
It really seems to me that it’s way too early to generalize this into a general mechanism we don’t really need, but would have to keep supporting for years. AFAICT a (probably Fedora-specific) patch to login(1) that specifically hard-coded detection of a Fedora product, and added an appropriate message in to contents of /etc/issue, would be a smaller maintenance burden than any of the generic proposals, would work just as well, and would give us a full freedom to change our mind about the implementation later.
Mirek
More information about the devel
mailing list