This adds a two new values to --private-users-ownership=: "map" and "auto". "map" exposes the kernel 5.12 idmap feature pretty much 1:1. It fails if the kernel or used file system doesn't support ID mapping. "auto" is a bit smarter: if we can make ID mapping work, we'll use it, otherwise revert back to classic chown()ing. We'll also use chown()ing if we detect that an image is already ID shifted, both to increase compatibility with the status quo ante, and to simplify our codepaths, since the mappings become a lot simpler if we only have to map from zero to something else, instead of from anything to anything else. The short -U switch, and --private-users=pick will now imply --private-users-ownership=auto instead of --private-users-ownership=chown, since the new logic should be the much better choice.
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
