upstream/openstack
Carmen Rata eb557c0450 Set keyring dir group ownership on password change
This commit changes the group ownership for "/opt/platform/.keyring"
directory, and its subdirectories and files, from "root" to
'sys_protected', when keystone password changes for the admin user.
The 'sys_protected' group ownership is needed to support access
privileges for OpenLDAP/WAD users and is implemented by the ansible
bootstrap configuration.
The group ownership update in this commit is required because after
a keystone and corresponding keyring password change for the admin
user, the group ownership of the "/opt/platform/.keyring" directory
has been reset to "root".
As a consequence, a ldap user loses permission to access files in
that directory.
The group ownership reset is done in the keystone package.
That is why the fix for this bug is delivered as a patch for the
keystone package.

Test Plan:
PASS: Verify the keystone patch install correctly.
PASS: Verify the group ownership was applied correctly
for files in "/opt/platform/.keyring" so are part of the
"sys_protected" group before changing keystone password for the admin
user.
PASS: Verify the group ownership for files in "/opt/platform/.keyring"
remains "sys_protected" after changing keystone password for the admin
user.
PASS: Verify that an openldap user that is part of the "sys_protected"
group can execute command: "source /etc/platform/openrc" after the
keystone password has been changed for the admin user.

Closes-Bug: 2039870

Change-Id: I0360d1f13725cca9900b967c32451fc6f7afe761
Signed-off-by: Carmen Rata <carmen.rata@windriver.com>
2023-10-20 02:57:36 +00:00
..
barbican/debian Debian: barbican: CVE-2022-3100 2023-06-24 15:34:00 +08:00
cinder_conf_dummy StarlingX open source release updates 2018-05-31 07:37:19 -07:00
keystone/debian Set keyring dir group ownership on password change 2023-10-20 02:57:36 +00:00
openstack-aodh stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
openstack-ironic stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
openstack-os-vif/centos Add auto-version for remaining stx/upstream packages 2020-12-17 13:21:18 -05:00
openstack-pkg-tools/debian Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
openstack-ras Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-aodhclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-barbican stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-barbicanclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-ceilometer stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-cinder stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-cinderclient Add location parameter for volume backup creation 2023-03-09 14:43:07 -03:00
python-glance stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-glanceclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-gnocchi Port stx-openstack images with WSGI to stx-debian 2023-01-25 08:54:55 -03:00
python-gnocchiclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-heat/openstack-heat stx-heat: Use commit hash in PROJECT_REF 2023-05-10 09:30:32 -03:00
python-heatclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-horizon Add enabled condition for read-only address pools 2023-08-15 16:06:59 -03:00
python-ironicclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-keystone stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-keystoneauth1/centos [PATCH 01/16] stx-upstream: upgrade keystoneauth1 to Train. 2020-04-02 06:08:59 +00:00
python-keystoneclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-neutron stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-neutronclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-nova stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-novaclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-openstackclient Add location parameter for volume backup creation 2023-03-09 14:43:07 -03:00
python-openstackdocstheme/centos Add auto-version for remaining stx/upstream packages 2020-12-17 13:21:18 -05:00
python-openstacksdk Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-osc-lib Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-oslo-messaging Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-pankoclient Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
python-placement stx-openstack: Use commit hash in PROJECT_REF 2023-05-10 11:25:00 -03:00
python-platformclients Change version requirement of netaddr 2023-01-12 12:01:31 +00:00
python-wsme Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00
rabbitmq-server Update debian package versions to use git commits 2023-02-23 13:50:05 -03:00