Bug#677685: sasl2-bin: please relabel /run directory for SE Linux

Russell Coker russell at coker.com.au
Sat Jun 16 03:49:51 UTC 2012


Package: sasl2-bin
Version: 2.1.25.dfsg1-4+b1
Severity: normal

Please apply a patch like the following to give the newly created directory
the correct context for SE Linux.

--- /etc/init.d/saslauthd.orig	2012-06-16 02:18:32.388848194 +0000
+++ /etc/init.d/saslauthd	2012-06-16 02:18:49.536841638 +0000
@@ -339,6 +339,7 @@
 {
 	# In the future, use -P/-Z to have SE Linux enhancement
 	install -d --group="$2" --mode="$3" --owner="$1" "$4"
+	[ -x /sbin/restorecon ] && /sbin/restorecon "$4"
 }
 
 # Action switch

-- System Information:
Debian Release: wheezy/sid
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-cyrus-sasl2-debian-devel mailing list