Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15496] New: auditd startup broken when coreutils is installed
@ 2023-03-29 13:56 bugzilla
  2024-06-15 15:07 ` [Buildroot] [Bug 15496] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-03-29 13:56 UTC (permalink / raw)
  To: buildroot

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: unassigned@buildroot.uclibc.org
          Reporter: jbittner.br.bugs@gmail.com
                CC: buildroot@uclibc.org
  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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-15 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 13:56 [Buildroot] [Bug 15496] New: auditd startup broken when coreutils is installed bugzilla
2024-06-15 15:07 ` [Buildroot] [Bug 15496] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox