From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH] Add checks for iptables and iproute2 (Was Re: Coral with Xen) Date: Sun, 09 Jan 2005 17:10:24 -0600 Message-ID: <41E1B9E0.40008@codemonkey.ws> References: <3b793f1a05010913532e834754@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040504060501080302000800" Return-path: In-Reply-To: <3b793f1a05010913532e834754@mail.gmail.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040504060501080302000800 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The following two scripts add checks for iptables and iproute2 during install. Not all distributions include these by default. I know this was a source of problems (with Gentoo) for me as the network scripts used by Xend silently fail if these commands aren't available. It could be that Coral does not include one of these two packages by default. Regards, Anthony Liguori Kero-Chan wrote: >Hi! > >Coral isn't working from Xen. If you can please try it, maybe i'm just >doing something wrong. However it works from outside Xen with the same >setup. >Can Xen cause this kind of DNS errors? > >Try something like: http://www.scs.cs.nyu.edu.nyud.net:8090/coral/ >or http://www.google.com.nyud.net:8090/ > > > --------------040504060501080302000800 Content-Type: text/plain; name="check_iproute2" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="check_iproute2" #!/bin/bash # CHECK-INSTALL function error { echo 'Check for iproute2 failed.' exit 1 } which ip || error --------------040504060501080302000800 Content-Type: text/plain; name="check_iptables" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="check_iptables" #!/bin/bash # CHECK-INSTALL function error { echo 'Check for the iptables failed.' exit 1 } which iptables || error --------------040504060501080302000800-- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt