integ/security
Dan Voiculeasa ccdfc3b716 debian: Fix openrc sourcing
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
2022-01-28 14:00:21 +02:00
..
keyrings.alt/debian debian: Fix openrc sourcing 2022-01-28 14:00:21 +02:00
libtpms/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
python-keyring Add debian package for python-keyring 2021-11-22 13:11:46 +08:00
shim-signed/centos relocate /pxeboot to /var/pxeboot 2021-12-23 14:29:00 -05:00
shim-unsigned shim-unsigned: add debian package 2021-12-06 11:07:02 +08:00
spectre-meltdown-checker/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
swtpm Revert "Fix user ownership for /usr/bin/swtpm_setup.sh" 2020-11-04 20:04:28 +00:00
tboot/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
tpm2-tools Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
tss2 Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00