Skip to contentSkip to conversation

lynis: Add missing runtime dependencies

PATCH In review [email protected] 2 participants 4 messages Feb 15, 2024 – Feb 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lynis: Add missing runtime dependencies

From: BELOUARGA Mohamed <[email protected]>

Lynis tool needs ip, ss, tr and netstat.
If they are missing Lynis skips some important audit tests.

---
 recipes-compliance/lynis/lynis_3.0.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-compliance/lynis/lynis_3.0.9.bb +1 -1
index 5b5864c..b8b97a5 100644
@@ -41,4 +41,4 @@ do_install () {
 FILES:${PN} += "${sysconfdir}/developer.prf ${sysconfdir}/default.prf"
 FILES:${PN}-doc += "lynis.8 FAQ README CHANGELOG.md CONTRIBUTIONS.md CONTRIBUTORS.md" 
 
-RDEPENDS:${PN} += "procps findutils"
+RDEPENDS:${PN} += "procps findutils coreutils iproute2-ip iproute2-ss net-tools"
Signature · 1 line
2.25.1
#1 lore raw

Hi Mohamed

Quoted 15 lines · On 2/15/24 at 23:57, [email protected] wrote:

From: BELOUARGA Mohamed <[email protected]>

Lynis tool needs ip, ss, tr and netstat.
If they are missing Lynis skips some important audit tests.

---
  recipes-compliance/lynis/lynis_3.0.9.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-compliance/lynis/lynis_3.0.9.bb +0 -0
index 5b5864c..b8b97a5 100644

recipes-compliance/lynis/lynis_3.0.9.bb do_install () { · line 44

Quoted 5 lines
recipes-compliance/lynis/lynis_3.0.9.bb +1 -1
@@ -41,4 +41,4 @@ do_install () {
  FILES:${PN} += "${sysconfdir}/developer.prf ${sysconfdir}/default.prf"
  FILES:${PN}-doc += "lynis.8 FAQ README CHANGELOG.md CONTRIBUTIONS.md CONTRIBUTORS.md"
 
-RDEPENDS:${PN} += "procps findutils"
+RDEPENDS:${PN} += "procps findutils coreutils iproute2-ip iproute2-ss net-tools"

Thanks for the patch!
Maybe you should send it again with the "[meta-security]" prefix, otherwise, the meta-security maintainers may miss it.

See https://git.yoctoproject.org/meta-security/tree/README.md
Thanks again
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

Hey Michael,

I did what you asked, can you please remove my previous patches ?

Thanks,
BELOUARGA Mohamed

#3 lore raw

Hi Mohamed

Quoted 3 lines · On 2/17/24 at 14:01, [email protected] wrote:

Hey Michael,

I did what you asked, can you please remove my previous patches ?

Thanks a lot!
Actually, I haven't merged your previous patches yet, so don't hesitate to send the new ones.

Thanks again
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com