Dominique Leuenberger 2023-06-08 19:41:54 +00:00 committed by Git OBS Bridge
commit e33102575f
3 changed files with 7 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Description=Load the IMA Policy
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
Environment=IMA_SECFS_POLICY=/sys/kernel/security/ima/policy Environment=IMA_SECFS_POLICY=/sys/kernel/security/ima/policy
Environment=IMA_POLICY=/etc/ima/ima-policy Environment=IMA_POLICY=/etc/ima/ima-policy.POST-SYSTEMD
ExecStart=bash -c '[ -f $IMA_SECFS_POLICY ] && [ -f $IMA_POLICY ] && cat $IMA_POLICY > $IMA_SECFS_POLICY' ExecStart=bash -c '[ -f $IMA_SECFS_POLICY ] && [ -f $IMA_POLICY ] && cat $IMA_POLICY > $IMA_SECFS_POLICY'
TimeoutStartSec=0 TimeoutStartSec=0

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 7 09:08:22 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>
- Recommends the IMA Policy subpackage only if SELinux is configured
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 05 08:41:33 UTC 2023 - aplanas@suse.com Mon Jun 05 08:41:33 UTC 2023 - aplanas@suse.com

View File

@ -51,7 +51,7 @@ BuildRequires: tpm2-0-tss-devel
Requires: libtss2-tcti-device0 Requires: libtss2-tcti-device0
Requires: logrotate Requires: logrotate
Requires: tpm2.0-abrmd Requires: tpm2.0-abrmd
Recommends: keylime-ima-policy Recommends: (keylime-ima-policy if selinux-policy-targeted)
Provides: user(keylime) Provides: user(keylime)
%sysusers_requires %sysusers_requires
# Disable this line if you wish to support all platforms. In most # Disable this line if you wish to support all platforms. In most