On Fri, Jan 12, 2007 at 09:19:27AM +0100, Ulrich Windl wrote:
> On 12 Jan 2007 at 4:25, Tim Post wrote:
> > 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.
Eh? I take it you haven't read
http://www.pathname.com/fhs/pub/fhs-2.3.html#BINESSENTIALUSERCOMMANDBINARIES
then; current as of 2004?
> >
> > 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.
Absolutely, agreed on this point.
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|