Aventail Connect won't install with dash shell

Asked by Chris Higgins

When I use 'dash' as my /bin/sh shell - ( it's the default ), Aventail Connect ( vpn SW )
won't install ..

Change the aventail scripts to use '#!/bin/bash' instead, and it works.

The scripts to change are (at least) the following
install.sh
/usr/bin/startct
/usr/bin/startctgui

So that's an anwer ;-)

The question is - why is /bin/dash the default ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Fox (robotninja) said :
#1

Hi,

The default shell was changed in Ubuntu 6.10 for efficiency reasons.

Common practice is for shell scripts specifying the default shell should only use standard POSIX features to ensure compatibility.

More information is available here:

https://wiki.ubuntu.com/DashAsBinSh
https://wiki.ubuntu.com/DashAsBinSh/Spec

Cheers,

Chris

Can you help with this problem?

Provide an answer of your own, or ask Chris Higgins for more information if necessary.

To post a message you must log in.