]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: change KeyringMode= to "shared" by default for non-service units in the system...
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Feb 2018 07:53:34 +0000 (08:53 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Feb 2018 07:53:34 +0000 (08:53 +0100)
commit00f5ad93b5c3c0e09e6d135a6a82ac53fd97ceca
tree33a7a23f7db162d8ccebc0d584a9bf67cae344a7
parent6f58ff2325c22ca02a2450ce5b95f88c04b1c537
core: change KeyringMode= to "shared" by default for non-service units in the system manager (#8172)

Before this change all unit types would default to "private" in the
system service manager and "inherit" to in the user service manager.

With this change this is slightly altered: non-service units of the
system service manager are now run with KeyringMode=shared. This appears
to be the more appropriate choice as isolation is not as desirable for
mount tools, which regularly consume key material. After all mounts are
a shared resource themselves as they appear system-wide hence it makes a
lot of sense to share their key material too.

Fixes: #8159
man/systemd.exec.xml
src/core/service.c
src/core/unit.c