[systemd-devel] EnvironmentFile spec

Mantas Mikulėnas grawity at gmail.com
Sun Apr 14 06:54:11 PDT 2013


On Sun, Apr 14, 2013 at 4:38 PM, Nikos Platis <nplatis at gmail.com> wrote:
> The reason I was asking is that I was witnessing some problems with a
> service, which I could attribute to problems with (the syntax of?) the
> EnvironmentFile used.
>
> Using at least systemd 201 on Arch Linux, the (seemingly valid) file
> provided by the package author would not work (some variables defined in it
> were not seen by the service file (not substituted in its command line)),
> but changing the file in unexpected ways (moving all the commands after the
> comments and/or stripping all the comments) resulted in the file being
> parsed correctly (?).

It looks like this was fixed yesterday:

commit d3b6d0c21ea5a0d15ec6dbd8b8d179138b7463bc
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Sat Apr 13 20:22:53 2013 -0400

    fileio: in envfiles, do not skip lines following empty lines

    https://bugs.freedesktop.org/show_bug.cgi?id=63477

--
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list