Re: fedora-release-$PRODUCT, /etc/issue, /etc/os-release, Per-Product Configs and more!

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

 



On Mon, Jun 30, 2014 at 03:44:26PM -0400, Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 06/30/2014 03:39 PM, Lennart Poettering wrote:
> > On Mon, 30.06.14 14:59, Stephen Gallagher (sgallagh@xxxxxxxxxx)
> > wrote:
> > 
> >> 2) The fedora-release-$PRODUCT package (and possibly %post or
> >> systemd snippets therein) will be responsible for the creation
> >> and maintenance of /etc/issue, /etc/os-release and
> >> /etc/fedora-release-product (note: there is no $ there. That's
> >> the literal name. This file will be equivalent to
> >> /etc/fedora-release except that it will include the Product
> >> name.
> > 
> > Probably quite unrelated to the actual topic of this thread, but I
> > just wanted to mention that we intend to move /etc/os-release to 
> > /usr/lib/os-release (and make /etc/os-release a symlink). We are
> > working on making factory reset/stateless stuff work on Fedora, and
> > this actually turned out to be one of the surprisingly few
> > incomptibilities (the two other being dbus and PAM) we ran into.
> > Placing this in /usr/lib is certainly the most appropriate place
> > for it, after all it describes what /usr actually contains, not
> > what /etc contains...
> > 
> > Anyway, just wanted to mention this. We will soon upload a new
> > systemd release to Rawhide, that prepares everything for moving the
> > file, will then file a bug against fedora-release asking for the
> > file to be moved.
> 
> 
> Sure, the real-world location of this file is pretty much immaterial,
> as long as we get it created properly.

Provided the symlink remains in place for a very long time ...

> Any chance that systemd wants to build a hostnamectl-like interface
> for setting the os-release values? That would make life a lot easier
> on us, as we could reconfigure that file if-and-when a
> fedora-release-$PRODUCT package was installed in a %post snippet.

As long as you don't require running special programs in order to make
changes to what are basically configuration files.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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