Colin Walters e580a88f4e SELinux: Ensure we label /var, and fix /etc merge wrt xattrs
First, /var needs to be labeled at least once.  We should probably
rearrange things so that /var is only created (and labeled) on the
first deployment, but this patch adds a /var/.ostree-selabeled file
instead.

Second, when doing the /etc merge, we compare the xattrs of the old
/usr/etc versus the current /etc.  The problem with that is that the
policy has different labels for /usr/etc on disk than the real /etc.

The correct fix for this is a bit invasive - we have to take the
physical content of the old /usr/etc, but compare the labels as if
they were really in /etc.

Instead for now, just ignore changes to xattrs.  If the file
content/mode changes, then we take the new file (including any changed
xattrs).

Bottom line: just doing chcon -t blah_t /etc/foo.conf may be lost on
upgrade (for now).
2014-02-02 11:32:52 -05:00
2014-01-27 09:10:42 -05:00
2014-01-31 08:10:55 -05:00
2014-01-21 08:57:34 +00:00
2014-01-19 11:33:52 -05:00
2012-07-15 11:59:05 -04:00
2013-08-16 22:56:12 -04:00
2014-01-31 08:10:55 -05:00
2013-10-24 14:27:49 -04:00
2013-07-07 14:37:59 -04:00
2014-01-18 04:49:17 -05:00
2014-01-22 11:11:50 +00:00

OSTree is a tool for managing bootable, immutable, versioned filesystem trees. While it takes over some of the roles of tradtional "package managers" like dpkg and rpm, it is not a package system; nor is it a tool for managing full disk images. Instead, it sits between those levels, offering a blend of the advantages (and disadvantages) of both.

For more information, see:

https://live.gnome.org/Projects/OSTree

S
Description
No description provided
Readme
18 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 50.8%
HTML 20.8%
Shell 13.9%
Makefile 12.4%
Yacc 0.7%
Other 1.3%