Colin Walters a9c8b1fae1 ex-container: Make /etc/shadow 0400 on import, not post-checkout
Switching to the `_CONSUME` flag revealed an "oh god how did I write that"
bug in the previous patch in https://github.com/projectatomic/rpm-ostree/pull/1046
AKA commit: 334f0b89be271cbe2b9973ebc7eab50f955517e8

The way that actually fixed the bug before was because we were using
hardlink checkouts, and we were operating outside an `rofiles-fuse`
context, we simply directly changed the on-disk object mode.

But with the `_CONSUME` flag we started deleting the files as we write,
meaning that stopped working.

I *initially* wrote a patch to do the same split "prepare/processing/commit"
flow that treecompose and package layering do, but that can't really fix this
bug - we need to do it on import.

So do the chmod on import and drop the postprocessing bits.

Closes: #1067
Approved by: jlebon
2017-10-18 17:07:54 +00:00
2017-10-06 00:42:55 +00:00
2014-06-18 08:48:03 -04:00
2017-09-12 14:26:44 +00:00
2017-10-16 13:22:30 +00:00
2017-10-16 17:49:51 +00:00
2017-06-19 21:19:42 +00:00
2017-10-02 14:36:44 +00:00
2017-10-06 00:42:55 +00:00
2017-10-02 14:36:44 +00:00
2017-09-25 15:39:57 +00:00
2014-03-10 16:40:16 -04:00
2016-04-28 13:09:22 +00:00
2016-03-09 11:10:58 -05:00
2016-08-30 19:53:24 +00:00

rpm-ostree Overview

rpm-ostree is a hybrid image/package system. It uses OSTree as a base image format, and supports RPM on both the client and server side using libdnf.

For more information, see the online manual: Read The Docs (rpm-ostree)

Features:

  • Atomic upgrades and rollback for host system updates
  • A server side tool to consume RPMs and commit them to an OSTree repository
  • A system daemon to consume OSTree commits as updates

Projects using rpm-ostree

Project Atomic uses rpm-ostree to provide a minimal host for Docker formatted Linux containers. Replicating a base immutable OS, then using Docker for applications.

Manual

For more information, see the online manual: Read The Docs (rpm-ostree)

Description
No description provided
Readme 12 MiB
Languages
C++ 58.8%
Rust 18.6%
Shell 13.6%
C 6.6%
M4 0.8%
Other 1.6%