This work is part of Debian integration effort.
This work only affects Debian.
Cannot obtain password from keyring when doing 'source
/etc/platform/openrc' from sysadmin user.
Due to a comparison with a wrong octal permissions string, code that
requires elevation is run. The code shouldn't run in the first place
using sysadmin user.
Fix the comparison string.
Debian Bullseye tests:
- PASS: build-pkgs and build-image
- PASS: bootstrap
- PASS: after bootstrap can source /etc/platform/openrc from sysadmin
Story: 2009221
Task: 43438
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I0c1f53c216f1a126280e0e27748fd50b2759f3c3
The upstream commit 1e422ed of python-keyring moved non-preferred
keyring backends to separated package "keyrings.alt", so adding the
keyrings.alt and porting the patches related to non-preferred
keyring backends to keyrings.alt.
Patches are not up to our standard. Bringing them up to standard
is future work, tracked by:
https://bugs.launchpad.net/starlingx/+bug/1950506.
Related-Bug: 1950506
Building successfully.
Installing python3-keyrings.alt, python3-keyring and the dependence
package tsconfig successfully.
Booting up ISO successfully on qemu.
Story: 2009221
Task: 43438
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I4b70927709f0cc968e32af1d0e2a9402f47b2fe9