ClearFoundation Tracker - ClearOS
View Issue Details
0010201ClearOSapp-dropbox - Dropboxpublic2016-08-18 11:062016-09-13 11:53
bchambers 
bchambers 
normalmajorsometimes
closedfixed 
7.2.0 
7.2.0 Updates7.2.0 Updates 
0010201: Race condition to initialise users
This note in this code:

// TODO
// Ugly hack...but how to start init scripts as user otherwise? Don't want to stop/start all instances
$this->set_init_user($username);
$this->restart();
$this->set_init_user(NULL);

says it all...but the daemon restart should wait on completing before we reset the user init back to null. Works OK sometimes, but changing to:

$this->restart(FALSE);

so the daemon is not restarted in the background and we wait on it is much more robust.
No tags attached.
Issue History
2016-08-18 11:06bchambersNew Issue
2016-08-18 11:06bchambersStatusnew => assigned
2016-08-18 11:06bchambersAssigned To => bchambers
2016-09-13 11:53user2Statusassigned => resolved
2016-09-13 11:53user2Fixed in Version => 7.2.0 Updates
2016-09-13 11:53user2Resolutionopen => fixed
2016-09-13 11:53user2Statusresolved => closed

There are no notes attached to this issue.