We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Clamd start is failing when some comment are added on the same line as a config value in the clamd.conf file.
clamd.conf
Edit clamd.conf and add MaxRecursion 20 # set to 20 for example.
MaxRecursion 20 # set to 20
$ grep MaxRecursion /etc/clamav/clamd.conf MaxRecursion 20 # set to 20 $ clamd ERROR: Incorrect argument format for option MaxRecursion ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Move the inline comment to its own line and it's starting again:
$ grep -B1 MaxRecursion /etc/clamav/clamd.conf # set to 20 MaxRecursion 20 $ clamd $ echo $? 0 $ ps -ef | grep clamd | grep -v grep 121 clamav 0:16 {clamd} /run/rosetta/rosetta /usr/sbin/clamd clamd
If applicable, add screenshots to help explain your problem.
If the issue is reproducible only when scanning a specific file, attach it to the ticket.
The text was updated successfully, but these errors were encountered:
I agree, it would be nice if clamav's config files would support inline comments.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Clamd start is failing when some comment are added on the same line as a config value in the
clamd.conf
file.How to reproduce the problem
Edit
clamd.conf
and addMaxRecursion 20 # set to 20
for example.Move the inline comment to its own line and it's starting again:
Attachments
If applicable, add screenshots to help explain your problem.
If the issue is reproducible only when scanning a specific file, attach it to the ticket.
The text was updated successfully, but these errors were encountered: