commit | 0be80bdde8668f7990960bcdddaf3f1360eeadbb | [log] [tgz] |
---|---|---|
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | Fri Jan 10 12:20:16 2020 +0530 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Jan 23 01:21:12 2020 +0000 |
tree | 711d980d677a2bc7f4c3ef1df3ecb88ed17cbd4e | |
parent | bbe728c374d2583596e628c88c0d8110836f021d [diff] |
[user-mgmt]: Do late initialization of user init. When dependency with phosphor-user-manager is removed from host-ipmid, both the daemons can start on it's own pace, causing host-ipmid to miss both GetManagedObjects query and signal capture, as host-ipmid is busy in doing the initialization. Updated code, such that user initialization is posted and executed as part of io schedule. Tested: 1. Verified that user list are properly listed after this change. Note: Also, performed following tests to determine the order didn't cause any problem. Verified with both ipmi_user.json deleted and preserved. 2. Started phosphor-user-manager after host-ipmid 3. Re-started phosphor-user-manager. 4. Started phosphor-host-ipmid after phosphor-user-manager. 5. Restarted phosphor-host-ipmid. 6. Added sleep code to force the scenario of GetManagedObjects fails, and signals are captured. and GetManagedObject passes (when both are started). Change-Id: Id5cc6ada6dd3472ddfd8803c49cd4a2a7fb6c58b Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.