[Buildroot] [PATCH] package/audit: Fix type output on log folder creation

Peter Korsgaard peter at korsgaard.com
Mon Oct 18 08:20:16 UTC 2021


>>>>> "José" == José Pekkarinen <jose.pekkarinen at unikie.com> writes:

 > Testing buildroot 2021.05 I observed that after first
 > boot I was having the following folders:

 > /context:
 > /system_u:object_r:auditd_log_t

 > The root of this problem turned to be a difference in the
 > output of $(selabel_lookup -b file -k /var/log/audit) called
 > by S02auditd that from this verison on looks like:

 > $ selabel_lookup -b file -k /var/log/audit
 > Default context: system_u:object_r:auditd_log_t

 > This patch will cut it to retrieve the type piece only.

 > Signed-off-by: José Pekkarinen <jose.pekkarinen at unikie.com>

Committed to 2021.02.x and 2021.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list