: My temporary solution is to add the command line option "-s /bin/bash" to : the solr init script by hand. : : Is there already a better way to avoid this manual modification? : : If not - might it be a good idea to add an option to the installation : script in order to specify a shell?
If i understand correctly, you mean you've modified the init.d/solr script such that when "su" is run you pass "-s /bin/bash" ? that seems like a worthwhile improvement ... but in the general case we should probably make that an option you can set when running install_solr_service.sh (just like you can modify the RUNAS value) can you please file a jira with this request? (and a patch if you feel like you have a good grasp of the bash/sed scripting needed) ... https://issues.apache.org/jira/browse/SOLR -Hoss http://www.lucidworks.com/