codekitchen / dinghy

faster, friendlier Docker on OS X
MIT License
2.12k stars 109 forks source link

FSEV crashed due to symlink loop #267

Open NeoPhi opened 6 years ago

NeoPhi commented 6 years ago

After issuing an incorrect symlink command ln -s BAD BAD FSEV stopped with the following error:

/usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/watch.rb:23:in `stat': Too many levels of symbolic links @ rb_file_s_stat - /Users/danielr/Source/BAD (Errno::ELOOP)
    from /usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/watch.rb:23:in `build_event'
    from /usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/watch.rb:13:in `block (2 levels) in run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/watch.rb:12:in `each'
    from /usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/watch.rb:12:in `block in run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/rb-fsevent/lib/rb-fsevent/fsevent.rb:77:in `run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/watch.rb:17:in `run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/fsevents_to_vm/lib/fsevents_to_vm/cli.rb:24:in `start'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor/command.rb:27:in `run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor/invocation.rb:126:in `invoke_command'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor.rb:359:in `dispatch'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor/base.rb:440:in `start'
    from /usr/local/Cellar/dinghy/4.6.3/cli/dinghy/fsevents_to_vm.rb:39:in `run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/daemons/lib/daemons/application.rb:270:in `call'
    from /usr/local/Cellar/dinghy/4.6.3/cli/daemons/lib/daemons/application.rb:270:in `block in start_proc'
    from /usr/local/Cellar/dinghy/4.6.3/cli/daemons/lib/daemons/daemonize.rb:84:in `call_as_daemon'
    from /usr/local/Cellar/dinghy/4.6.3/cli/daemons/lib/daemons/application.rb:274:in `start_proc'
    from /usr/local/Cellar/dinghy/4.6.3/cli/daemons/lib/daemons/application.rb:300:in `start'
    from /usr/local/Cellar/dinghy/4.6.3/cli/dinghy/daemon.rb:73:in `start'
    from /usr/local/Cellar/dinghy/4.6.3/cli/dinghy/daemon.rb:14:in `up'
    from /usr/local/Cellar/dinghy/4.6.3/cli/dinghy/fsevents_to_vm.rb:14:in `up'
    from /usr/local/Cellar/dinghy/4.6.3/cli/cli.rb:259:in `start_services'
    from /usr/local/Cellar/dinghy/4.6.3/cli/cli.rb:85:in `up'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor/command.rb:27:in `run'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor/invocation.rb:126:in `invoke_command'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor.rb:359:in `dispatch'
    from /usr/local/Cellar/dinghy/4.6.3/cli/thor/lib/thor/base.rb:440:in `start'
    from /usr/local/bin/_dinghy_command:12:in `<main>'