[systemd-devel] Unknown lvalue 'StartLimitIntervalSec' ?

Neil MacLeod neil at nmacleod.com
Tue Jul 11 01:31:20 UTC 2017


Aha! Many thanks Zbyszek

On 11 July 2017 at 02:26, Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
wrote:

> 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/f0367da7d1a61ad698a55d17b5c28d
> dce0dc265a#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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170711/6f018831/attachment.html>


More information about the systemd-devel mailing list