Ticket #2 (new defect)

Opened 16 years ago

Last modified 16 years ago

pyHesiodFS Should Fail Gracefully When Network is Down

Reported by: price Assigned to: quentin
Priority: major Component: pyHesiodFS
Keywords: Cc:

Description

(submitted by Greg Price)

When the automounter gets invoked and I don't have network (say because I just unsuspended and am still getting on wireless) the resulting error message / errno is less than enlightening.

$ ls /mit/freeculture/
ls: /mit/freeculture/: Invalid argument

Probably the fuse fs can fix this by returning a more informative error code. ETIMEDOUT "Operation timed out"? ENONET "Machine is not on the network" (if you can tell that's the actual problem)?

Thanks! Greg

Change History

01/25/08 23:03:21 changed by broder

  • reporter changed from broder to price.

pyDNS raises DNS.Base.DNSError, 'Timeout', if that helps