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
clamav pod is runnning but clamscan command cann't be executed problem
root@vplx2kn1:~/fred_yaml# cat clamav_2.yaml apiVersion: v1 kind: Pod metadata: name: clamav4 spec: containers:
root@vplx2kn1:~/fred_yaml# kubectl apply -f clamav_2.yaml pod/clamav4 configured
pod runging but clamscan command cann't be executed
root@vplx2kn1:~/fred_yaml# kubectl logs clamav4 ,---. ,--------.,--. ,--. ,---. ,--. ,--------.| | '--. .--'--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .' | | ,--.| .--'| .-. :' .-. | | .-. || -, | | | | | | | | | || | \ --.\ -' | ' '-' '| .-' | |.--.| | --' --' --'--' ----' ---' ---' --' --''--'`--' .--. '--' Image: tiredofit/clamav | Version 2.4.2 Type 'image_changelog' for details Repository/Issues/Support: https://github.com/tiredofit/docker-clamav/ Sponsor me for development and upkeep: https://www.tiredofit.ca/sponsor
--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .' | | ,--.| .--'| .-. :' .-. | | .-. ||
-' | ' '-' '| .-' | |.--.| |
--'
---'
2022-08-29.08:13:40 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern' 2022-08-29.08:13:40 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron' 2022-08-29.08:13:40 [NOTICE] ** [clamav] Configuring Logging 2022-08-29.08:13:41 [INFO] ** [clamav] Setting up Configuration for the first time 2022-08-29.08:13:41 [NOTICE] ** [clamav] Generating Configuration for Clam Antivirus 2022-08-29.08:13:41 [NOTICE] ** [clamav] Generating Configuration for Definitions Updater 2022-08-29.08:13:41 [WARN] ** [clamav] No Virus Definitions Found! Downloading.. 2022-08-29.08:14:13 [INFO] ** [clamav] Container Initialization Complete /run/s6/basedir/scripts/rc.init: line 60: /bin/sh -c clamscan -r /mnt > clamav.log: not found root@vplx2kn1:~/fred_yaml#
If you need more information,please let me know!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
clamav pod is runnning but clamscan command cann't be executed problem
Steps to reproduce
root@vplx2kn1:~/fred_yaml# cat clamav_2.yaml
apiVersion: v1
kind: Pod
metadata:
name: clamav4
spec:
containers:
image: tiredofit/clamav:latest
ports:
volumeMounts:
mountPath: /mnt
args: ["/bin/sh -c clamscan -r /mnt > clamav.log"]
volumes:
hostPath:
path: /home/fxtadmin/fred_test
root@vplx2kn1:~/fred_yaml# kubectl apply -f clamav_2.yaml
pod/clamav4 configured
What is the expected correct behavior?
pod runging but clamscan command cann't be executed
Relevant logs and/or screenshots
root@vplx2kn1:~/fred_yaml# kubectl logs clamav4
,---.
,--------.,--. ,--. ,---. ,--. ,--------.| |
'--. .--'
--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .' | | ,--.| .--'| .-. :' .-. | | .-. ||
-, | | | | | || | | || | \ --.\
-' | ' '-' '| .-' | |.--.| |
--'--'
--'--'
----'---'
---'--'
--''--'`--' .--.'--'
Image: tiredofit/clamav | Version 2.4.2 Type 'image_changelog' for details
Repository/Issues/Support: https://github.com/tiredofit/docker-clamav/
Sponsor me for development and upkeep: https://www.tiredofit.ca/sponsor
2022-08-29.08:13:40 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern'
2022-08-29.08:13:40 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron'
2022-08-29.08:13:40 [NOTICE] ** [clamav] Configuring Logging
2022-08-29.08:13:41 [INFO] ** [clamav] Setting up Configuration for the first time
2022-08-29.08:13:41 [NOTICE] ** [clamav] Generating Configuration for Clam Antivirus
2022-08-29.08:13:41 [NOTICE] ** [clamav] Generating Configuration for Definitions Updater
2022-08-29.08:13:41 [WARN] ** [clamav] No Virus Definitions Found! Downloading..
2022-08-29.08:14:13 [INFO] ** [clamav] Container Initialization Complete
/run/s6/basedir/scripts/rc.init: line 60: /bin/sh -c clamscan -r /mnt > clamav.log: not found
root@vplx2kn1:~/fred_yaml#
Environment
If you need more information,please let me know!
The text was updated successfully, but these errors were encountered: