[Netkit.users] Problems with Netkit2 on Ubuntu 7.04 (Feisty Fawn)

Massimo Rimondini rimondin a dia.uniroma3.it
Lun 28 Maggio 2007 16:36:50 CEST


Dear Adrian,

this bug is already known to happen on Ubuntu distros, and it is 
pointless to say that it will be fixed in the next release of Netkit.

The bug is due to the fact that Ubuntu uses /bin/dash instead of 
/bin/bash as the system default shell. Dash depends on fewer libraries, 
is faster, and is more POSIX compliant, at the expense of a reduction in 
the set of available features. Since the Netkit scripts make use of some 
of these features, running them with dash instead of bash breaks them.

This also justifies why you experienced no such problem with other distros.

For the moment, you can apply the workaround described at the end of 
this page: http://www.netkit.org/status.html.

Regards,
Massimo.

Adrian van Dongen wrote:
> Hi,
>
> I am trying to get netkit running on Ubuntu Feisty Fawn but i get some 
> erros. (which i might add is the first time and do use netkit on a 
> fairly wide range of distro's without any problems)
>
> First running ./check_configuration.sh gives me this error ?
>
> avdongen a Masahiro:~/netkit/netkit2$ ./check_configuration.sh
> ./check_configuration.sh: 72: source: not found
> ./check_configuration.sh: 72: source: not found
> ./check_configuration.sh: 72: source: not found
> ./check_configuration.sh: 72: source: not found
> ./check_configuration.sh: 72: source: not found
> ./check_configuration.sh: 72: source: not found
> ./check_configuration.sh: 72: source: not found
> [: 79: ==: unexpected operator
>
> -e \e[32m[ READY ]\e[0m Congratulations! Your Netkit setup is now 
> complete!
>           Enjoy Netkit!
>
> Must be something on line 72 but i cannot find anything wrong..
>
> So I run the files in check_configuration.d/ manual and 
> 05-check_vdso.sh gives me an error:
>
> avdongen a Masahiro:~/netkit/netkit2/check_configuration.d$ 
> ./05-check_vdso.sh
> ./05-check_vdso.sh: 18: check_message: not found
> [: 50: ==: unexpected operator
>
> And when i try to start a node i get this:
>
> avdongen a Masahiro:~/netkit/netkit2$ vstart pc1
> /home/avdongen/netkit/netkit2/bin/vstart: 21: source: not found
> /home/avdongen/netkit/netkit2/bin/vstart: 24: logWrite: not found
> /home/avdongen/netkit/netkit2/bin/vstart: 175: Syntax error: Bad 
> substitution
>
> So whats next? I do want to see it running but i have no clue where to 
> look next or what to change so some help would be appreciated :)
>
> Hope to here from someone soon, thanks in advance,
>
> Adrian van Dongen
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>   
-------------- parte successiva --------------
Un allegato HTML  stato rimosso...
URL: http://list.dia.uniroma3.it/mailman/private/netkit.users/attachments/20070528/92c340f7/attachment.html


Maggiori informazioni sulla lista Netkit.users