Files
systemd-stable/src/core
Daniel Mack 22874a348f load-fragment: use UNESCAPE_RELAX flag to parse exec directives
The cunescape() helper function used to handle unknown escaping sequences
gracefully by copying them over verbatim.

Commit 527b7a42 ("util: rework cunescape(), improve error handling") added
a flag to make that behavior optional, and changed to default to error out
with -EINVAL otherwise.

However, config_parse_exec(), which is used to parse the
Exec{Start,Stop}{Post,Pre,} directives of unit files, was not changed along
with that commit, which means that directives with improperly escaped
command line strings are no longer parsed.

Relevant bugreports include:

  https://bugs.freedesktop.org/show_bug.cgi?id=90794
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787256

Fix this by passing UNESCAPE_RELAX to config_parse_exec() in order to
restore the original behavior.
2015-06-01 18:08:44 +02:00
..
2015-04-21 20:23:41 +02:00
2014-12-23 21:06:01 +01:00
2015-02-23 23:53:42 +01:00
2015-04-21 20:23:41 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-05-19 06:46:59 +02:00
2015-02-18 18:56:27 +01:00
2015-02-23 23:53:42 +01:00
2015-04-11 00:34:02 +02:00
2015-02-23 23:53:42 +01:00
2014-12-16 00:30:33 -05:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-10-27 22:34:09 -04:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-04-11 00:34:02 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-05-25 17:06:15 +02:00
2015-03-02 12:15:25 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00