netkit-ng / netkit-ng-build

User Mode Linux kernel and filesystem build scripts to generate Netkit-NG virtual machines
http://www.lifl.fr/~iguchi-c/pages/netkit-ng.html
GNU General Public License v3.0
0 stars 3 forks source link

Zebra cannot start #15

Open kartoch opened 10 years ago

kartoch commented 10 years ago

Reported by @Timothy-G-Griffin

1) Here us my setup Debian

VirtualBox

Mac 2) I downloaded your code and built the core, kernel, and file system for netkit-ng (In the end, I made no modifications to filesystem-tweaks) 3) Download the "Simple announcement" lab from the Interdomain routing section of http://wiki.netkit.org/index.php/Labs_Official

4) For some reason, the original netkit setup (on routers) has symbolic links /etc/init.d/zebra --> /etc/init.d/quagga (this quagga script is installed with package quagga)
/etc/zebra --> /etc/quagga So I make appropriate changes to the lab. For router1, for example, the line /etc/init.d/zebra start is changed to /etc/init.d/quagga start and the directory router1/etc/zebra is renamed to router1/etc/quagga 5) use lstart to start the lab. 6) on router 1 we see that the zebra daemon is not running. The phase 2 init script produces the error zebravty_read_config : failed to open configuration file /etc/quagga/zebra.conf : Permission denied

Comments: this lab does not in fact have a zebra.conf file, and it should be OK without it. But when > I do put one in /etc/quagga I still get this error.

Timothy-G-Griffin commented 10 years ago

It would be preferable if we could set up netkit-ng so that labs from netkit-land just work out-out-of-the-box.

BTW --- the reason I'm interested in using netkit-ng is that I want to use netkit with my own hacked version of quagga. Of course the first step, before using a private version of quagga, is to get the old netkit stuff running with the latest official release of quagga. This is where I'm stuck now.

kartoch commented 10 years ago

Just a remark: the fs and kernel build are juste the wheezy version of the debian. Thus the changes between netkit and netkit-ng are about the changes between lenny and wheezy installation of quagga.