All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Felix Moessbauer <felix.moessbauer@siemens.com>,
	cip-dev@lists.cip-project.org
Cc: Sai Sathujoda <Sai.Sathujoda@toshiba-tsip.com>
Subject: Re: [isar-cip-core][PATCH 1/1] create audit log folder with tmpfiles.d
Date: Tue, 5 Mar 2024 07:28:20 +0100	[thread overview]
Message-ID: <fe9b2bc3-2444-453b-b2fb-62248d0e7f49@siemens.com> (raw)
In-Reply-To: <20240301093422.572373-1-felix.moessbauer@siemens.com>

On 01.03.24 10:34, Felix Moessbauer wrote:
> 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 -

Thanks, applied.

Jan

-- 
Siemens AG, Technology
Linux Expert Center



      reply	other threads:[~2024-03-05  6:28 UTC|newest]

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

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=fe9b2bc3-2444-453b-b2fb-62248d0e7f49@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=Sai.Sathujoda@toshiba-tsip.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=felix.moessbauer@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.