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

WIP: compose: Add experimental/sysusers option #1679

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/manual/treefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,14 @@ version of `rpm-ostree`.

* `rojig`: Object, optional. Sub-keys are `name`, `summary`, `license`,
and `description`. Of those, `name` and `license` are mandatory.

* `sysusers`: boolean, optional: Defaults to `false`. Enable generation of
systemd sysusers.d entries based on `useradd`/`gruopadd` invocations. If enabled,
this overrides `preserve-passwd`. It also obsoletes `check-passwd`.

* `sysusers-users`: List of `string` -> `number` mappings. When sysusers is
enabled, it is required that any non-root-owned files that are in `/usr`
(and hence shipped with the ostree commit) have static mappings. Otherwise,
the values could change across builds.

* `sysusers-groups`: Same as `sysusers-users` but for groups.
3 changes: 3 additions & 0 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ mod lockfile;
pub use self::lockfile::*;
mod utils;
pub use self::utils::*;
mod sysusers;
pub use self::sysusers::*;

Loading