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

sysv-generator: detect invalid names and escape them V2 #412

Merged
merged 2 commits into from
Jun 29, 2015

Conversation

fsateler
Copy link
Member

Supersedes #389

Do not assume that a non-service unit type is a target.
While the LSB suggests only [A-Za-z0-9], that doesn't prevent admins
from doing the wrong thing. Lets not generate invalid names in
that case.
teg added a commit that referenced this pull request Jun 29, 2015
sysv-generator: detect invalid names and escape them V2
@teg teg merged commit 8914ea0 into systemd:master Jun 29, 2015
@fsateler fsateler deleted the sysv-invalid-names-v2 branch June 30, 2015 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants