diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-05-14 09:06:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-15 20:02:44 +0200 |
commit | 35b1078e1c375df244e19961792aeb78ca34bb54 (patch) | |
tree | ad143847d324eeeb868f79674292bfa078840d85 /.dir-locals.el | |
parent | 6b71bab08dc6c92156263daba0e969313eed1323 (diff) |
core: Fix assertion with empty Exec*= paths
An Exec*= line with whitespace after modifiers, like
ExecStart=- /bin/true
is considered to have an empty command path. This is as specified, but causes
systemd to crash with
Assertion 'skip < l' failed at ../src/core/load-fragment.c:607, function config_parse_exec(). Aborting.
Aborted (core dumped)
Fix this by logging an error instead and ignoring the invalid line.
Add corresponding test cases. Also add a test case for a completely empty value
which resets the command list.
https://launchpad.net/bugs/1454173
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions