Summary: | unit file options longer than 2048 characters are truncated | ||
---|---|---|---|
Product: | systemd | Reporter: | Brian Waldon <brian> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED MOVED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | dennis.schridde, freedesktop |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Brian Waldon
2014-10-21 23:59:55 UTC
Is there any available workaround for this issue? I know with ExecStart, you can use a backslash to suppress the newline character, but this appears specific to ExecStart, and it does not work with other parameters such as Environment. We have to enforce a line limit here, we cannot accept unbounded lines. Currently we use glibc's LINE_MAX limit for enforcement. We could of course bump the limit, but that's really just an arms race. We should probably consider overly long lines parse failures. THe current bheaviour of just blindly pretend there was a line break after 2k chars is certaionly not good. This is also tracked at: https://github.com/systemd/systemd/issues/3302 Closing this here. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.