Explicitly label .origin files as configuration

subscription-manager has a daemon that runs in a confined domain,
and it doesn't have permission to write usr_t, which is the default
label of /ostree/deploy/$osname/deploy.

A better long term fix is probably to move the origin file into the
deployment root as /etc/ostree/origin.conf or so.

In the meantime, let's ensure the .origin files are labeled as
configuration.
This commit is contained in:
Colin Walters committed 2015-01-23 12:44:06 -05:00
1 parent 8f4999c854
commit 6ce80f9685
5 files changed
+99 -7

No files matched your search

+2
View File
@@ -34,6 +34,8 @@ struct OstreeSysroot {
gboolean loaded;
OstreeSePolicy *sepolicy;
GPtrArray *deployments;
int bootversion;
int subbootversion;