Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dinitcheck: warn about non-absolute executable path #384

Merged
merged 1 commit into from
Sep 30, 2024

Commits on Sep 30, 2024

  1. 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]>
    ziyao233 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    271143d View commit details
    Browse the repository at this point in the history