-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect argument format for option <optionName> #33
Comments
What is your OS and version? |
Wow, quick reply! thanks. Ubuntu 17.04 |
It's not on the list of supported OS versions: https://forge.puppet.com/edestecd/clamav/compatibility. Would you like to help us make it compatible? |
Sure I want to, I just need to figure out why it hangs on that... gimme a sec. |
While this module does not officially support that version, I am happy to add support, if you can help provide more detail... Can you find out what the correct argument format is for AlgorithmicDetection? As a temporary fix you could set that to the proper format or have it removed like so: class { 'clamav':
manage_clamd => true,
clamd_options => {
'AlgorithmicDetection' => undef,
},
} |
Hi, the thing is that the format is proper, I get true where true/yes/1 can live. Normally these changes are not that huge so that's why I opened this ticket. Thanks already! I think I'm missing something in the top of the file that needs to be loaded first ? |
OK, the puppetized install overwritten with a default clamd.conf gives the same error(s). Need to investigate. |
Found the issue, there comes ^M from github in the templates when you clone it. Or you guys have uploaded a template with ^M ? |
Please remove AllowSupplementaryGroups as it's removed from ClamAV 0.99.2 |
^M is a special character... Often thats a Windows carriage return new line issue. |
Any news on this? |
On a puppetrun I get the following message when the ClamAV Daemon wants to start
May 5 14:01:43 mailscan-02 systemd[1]: Started Clam AntiVirus userspace daemon.
May 5 14:01:44 mailscan-02 clamd[18391]: ERROR: Incorrect argument format for option AlgorithmicDetection
May 5 14:01:44 mailscan-02 clamd[18391]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
A default config from the ClamAV installation works well.
The text was updated successfully, but these errors were encountered: