Bug 15790

Summary: Creation of audit DISTRO_FEATURE
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Carlos Bombonatti <carlos.bombonatti>
Component: configurationAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium CC: randy.macleod, yoann.congal
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Carlos Bombonatti 2025-03-10 06:53:53 UTC
Create audit DISTRO_FEATURE to enable audit support into compilation.

It is already introduced into systemd commit id 1bf5e676912c2cdf63b576796117135ef314580f .

Few recipies make it dependent from selinux, but it should be independent features:
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)}

Let me know your opinion.
Comment 1 Randy MacLeod 2025-03-13 14:37:35 UTC
The DISTRO_FEATURES are for  system-wide tuning or configuration. Are there recipes other than systemd and maybe auditd ? 

perf, dbus, shadow, cronie(sp?) pseudo, all have PACKAGECONFIGs for audit so it probably makese sense. 

Can you test and send a set of patches to oe-core and other lists ?
Comment 2 Randy MacLeod 2025-04-24 14:44:58 UTC
A nice idea but we need someone to work on it.
Comment 3 Stephen K Jolley 2025-04-24 14:57:27 UTC
A nice idea but we need someone to work on it.