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

Redirect stdin to /dev/null by default #120

Closed
troglobit opened this issue Jul 3, 2019 · 0 comments
Closed

Redirect stdin to /dev/null by default #120

troglobit opened this issue Jul 3, 2019 · 0 comments
Milestone

Comments

@troglobit
Copy link
Owner

Finit currently does nothing with STDIN of processes it starts. This means a faulty script can steal the console and cause interesting problems.

systemd has this configurable, also for stdout/stderr: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Logging%20and%20Standard%20Input/Output

@troglobit troglobit added this to the v3.2 milestone Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant