Red Hat Bugzilla – Bug 1285672
Bird should start in foreground in the systemd unit
Last modified: 2017-04-14 07:27 EDT
Created attachment 1099170 [details]
Run bird in foreground
Description of problem:
The systemd unit file doesn't run bird in a good way to integrate with the systemd journal.
Version-Release number of selected component (if applicable):
Always able to reproduce.
Steps to Reproduce:
1. install bird package
2. run "systemctl start bird.service"
The command used to exec the service is "/usr/sbin/bird". This results in bird daemonizing itself. Also, when I have "log stderr all", I see no logs from bird after start.
The command used should be "/usr/sbin/bird -f" so that bird runs in the foreground and integrates better with the systemd journal.
I added an attachment with a patch for the unit file at /usr/lib/systemd/system/bird.service.
I haven't seen any feedback on this request. I was wondering, does this seem like a reasonable change to make?
Thank you for your request and sorry for reaaaaly long delay in my reply. Yes, it seems perfectly reasonable, I'll take a look at it. Thanks!
Sweet, thanks for the reply.
Created attachment 1271651 [details]
Attached is a patch against the current master of the fedpkg repository.
This also addresses things raised in #1397574
I'm happy to help with the package if you need more support.