<h2>Linux discovery error "rbash: PATH: readonly variable Exit status: 1"</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><ul style="list-style-position: inside;"><li>Linux discovery error "rbash: PATH: readonly variable Exit status: 1"</li></ul></section></div><div ><h3 >Release</h3><section><ul style="list-style-position: inside;"><li>All</li></ul></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>Ensure all the include probes under Unix - Classify multiprobes are enabled.<br /><br />https://<instance_name>.service-now.com/discovery_probes_multi.do?sys_id=10e0eebd0a0a0b4f61f46a5027df7fb6<br /><br /></li><li>Ensure "<strong>set_path</strong>" is "<strong>false</strong>" on "<strong>Pure blade rbash - OS</strong>" probe.<br /><br />https://<instance_name>.service-now.com/discovery_probes.do?sys_id=079ea885dbec2f00c84e76821f961924<br /><br /></li><li>In the UNIX classify sensor around line 17, the below code is responsible for not triggering the identification probes<br /><br />https://<instance_name>.service-now.com/discovery_sensor_multi.do?sys_id=10e431410a0a0b4f76da9765cee4d818&sysparm_record_target=discovery_sensor&sysparm_record_row=1&sysparm_record_rows=1&sysparm_record_list=nameSTARTSWITHunix+-+classify%5EORDERBYorder<br /><br />+++++++++++++++++<br />// If we shouldn't trigger probes don't attempt this classification.<br />// (DiscoverySensor calls setTriggerProbes(false) if the probe result has any errors)<br />// Any remaining classifiers for other open ports will still be launched if applicable.<br />if (''+this.ASensor.isTriggerProbes() == 'false')<br />return;<br />+++++++++++++++++<br /><br /></li><li>Commenting the last two lines from the above mentioned piece of code will fix the issue.<br /><br />++++++++++++++++++<br />// If we shouldn't trigger probes don't attempt this classification.<br />// (DiscoverySensor calls setTriggerProbes(false) if the probe result has any errors)<br />// Any remaining classifiers for other open ports will still be launched if applicable.<br /><strong><em>===>// if (''+this.ASensor.isTriggerProbes() == 'false')</em></strong><br /><strong><em>===>// return;</em></strong><br />+++++++++++++++++++</li></ul></section></div></article></div>