chiark / gitweb /
core: don't include /boot in effect of ProtectSystem=
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2014 08:03:26 +0000 (10:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2014 08:03:26 +0000 (10:03 +0200)
commit5331194c120520579eede9dba4bd9c3329629601
tree1bdda4ab9e6c10b93faeca70cb855ae2e3caa2f9
parent3900e5fdff688dc3c273f177d9d913b7389d5561
core: don't include /boot in effect of ProtectSystem=

This would otherwise unconditionally trigger any /boot autofs mount,
which we probably should avoid.

ProtectSystem= will now only cover /usr and (optionally) /etc, both of
which cannot be autofs anyway.

ProtectHome will continue to cover /run/user and /home. The former
cannot be autofs either. /home could be, however is frequently enough
used (unlikey /boot) so that it isn't too problematic to simply trigger
it unconditionally via ProtectHome=.
man/systemd.exec.xml
src/core/namespace.c