Bug 822586

Summary: startd can be blocked by external script
Product: Red Hat Enterprise MRG Reporter: Lubos Trilety <ltrilety>
Component: condorAssignee: Timothy St. Clair <tstclair>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.2CC: ltrilety, matt, tstclair
Target Milestone: 2.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-23 18:20:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 591521, 825580    

Description Lubos Trilety 2012-05-17 15:13:04 UTC
Description of problem:
If the script used in MACHINE_RESOURCE_INVENTORY_railgun = /path/to/script.sh never ends it blocks startd completely, because there's no time out.

Version-Release number of selected component (if applicable):
condor-7.6.8-0.1

How reproducible:
100%

Steps to Reproduce:
1. put 'MACHINE_RESOURCE_INVENTORY_railgun = /path/to/script.sh' to config
where script.sh looks like

#!/bin/sh
echo "DetectedRailgun = 8
while true; do sleep 1; done

2. start condor
  
Actual results:
No error message in logs and startd waits until the script ends.

Expected results:
Startd prints some error message and eventually ends

Additional info: