Message ID | 20240301093422.572373-1-felix.moessbauer@siemens.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [isar-cip-core,1/1] create audit log folder with tmpfiles.d | expand |
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
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 -
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(+)