On 12 Jan 2007 at 4:25, Tim Post wrote:
> On Thu, 2007-01-11 at 19:23 +0000, John Hannfield wrote:
> > Hi all,
> >
> > I'm trying to boot a Centos domU, but when I do a "xm create -c centos.cfg"
> > it just hangs, and eventually times out with:
> >
> > Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
> >
>
> Ensure that /bin/sh leads to /bin/bash (i.e. readlink /bin/sh ).. if
> not, ln -s -f /bin/bash /bin/sh
Actually that should be /usr/bin/sh for at least 10 years ;-)
/bin/cp and /bin/cat are UNIX dinosaurs, just as /bin/sh. Traditionally these
exist as symbolic links to the updated locations.
>
> Its quite possible on your system /bin/sh leads to dash, which isn't
> capable of parsing the hotplug scripts in /etc/xen/scripts, which is the
> cause of this error.
I'm sure everybody is aware that when using /bin/sh, you may only use the
features
of the classic Bourne shell, wile /usr/bin/sh most likely is a POSIX shell, and
"bash" is ... well: "bash". Expecting from /bin/sh to be more capable than
Bourne
shell of 15 years ago is a mistake. Personally I'm using POSIX features unless
I
absolutely need Bash, but then I specify /bin/bash as Shell.
Sorry for preaching.
Ulrich
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|