[systemd-devel] Unknown lvalue 'StartLimitIntervalSec' ?
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Jul 11 01:26:19 UTC 2017
On Tue, Jul 11, 2017 at 01:55:21AM +0100, Neil MacLeod wrote:
> I see that with the following commit, 'StartLimitInterval' is aliased to
> 'StartLimitIntervalSec':
>
> https://github.com/systemd/systemd/commit/f0367da7d1a61ad698a55d17b5c28ddce0dc265a#diff-b3e16bf39e5d7ab233077b9b1dafb095
>
> This change should be in systemd-230.
>
> However, using 'StartLimitIntervalSec` in systemd-233 doesn't appear to be
> working and the property is being logged as an "Unknown lvalue".
>
> I've built systemd-233 from source, and confirmed the source includes the
> above alias change, but I cannot set a 'StartLimitIntervalSec' property.
> The old 'StartLimitInterval' value does work.
>
> All the documentation suggests 'StartLimitIntervalSec' should now be
> working/accepted.
StartLimitInterval was moved from [Service] to [Unit] section in
6bf0f408e4833152197fb38fb10a9989c89f3a59, but the old location was
still accepted for compatibility. The new StartLimitIntervalSec name
is valid only in [Unit].
Zbyszek
More information about the systemd-devel
mailing list