Home
My Page
Projects
OpenVAS

[#1112] Use of /bin/sh results for shell scripts in erratic behavior on Ubuntu

Date:
2009-09-02 11:25
Priority:
3
State:
Open
Submitted by:
Geoff Galitz (geoff)
Assigned to:
Nobody (None)
Architecture:
64 bits
Product:
OpenVAS
Operating System:
Linux
Component:
openvas-server
Version:
2.0.3
Severity:
major
Resolution:
None
Hardware:
None
URL:
 
Summary:
Use of /bin/sh results for shell scripts in erratic behavior on Ubuntu

Detailed description


On Ubuntu, the /bin/sh shell is linked to /bin/dash, rather than /bin/bash which is more the standard on Linux distributions.



OpenVAS shell scripts such as openvas-adduser run into problems in this scenario. Test operations frequently fail and execution of the script becomes erratic. Some still function, such as openvas-adduser, but others partially fail such as the client side LSC credential installation packages.



Specifically, there are many bashims which do not work in dash. More info on this can be found at:



https://wiki.ubuntu.com/DashAsBinSh



The problem can be resolved on the sysadmin side of an Ubuntu solution by changing the default shell back to bash... but I'm not sure that is right solution.



Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item


This site is hosted by Intevation GmbH