Skip to content

cinc-wrapper breaks `chef-shell`/`cinc-shell`

Originally filed upstream (and closed).

If you call chef-shell on a cinc install two things happen. First, it breaks the TTY, so cinc-shell crashes with:

/opt/cinc/embedded/lib/ruby/2.7.0/reline/ansi.rb:74:in `raw': Inappropriate ioctl for device (Errno::ENOTTY)

(but calling cinc-shell directly works).

Second, it seems to trigger "inspect mode". I dunno what that is:

# chef-shell -a
Redirecting to cinc-shell
loading configuration: none (standalone session)
true
Switch to inspect mode.
Session type: standalone
Loading...................done.

But it doesn't happen when calling cinc-shell directly.

Edited by Lance Albertson