Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dinitcheck: warn about non-absolute executable path
dinit's behavior depends on PATH environment if a service contains command with non-absolute executable path. dinitcheck may not even find correct executables in this case. Such services may lead to security problems, systemd has been searching executables only in compilation-time specified paths. As similar features do not exist in dinit and aren't very meaningful, we just warn about dangerous usage. References: https://www.man7.org/linux/man-pages/man5/systemd.service.5.html#COMMAND_LINES Signed-off-by: Yao Zi <[email protected]>
- Loading branch information