As a workaround, could you use the attached program instead of mount.s3ql?

It should work just like mount.s3ql, but it will retry on any kind of
DNS error.


I'm still planning to fix this properly (probably by not retrying on the
first resolution attempt), but that is going to take a while.

Best,
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«
#!/usr/bin/env python3
import sys
sys.path.insert(0, '/usr/lib/s3ql')

import s3ql.logging
import dugong

is_temp_network_error_real = dugong.is_temp_network_error
def is_temp_network_error(exc):
    if isinstance(exc, dugong.HostnameNotResolvable):
        return True
    return is_temp_network_error_real(exc)
dugong.is_temp_network_error = is_temp_network_error

import s3ql.mount

s3ql.mount.main(sys.argv[1:])

Reply via email to