All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: cip-dev@lists.cip-project.org
Cc: jan.kiszka@siemens.com,
	Felix Moessbauer <felix.moessbauer@siemens.com>,
	Sai Sathujoda <Sai.Sathujoda@toshiba-tsip.com>
Subject: [isar-cip-core][PATCH 1/1] create audit log folder with tmpfiles.d
Date: Fri,  1 Mar 2024 10:34:22 +0100	[thread overview]
Message-ID: <20240301093422.572373-1-felix.moessbauer@siemens.com> (raw)

The current packaging of auditd is incompatible with an empty /var, as
the directory is created at install time. Until this is fixed upstream,
we add a tmpfiles.d entry to create the directory if it does not exist.

Fixes: #101
Reported-by: Sai Sathujoda <Sai.Sathujoda@toshiba-tsip.com>
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 recipes-core/immutable-rootfs/files/immutable-rootfs.tmpfiles | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-core/immutable-rootfs/files/immutable-rootfs.tmpfiles b/recipes-core/immutable-rootfs/files/immutable-rootfs.tmpfiles
index d180bc5..2f7c338 100644
--- a/recipes-core/immutable-rootfs/files/immutable-rootfs.tmpfiles
+++ b/recipes-core/immutable-rootfs/files/immutable-rootfs.tmpfiles
@@ -1 +1,2 @@
 L /var/lib/dpkg - - - - /usr/share/immutable-data/var/lib/dpkg
+d /var/log/audit 0700 root adm -
-- 
2.39.2



             reply	other threads:[~2024-03-01 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01  9:34 Felix Moessbauer [this message]
2024-03-05  6:28 ` [isar-cip-core][PATCH 1/1] create audit log folder with tmpfiles.d Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240301093422.572373-1-felix.moessbauer@siemens.com \
    --to=felix.moessbauer@siemens.com \
    --cc=Sai.Sathujoda@toshiba-tsip.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.