Add `log` and `tmp/pids` to linked_dirs