[systemd-devel] "Unknown lvalue '' in section 'Service'"
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu Jul 18 09:42:05 UTC 2019
On Thu, Jul 18, 2019 at 11:46:59AM +0300, Mantas Mikulėnas wrote:
> On Thu, Jul 18, 2019 at 11:34 AM Ulrich Windl <
> Ulrich.Windl at rz.uni-regensburg.de> wrote:
>
> > Hi!
> >
> > I noticed that a line of "=======" in "[Service]" cases the message "
> > Unknown lvalue '' in section 'Service'".
> > (systemd 228)
> >
> > Shouldn't that be "Parse error at '=======' in section 'Service'"?
> >
>
> Arguably it isn't a parse error – the keyfile parser successfully
> recognizes the line as assigning the value "======" to the key "". It's
> only later when the parsed results are interpreted that each key is matched
> to an internal handler.
>
> The error message *could* be clearer if all such errors had a common "Parse
> error:" prefix, I guess. (And what's the point of calling it an 'lvalue'
> anyway?...)
https://github.com/systemd/systemd/pull/13107
Zbyszek
More information about the systemd-devel
mailing list