commit | 489a4ed9dc200db52e4e4cf5600b0367a29155f8 | [log] [tgz] |
---|---|---|
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | Fri Jan 17 11:48:40 2020 +0530 |
committer | Tom Joseph <tomjoseph@in.ibm.com> | Thu Jan 23 09:58:43 2020 +0000 |
tree | 8d8dbafc3354ac5727dc2980344ec7280815bdec | |
parent | 0be80bdde8668f7990960bcdddaf3f1360eeadbb [diff] |
[Fix]: Check ipmi groups list before creating user When phosphor-user-manager is started later than ipmid, then ipmid misses to get the AvailableGroups list from phosphor-user-manager. Further creation of user through ipmi will end up creating user which doesn't belong to any group at all. This fixes, by making sure, ipmi creates user only if ipmi group is in available groups lists, and will do re-query if it is empty. Tested: 1. Verified the user creation behaviour with having dependency to phosphor-user-manager and without. 2. Manually tested the following. a. Stopped phosphor-user-manager & all ipmi b. Started phosphor-host-ipmid c. started phosphor-user-manager d. using ipmitool user set name created user and verified that it belongs to proper group as expected. Change-Id: I5810babda0e70eb7b6bca577af2031da90dbb068 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
.