FS#57096 - [bird] Syntax Error in /etc/bird.conf

Attached to Project: Arch Linux
Opened by Tyler Bennett (arch3y) - Sunday, 14 January 2018, 16:48 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 17 April 2018, 22:57 GMT
Task Type Bug Report
Category Upstream Bugs
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:
Service fails to start due to a syntax error in the bird.conf file, that is provided by the package.

There seems to be a syntax error on line 57, that stops bird from starting up.

Additional info:
* package version(s)
* config and/or log files etc.

Errors upon startup:

-- Unit bird.service has begun starting up.
Jan 14 11:42:39 zeus bird[17198]: /etc/bird.conf, line 57: syntax error
Jan 14 11:42:39 zeus bird[17198]: bird: /etc/bird.conf, line 57: syntax error
Jan 14 11:42:39 zeus systemd[1]: bird.service: Control process exited, code=exited status=1
Jan 14 11:42:39 zeus systemd[1]: bird.service: Failed with result 'exit-code'.
Jan 14 11:42:39 zeus systemd[1]: Failed to start BIRD routing daemon.
-- Subject: Unit bird.service has failed



Steps to reproduce:
Install bird with pacman -S bird and start the service with systemctl start bird.
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 17 April 2018, 22:57 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 15 January 2018, 00:04 GMT
File comes from upstream. If there's a problem with it, you'll want to talk to them.
Comment by Tyler Bennett (arch3y) - Monday, 15 January 2018, 19:57 GMT
I am working on that they don't seem to have a place to file bugs on their gitlab instance. Once I have that figured out, I will drop the link in here so everyone is aware of the devs responses.
Comment by loqs (loqs) - Monday, 15 January 2018, 21:04 GMT
If you can not find anything on the gitlab instance you could try the mailing list http://bird.network.cz/?m_list
Comment by Tyler Bennett (arch3y) - Wednesday, 17 January 2018, 21:34 GMT
Submitted a question to their mailing list, I will update once they give me a response
Comment by Tyler Bennett (arch3y) - Wednesday, 17 January 2018, 23:26 GMT
Per the developers:

Hi, thanks for report. This is an example configuration for version
1.x.x, it is obsolete for version 2.x.x. We forgot to remove it or
replace it with something better. There are two more examples in BIRD
source code, /bird.conf and /doc/bird.conf.example2, that should work
with 2.x.x (although i just noticed there is a minor bug in the second
one.

Also note that we just released version 2.0.1, which fixed several
bugs appearing in version 2.0.0 .


--
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Please update and push version 2.0.1 at your convience.

Link to the new download url: ftp://bird.network.cz/pub/bird/bird-2.0.1.tar.gz
Comment by Sébastien Luttringer (seblu) - Monday, 22 January 2018, 00:03 GMT
This outdated version of the default config is installed by the install target of the Makefile.in provided by usptream.
The fix should be done there. See.

install: all
$(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/@runtimedir@
$(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird
$(INSTALL_PROGRAM) $(exedir)/birdcl $(DESTDIR)/$(sbindir)/birdcl
if test -n "@CLIENT@" ; then \
$(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc ; \
fi
if ! test -f $(DESTDIR)/@CONFIG_FILE@ ; then \
$(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/@CONFIG_FILE@ ; \
else \
echo "Not overwriting old bird.conf" ; \
fi

Comment by Sébastien Luttringer (seblu) - Monday, 22 January 2018, 00:08 GMT
In the meantime, I replaced the file in the PKGBUILD in the version 2.0.1-1. But please, tell them the fix should be their side.
Comment by Tyler Bennett (arch3y) - Monday, 22 January 2018, 00:36 GMT
will do
Comment by Tyler Bennett (arch3y) - Monday, 22 January 2018, 00:38 GMT
I'll see if they respond and let you know.
Comment by Sébastien Luttringer (seblu) - Saturday, 03 February 2018, 13:35 GMT
Do not see your post[1], did you do it privately?

[1] http://trubka.network.cz/pipermail/bird-users/2018-January/011850.html
Comment by Tyler Bennett (arch3y) - Saturday, 03 February 2018, 18:22 GMT
Its probably because when I replied back to him, I just hit reply and didnt CC the list. I asked him to fix it the makefile.in, but he said he would at some point. It seems like there is one dev on this project and he wasnt in a hurry to fix this piece after he fixed the config file. As I asked him if he had a status update a week or two later and he just said I had not gotten to it yet. I can send him another message through ML this time so it can be seen, but I dont expect it to be fixed any time in the near future.

Loading...