Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Support configs in /usr/lib/ostree/ that get overridden by configs in /etc #1809

Open
sinnykumari opened this issue Feb 1, 2019 · 4 comments

Comments

@sinnykumari
Copy link
Collaborator

While having a discussion on Fedora CoreOS communit meeting, it came up that it will be a nice feature to support having configs in /usr/lib/ostree/ . Users can override these configs if needed by specifying it in /etc/ . This will allow us to debug and fix easily if any issue occurs on the user's machine is due to their local config changes.

@sinnykumari
Copy link
Collaborator Author

We can make use of this feature in coreos/fedora-coreos-tracker#143 , where we are planning to ship ostree remote config in an rpm.

@jlebon
Copy link
Member

jlebon commented Feb 1, 2019

To clarify, there are two major kinds of config files in OSTree: repo configs and remote configs. To make matters more complicated, in non system scenarios, remote configs are stored in the repo config directly.

For the purposes of this ticket though, we're essentially talking about remote configs in system scenarios, right? IOW, I think we're talking about a /usr/lib/ostree/remotes.d dir with overrides in /etc/ostree/remotes.d and possibly /run/ostree/remotes.d?

@sinnykumari
Copy link
Collaborator Author

For the purposes of this ticket though, we're essentially talking about remote configs in system scenarios, right? IOW, I think we're talking about a /usr/lib/ostree/remotes.d dir with overrides in /etc/ostree/remotes.d

Yes, we are talking here (coreos/fedora-coreos-tracker#143) about having remote config in `/usr/lib/ostree/remotes.d/ dir with overrides in /etc/ostree/remotes.d/ .

I made this RFE generic because I thought we might have other configs as well which we want to override.

and possibly /run/ostree/remotes.d?

didn't know that this exist as well

@rfairley
Copy link
Member

Related: #1801 to support {/etc,/usr/lib}/ostree/bootloaders (once sysroot.bootloader is a repo config key in #1814).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants