diff --git a/.vscode/settings.json b/.vscode/settings.json index 501ab66..f888342 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,6 +5,7 @@ "behaviour", "bofh", "clamd", + "clamonacc", "clamscan", "Clamuko", "clamupdate", @@ -14,6 +15,7 @@ "fanotify", "filesize", "freshclam", + "getsebool", "INADDR", "libclamav", "logclean", @@ -33,14 +35,18 @@ "PCRE", "preludeanalyzername", "preludeenable", + "recieve", "RLIMIT", "safebrowsing", + "setsebool", "subsig", "subsigs", "tcpaddre", "tcpaddress", "tcpsocket", + "VIRUSEVENT", "virusgroup", + "VIRUSNAME", "XMLDOCS", "xxxyyzzzz" ] diff --git a/doc/puppet_classes/clamav_cd_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/clamav_cd_3A_3Amain_3A_3Aconfig.html index 4791da5..8be44a4 100644 --- a/doc/puppet_classes/clamav_cd_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/clamav_cd_3A_3Amain_3A_3Aconfig.html @@ -106,7 +106,14 @@ clamav_cd. 8 9 10 -11 +11 +12 +13 +14 +15 +16 +17 +18
# File 'manifests/main/config.pp', line 7
@@ -115,6 +122,13 @@ class clamav_cd::main::config (
) inherits clamav_cd::params {
include clamav_cd::main::service
+
+ # Ensure the SELinux boolean antivirus_can_scan_system is enabled if disabled
+ exec { 'enable_antivirus_can_scan_system':
+ command => '/usr/sbin/setsebool -P antivirus_can_scan_system 1',
+ unless => '/usr/sbin/getsebool antivirus_can_scan_system | grep --quiet "on"',
+ path => ['/usr/sbin', '/bin'],
+ }
}