Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
All
-
3
-
16918
Description
Original text/report from J.Nemeth (SGI) :
If the ct_run() routine (copytool daemon) terminates normally, it calls llapi_hsm_unregister_event_fifo() as well as llapi_hsm_copytool_unregister(). If the daemon is terminated via signal, the signal handler calls llapi_hsm_copytool_unregister(), but does NOT call llapi_hsm_unregister_event_fifo(). This leaves the FIFO file in place, and any subsequent invocation of the copytool with -f and the same FIFO path will fail to open the FIFO file with an EEXIST error. The signal() handler routine should call llapi_hsm_unregister_event_fifo() the same way that ct_run() does on normal termination.