Skip to content

[3.6.13] - Service file contains inline comments after systemd parameters #1422

@mctwynne

Description

@mctwynne

With the release of 3.6.13 it looks like comments were added to the systemd service file units, which is not permitted. From what I understand they must be on new lines only.

If the Arch wiki is anything to go by: "Tip: Comments prepended with # may be used in unit-files as well, but only in new lines. Do not use end-line comments after systemd parameters or the unit will fail to activate."

After installing 3.6.13 I get the following errors in syslog:

[/lib/systemd/system/rabbitmq-server.service:17] Failed to parse service restart specifier, ignoring: on-failure # https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=

[/lib/systemd/system/rabbitmq-server.service:18] Failed to parse sec value, ignoring: 10 # https://www.freedesktop.org/software/systemd/man/systemd.service.html#RestartSec=

[/lib/systemd/system/rabbitmq-server.service:23] Failed to parse value, ignoring: # rabbitmq/rabbitmq-server-release#51

[/lib/systemd/system/rabbitmq-server.service:23] Failed to parse value, ignoring: rabbitmq/rabbitmq-server-release#51

During this process the service restarts in a loop from what I can tell.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions