Bug#786418: deb-systemd-helper fails to enable systemd units when using 'WantedBy = ' with spaces

Patrick Schleizer adrelanos at riseup.net
Thu May 21 14:17:10 BST 2015


Package: init-system-helpers
Version: 1.23
Severity: minor

As reported [1] on the debian-systemd mailing list, deb-systemd-helper
will not enable systemd unit files when using spaces.

The spaces in

> WantedBy = multi-user.target

are unsupported by `deb-systemd-helper`. It needs to be strictly without
spaces.

> WantedBy=multi-user.target

Martin Pitt [2]:

> 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.

Cheers,
Patrick

[1]
https://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2015-May/007273.html

[2]
https://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2015-May/007273.html



More information about the Pkg-systemd-maintainers mailing list