[Pkg-clamav-devel] Bug#677686: clamav-daemon: please relabel the /run directory for SE Linux
Russell Coker
russell at coker.com.au
Sat Jun 16 03:51:32 UTC 2012
Package: clamav-daemon
Version: 0.97.3+dfsg-2.2
Severity: normal
Please apply a patch like the following to label the /run directory for
SE Linux.
--- /etc/init.d/clamav-daemon.orig 2012-06-16 02:12:56.000844605 +0000
+++ /etc/init.d/clamav-daemon 2012-06-16 02:13:22.648848190 +0000
@@ -204,6 +204,7 @@
[ -n "$User" ] || User=clamav
mkdir -p -m 0755 "$DIR"
chown "$User" "$DIR"
+ [ -x /sbin/restorecon ] && /sbin/restorecon "$DIR"
}
# Debconf Functions
More information about the Pkg-clamav-devel
mailing list