ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010201ClearOSapp-dropbox - Dropboxpublic2016-08-18 11:062016-09-13 11:53
Reporterbchambers 
Assigned Tobchambers 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.2.0 
Target Version7.2.0 UpdatesFixed in Version7.2.0 Updates 
Summary0010201: Race condition to initialise users
DescriptionThis 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-08-18 11:06 bchambers New Issue
2016-08-18 11:06 bchambers Status new => assigned
2016-08-18 11:06 bchambers Assigned To => bchambers
2016-09-13 11:53 user2 Status assigned => resolved
2016-09-13 11:53 user2 Fixed in Version => 7.2.0 Updates
2016-09-13 11:53 user2 Resolution open => fixed
2016-09-13 11:53 user2 Status resolved => closed