]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
man: document that too strict system call filters may affect the service manager
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Oct 2016 14:08:38 +0000 (16:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 14:55:24 +0000 (08:55 -0600)
commit2ca8dc15f9cc050a8845b0a55f8226a7024ca623
treee9da20ebdd9956b37228a5c7c79eb58eeabd149d
parent5cd9cd3537d1afca85877103615e61e6c03e7079
man: document that too strict system call filters may affect the service manager

If execve() or socket() is filtered the service manager might get into trouble
executing the service binary, or handling any failures when this fails. Mention
this in the documentation.

The other option would be to implicitly whitelist all system calls that are
required for these codepaths. However, that appears less than desirable as this
would mean socket() and many related calls have to be whitelisted
unconditionally. As writing system call filters requires a certain level of
expertise anyway it sounds like the better option to simply document these
issues and suggest that the user disables system call filters in the service
temporarily in order to debug any such failures.

See: #3993.
man/systemd.exec.xml