Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
sqstart failed on CentOS.
The Monitor process abort in CProcessContainer::CProcessContainer() due to failed to create semaphore.
//create & initialize existing semaphore
char sem_name[MAX_PROCESS_PATH];
snprintf(sem_name,sizeof(sem_name), "/monitor.sem.%s", getenv("USER"));
Mutex = sem_open(sem_name,O_CREAT,0644,0);
if(Mutex == SEM_FAILED)
sem_name is not initialized and snprintf will not add \0 after copy required bytes.
Attachments
Issue Links
- Blocked
-
TRAFODION-1861 support Trafodion running on CentOS 7
- Closed