Trac: Summary: Raise a FATAL error if the user tried to combine v3 and v3 hidden service in same directory to Raise a FATAL error if the user tried to combine v2 and prop224 hidden service in same directory
Hm, not sure what's the right behavior here, but given how frequent this behavior must be when upgrading from v2 -> v3 we should think about it. Marking this as 0.3.2 for now, but we can defer it.
/* XXX: Validate if we have any service that has the given service dir path. * This has two problems: * * a) It's O(n^2), but the same comment from the bottom of * rend_config_services() should apply. * * b) We only compare directory paths as strings, so we can't * detect two distinct paths that specify the same directory * (which can arise from symlinks, case-insensitivity, bind * mounts, etc.). * * It also can't detect that two separate Tor instances are trying * to use the same HiddenServiceDir; for that, we would need a * lock file. But this is enough to detect a simple mistake that * at least one person has actually made. */
So known issue but not that simple to fix.
Trac: Milestone: Tor: 0.3.2.x-final to Tor: 0.3.3.x-final