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

version graph

Package: init-system-helpers; Maintainer for init-system-helpers is Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>; Source for init-system-helpers is src:init-system-helpers (PTS, buildd, popcon).

Reported by: Patrick Schleizer <adrelanos@riseup.net>

Date: Thu, 21 May 2015 13:21:13 UTC

Severity: normal

Found in version init-system-helpers/1.23

Done: Felipe Sateler <fsateler@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, pkg-systemd-maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>:
Bug#786418; Package init-system-helpers. (Thu, 21 May 2015 13:21:18 GMT) (full text, mbox, link).


Acknowledgement sent to Patrick Schleizer <adrelanos@riseup.net>:
New Bug report received and forwarded. Copy sent to pkg-systemd-maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>. (Thu, 21 May 2015 13:21:18 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Patrick Schleizer <adrelanos@riseup.net>
To: submit@bugs.debian.org
Subject: deb-systemd-helper fails to enable systemd units when using 'WantedBy = ' with spaces
Date: Thu, 21 May 2015 13:17:10 +0000
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



Information forwarded to debian-bugs-dist@lists.debian.org, pkg-systemd-maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>:
Bug#786418; Package init-system-helpers. (Thu, 21 May 2015 13:33:08 GMT) (full text, mbox, link).


Acknowledgement sent to Patrick Schleizer <adrelanos@riseup.net>:
Extra info received and forwarded to list. Copy sent to pkg-systemd-maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a Bug is determined using this field. Please remember to include a Subject field in your messages in future.

(Thu, 21 May 2015 13:33:08 GMT) (full text, mbox, link).


Message #10 received at 786418@bugs.debian.org (full text, mbox, reply):

From: Patrick Schleizer <adrelanos@riseup.net>
To: 786418@bugs.debian.org
Date: Thu, 21 May 2015 13:30:11 +0000
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




Severity set to 'normal' from 'minor' Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 31 Jan 2016 00:39:03 GMT) (full text, mbox, link).


Reply sent to Felipe Sateler <fsateler@debian.org>:
You have taken responsibility. (Tue, 03 May 2016 01:03:04 GMT) (full text, mbox, link).


Notification sent to Patrick Schleizer <adrelanos@riseup.net>:
Bug acknowledged by developer. (Tue, 03 May 2016 01:03:04 GMT) (full text, mbox, link).


Message #17 received at 786418-done@bugs.debian.org (full text, mbox, reply):

From: Felipe Sateler <fsateler@debian.org>
To: 786418-done@bugs.debian.org
Subject: deb-systemd-helper fails to enable systemd units when using 'WantedBy = ' with spaces
Date: Mon, 2 May 2016 21:58:08 -0300
On Thu, 21 May 2015 13:30:11 +0000 Patrick Schleizer
<adrelanos@riseup.net> wrote:
> 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

The lintian warning was added a while ago, and upstream said spaces
are not explicitly supported. Therefore I don't think we should
support them either.

Closing.



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 31 May 2016 07:29:17 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jul 27 06:09:15 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.