Crate bootc_sysusers

Crate bootc_sysusers 

Source
Expand description

Parse and generate systemd sysusers.d entries.

Modules§

nameservice 🔒
Linux name-service information helpers.

Structs§

SysusersAnalysis
The result of analyzing /etc/{passwd,group} in a root vs systemd-sysusers.

Enums§

Error
An error when processing sysusers
GroupReference
In sysusers, a user can refer to a group via name or number
IdSource
In sysusers a uid can be defined statically or via a file path
SysusersEntry
A parsed sysusers.d entry

Constants§

SYSUSERSD 🔒

Functions§

analyze
Analyze the state of /etc/passwd vs systemd-sysusers.
read_sysusers
Read all tmpfiles.d entries in the target directory, and return a mapping from (file path) => (single tmpfiles.d entry line)

Type Aliases§

Result
The type of Result.