tiredofit / docker-clamav

Docker antivirus software with monitoring and customizable features
MIT License
27 stars 18 forks source link

s6-overlay-suexec: fatal: can only run as pid 1 #23

Open TechnoDezi opened 1 year ago

TechnoDezi commented 1 year ago

Summary

When attempting to run tiredofit/clamav:latest on Azure Container Instance I get the error "s6-overlay-suexec: fatal: can only run as pid 1" as the container is starting and then it never starts successfully. The Version from 2021/04 seems to start fine, but clamAV is too out datated and can't download files.

Steps to reproduce

Add a container instance on Azure and set it up to use tiredofit/clamav:latest.

What is the expected correct behavior?

The container should start, load clam AV and update virus database.

tiredofit commented 1 year ago

I believe this is related to the upgrade of S6 Overlay from 2.x to 3.x in the base images.

Are you trying to launch this container as a scoped user?

TechnoDezi commented 1 year ago

Hi

Sorry for the delay. I think it must be yes. I'm not sure how Azure container instances start the container, but it's very likely scoped user.

makschr commented 1 year ago

Hi, Any suggestion with this? We are experiencing the same problem. Last version successfully run on Azure is 2.3.1.

JonSmith commented 1 year ago

Same problem here - pulling the 2.3.1 image from Docker into an Azure Container Instance works but any later image fails with the "s6-overlay-suexec: fatal: can only run as pid 1" error. Going back to the Alpine base, the 3.5-7.2.19 image works and 3.5-7.3.0 fails with the same error - the version where S6 was changed from 2 to 3.