Skip to content Skip to navigation

JIRA Issue

[#XCI-424] Make sure IPF init.d scripts stop correctly

[XCI-424] Make sure IPF init.d scripts stop correctly Created: 08/02/2018  Updated: 12/12/2018

Status: Proposed
Project: XSEDE Cyberinfrastructure Integration
Component/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Eric Blau Assignee: Eric Blau
Resolution: Unresolved Votes: 0

XSEDE Priority: -
Public activity link: https://software.xsede.org/display/xci-424
Track status in meeting: no

 Description   

per https://tickets.xsede.org/Ticket/Display.html?id=88822

FWIW, the stop portion of the compute init.d file is missing a su to the IPF_USER before the rm of the PID file.

Init.d services has:
[ $RETVAL -eq 0 ] && su $IPF_USER rm -f $PID_FILE
While init.d compute has:
[ $RETVAL -eq 0 ] && rm -f $PID_FILE

This throws a permission denied error while trying to stop the service as root.

 

Not sure where Tabitha's services init.d file got the su $IPF_USER, as it doesn't seem to be in the ipf_WORKFLOW template in the source.  It probably should be.