Bug 15790 - Creation of audit DISTRO_FEATURE
Summary: Creation of audit DISTRO_FEATURE
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 5.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-03-10 06:53 UTC by Carlos Bombonatti
Modified: 2025-04-24 14:57 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.