nspawn: align config PrivateUsersOwnership default with CLI
The `systemd-nspawn` manpage says:
The `--private-users-ownership=auto` option is implied if
`--private-users=pick` is used.
This is true for the CLI, but not when set in a `.nspawn` file.
Assuming these defaults should be the same across both.
This default was also not updated when `managed` was added by #35685.
As a result, this is a change in behavior for users who didn't set an
explicit `PrivateUsersOwnership=` value in their `.nspawn` file.
This commit is contained in:
committed by
Luca Boccassi
parent
d04aa853bc
commit
1f66b52452
@@ -149,6 +149,11 @@ CHANGES WITH 262 in spe:
|
||||
and the "documentation" key is now an array of strings. Consumers
|
||||
of this interface must update their JSON parsing accordingly.
|
||||
|
||||
* The PrivateUsersOwnership= setting in .nspawn files now defaults to
|
||||
"auto" when PrivateUsers= is "pick" or "managed", matching the
|
||||
--private-users-ownership= command line switch. Previously "pick"
|
||||
defaulted to "chown", and "managed" to "off".
|
||||
|
||||
Changes in the system and service manager:
|
||||
|
||||
* The manager now embeds a basic set of unit files (basic.target,
|
||||
|
||||
Reference in New Issue
Block a user