systemd unit functional, but not enabled by default issue
Patrick Schleizer
patrick-mailinglists at whonix.org
Thu May 21 14:31:50 BST 2015
Martin Pitt:
> Hello Patrick,
>
> Patrick Schleizer [2015-05-20 15:32 +0000]:
>> Looks like a bug in `deb-systemd-helper`?
>>
>> The spaces in
>>
>>> WantedBy = multi-user.target
>>
>> are unsupported by `deb-systemd-helper`. It needs to be strictly without
>> spaces.
>>
>>> WantedBy=multi-user.target
>
> Right, and that's how all other units look like too, and the manpages
> don't say that extra space is allowed either (in fact it is explicitly
> not between e. g. '!' or '|' and the program name).
>
> So, please feel free to file a minor bug against deb-systemd-helper,
> but I wouldn't recommend shipping units like that.
>
> Martin
>
Hello Martin!
Thanks. Done.
bug report...
deb-systemd-helper fails to enable systemd units when using 'WantedBy =
' with spaces:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786418
related lintian feature request...
warn against usage of spaces, i.e. 'Type = notify' in systemd unit files:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786421
Cheers,
Patrick
More information about the Pkg-systemd-maintainers
mailing list