Skip to contentSkip to conversation

New: auditd startup broken when coreutils is installed

Buildroot [email protected] 1 participant 2 messages Mar 29, 2023 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15496

            Bug ID: 15496
           Summary: auditd startup broken when coreutils is installed
           Product: buildroot
           Version: 2023.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

In the launch script /etc/init.d/S02auditd (buildroot/package/audit/S02auditd),
line 23: mkdir -p /var/log/audit -Z `selabel_lookup -b file -k
/var/log/audit | cut -d ' ' -f 3`

does not work when coreutils mkdir replaces the one supplied by busybox. The -Z context needs to be placed before the directory name with coreutils and BusyBox will accept it both ways.

With coreutils, a folder is created with the name of the context in the current directory, auditd appears to start, appears in ps, but does no SELinux logging. Doing a restart will show an OK on stopping and a FAIL on starting. Starting again shows an OK but no logging occurs.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15496] auditd startup broken when coreutils is installed

https://bugs.busybox.net/show_bug.cgi?id=15496

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]

--- Comment #1 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot