After emerging quagga, I created a minimal config file for zebra and executed: /etc/init.d/zebra start the "start" section of the /etc/init.d/zebra script tries to run a program named ip which was not present on my system. Further research shows that there is a program of this name in the iproute2 package. Reproducible: Always Steps to Reproduce: 1. (create new gentoo system) 2. emerge quagga 3. cp /etc/quagga/samples/zebra.conf.sample /etc/quagga/zebra.conf 4. /etc/init.d/zebra start Actual Results: The following error message was printed: /sbin/runscript.sh: line 1: ip: command not found (note that zebra runs anyway.) Expected Results: The program named "ip" should be run, OR, the script should not attempt to run the program. I am not experienced at running a Linux router, so I'm not sure that the iproute2 package is fundamental to quagga operations. However, I think it is. workaround (duh!): emerge iproute2
The iproute2 package is not needed for Quagga's normal operation. The init script tries to fix a problem im Quagga 0.96.4 which leaves routes in the routing tables when not shutdown normally. You're right, that the ebuild should specify the package. I will change the ebuild to depend on iproute2, which is anyway a good thing to have around since ifconfig is depreciated. ;-)) Further Quagga versions will remove such left over routes by themselfes (afaik) and I will remove above dependency in the future.
The man page for zebra implies that it will in fact remove old zebra routes, unless the -k options is present. I assume that zebra is slightly broken so you made "cleanup" part of the "start" script. Making Quagga depend on iproute2 is a deeply philosophical issue :-) You, as Quagga ebuild maintainer, are deciding that anyone who does an emerge quagga really ought to do an emerge iproute2 also, because you have to be an idiot to run a Linux router without iproute2. Speaking as one such idiot, I would be grateful if you did this.
"which is anyway a good thing to have around since ifconfig is depreciated" ... this hardly qualifies as "calling you an idiot"! ;) Anyway, yes, I will all the dependency, it's needed and I never noticed that it's missing since i'm one of those who emerges iproute2 right after world... ;)
Implemented.