[DSE-Dev] Bug#1038968: SELinux policy build fails due to duplicate rspamd spamassassin file context declaration
Christian Schneider
christian.schneider3 at gmx.net
Fri Jun 23 20:32:30 BST 2023
Package: selinux-policy-src
Version: 2:2.20221101-9
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source
Patch:
diff --git a/debian/patches/0027-services b/debian/patches/0027-services
index 710b5df..245e54c 100644
--- a/debian/patches/0027-services
+++ b/debian/patches/0027-services
@@ -1627,7 +1627,6 @@ Index: refpolicy-2.20221101/policy/modules/services/spamassassin.fc
/var/log/spamd\.log.* -- gen_context(system_u:object_r:spamd_log_t,s0)
/var/log/rspamd(/.*)? gen_context(system_u:object_r:spamd_log_t,s0)
/var/log/rspamd\.log.* -- gen_context(system_u:object_r:spamd_log_t,s0)
-+/var/log/rspamd(/.*)? gen_context(system_u:object_r:spamd_log_t,s0)
/var/log/mimedefang.* -- gen_context(system_u:object_r:spamd_log_t,s0)
/var/vmail/\.spamassassin(/.*)? gen_context(system_u:object_r:spamassassin_home_t,s0)
-- System Information:
Debian Release: trixie/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-9-amd64 (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_FORCED_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the SELinux-devel
mailing list