Solve with SaltStack: initctl: `Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused`

I got the following error when I attempted “vagrant up” on the standard ubuntu/vivid64 with virtualbox: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

The full error stream is here: https://pastee.org/hnh8x
Be sure to say hello to our old friend stdin: is not a tty.

Please find the relevant Vagrantfile here: https://pastee.org/sfyb7, created with vagrant init --force ubuntu/vivid64 https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box.

Can I fix this error with Saltstack provisioning? If so, how?

The closest bit of Saltstack documentation I found related to Upstart follows: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.upstart.html

The Ubuntu documentation on the subject, here, https://wiki.ubuntu.com/SystemdForUpstartUsers, recommends the installation of the upstart-sysv package. Is that all that’s required to change back using Saltstack?

The following does not seem to resolve the boot issues:

upstart-sysv:
  pkg.installed

Is there anything I can add to this to help solve the problem?


Source: ubuntu

Leave a Reply