Skip to contentSkip to conversation

clamav: runtime fix local routing

PATCH New Armin Kuster 1 participant 1 message Apr 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clamav: runtime fix local routing

This addes the localhost to resolve.conf to fix:

ERROR: Can't get information about database.clamav.net: Temporary failure in name resolution
ERROR: Can't download main.cvd from database.clamav.net
Giving up on database.clamav.net...

---
 lib/oeqa/runtime/cases/clamav.py | 2 ++
 1 file changed, 2 insertions(+)
lib/oeqa/runtime/cases/clamav.py +2 -0
index 647861c..d0bc645 100644
@@ -19,6 +19,8 @@ class ClamavTest(OERuntimeTestCase):
             f.write(os.linesep)
             f.write("nameserver 8.8.4.4")
             f.write(os.linesep)
+            f.write("nameserver 127.0.0.1")
+            f.write(os.linesep)
 
     @classmethod
     def tearDownClass(cls):
Signature · 1 line
2.17.1