diff options
| author | Marta Rybczynska <marta.rybczynska@ygreky.com> | 2025-07-09 10:14:00 +0200 |
|---|---|---|
| committer | Marta Rybczynska <marta.rybczynska@ygreky.com> | 2025-07-23 18:45:56 +0200 |
| commit | 7bdd0a8b48442e3a93b98647801c2ff5dee7267b (patch) | |
| tree | 8140812cb90faf661ee53674b59af76bd82467c5 | |
| parent | 828a78314f51b919baf638d64e8e12c0c0a408ad (diff) | |
| download | meta-security-7bdd0a8b48442e3a93b98647801c2ff5dee7267b.tar.gz | |
bastille: prevent host uids on files
We get an intermittent QA error about file permissions, happening roughly
on 1 build of 10.
The change adds chown to prevent host ids on files related to the
set_required_questions.py script, to avoid long debugging for now.
Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
| -rw-r--r-- | dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb b/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb index b95ec2d..fa9a964 100644 --- a/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb +++ b/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb | |||
| @@ -146,6 +146,8 @@ do_install () { | |||
| 146 | 146 | ||
| 147 | ${THISDIR}/files/set_required_questions.py ${D}${sysconfdir}/Bastille/config ${D}${datadir}/Bastille/Questions | 147 | ${THISDIR}/files/set_required_questions.py ${D}${sysconfdir}/Bastille/config ${D}${datadir}/Bastille/Questions |
| 148 | 148 | ||
| 149 | chown root:root -R ${D}/${datadir}/Bastille | ||
| 150 | |||
| 149 | ln -s RevertBastille ${D}${sbindir}/UndoBastille | 151 | ln -s RevertBastille ${D}${sbindir}/UndoBastille |
| 150 | 152 | ||
| 151 | # Create /var/log/Bastille in runtime. | 153 | # Create /var/log/Bastille in runtime. |
