Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31291 - [bird] systemd unit lacks forking type

Attached to Project: Community Packages
Opened by rf (trispace) - Sunday, 26 August 2012, 16:35 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 26 August 2012, 17:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: bird's systemd unit lacks forking type

Additional info:
* package version(s): 1.3.8-1

Steps to reproduce:

without "Type=forking" in bird.service bird isn't able to start:

Aug 26 17:34:57 arch2 bird[438]: Started
Aug 26 17:34:57 arch2 sh[439]: BIRD 1.3.8 ready.
Aug 26 17:34:57 arch2 sh[439]: bird> down
Aug 26 17:34:57 arch2 bird[438]: Shutting down
Aug 26 17:34:57 arch2 sh[439]: [32B blob data]
Aug 26 17:34:57 arch2 sh[439]: bird>
Aug 26 17:34:57 arch2 bird[438]: Shutdown completed

with "Type=forking" in the [Service] section of bird.service it runs fine
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 26 August 2012, 17:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  bird 1.3.8-2
Comment by Dave Reisner (falconindy) - Sunday, 26 August 2012, 16:51 GMT
This service shouldn't be calling /bin/sh to pass commands. If you wanted to leave it as Type=simple, you can start the daemon with the '-d' flag to leave it in the foreground.

[Unit]
Description=BIRD routing daemon

[Service]
ExecStart=/usr/sbin/bird -d
ExecReload=/usr/sbin/birdc configure
ExecStop=/usr/sbin/birdc down

[Install]
WantedBy=multi-user.target

Loading...