On 2019-12-19 10:04:48 [+0100], Christoph Berg wrote: > Re: Sebastian Andrzej Siewior 2019-12-18 > <20191218225837.qttuxpwrbo5ukpr3@flow> > > > $ sudo -u clamav freshclam --verbose > > > > what happens if you strip the sudo part? One of the first thing is to > > change to the clamav user (well so is my memory and the /var/…/clamav is > > owned by clamav so…)? However after I install sudo in my chroot and try > > this it still works :/ > > Now it just works, both with "sudo freshclam --verbose" and "sudo -u > clamav freshclam --verbose":
I meant without sudo but here you go. > Thu Dec 19 10:00:36 2019 -> *updatedb: Running g_cb_download_complete > callback... and now out of the sudden it is no longer outdated. > > > Time: 2.4s, ETA; 0.0s [=======================================>] > > > 52.81MiB/52.81MiB > > > * Connection #0 to host database.clamav.net left intact > > > Wed Dec 18 11:56:13 2019 -> ^Mirror https://database.clamav.net is not > > > synchronized. > > > > So I don't have this. And for that to happen you need an out-dated > > database. And somehow you have that and the ci host. Reproducible. > > Maybe there was one bad server in the mirror list... right. And the same server is used ci.debian.net. For days. The database server sits behind cloudflare's CDN [0]. Which means something would bad with the CDN. But then it appears to work with the old freshclam while new one throws the problem. So it might be a problem somewhere else. [0] https://blog.clamav.net/2018/09/want-to-improve-your-clamav-experience.html > > If the `sudo' part makes no difference, can you stash me your chroot or > > the other way around? There must be something that is different. > > One bit that could have been relevant is that I'm running on schroot > with tmpfs on an overlay fs. But that part is transparent. I would expect a transparent proxy, dns-preload library or an odd package which somehow influeces curl/freshclam. > Christoph Sebastian