8

Running the Ubuntu 14.04.4 LTS release (Trusty) using the new windows beta release with "Bash on Ubuntu on Windows" support. I'm having issues running services requiring upstart. ie:

[15:08 root@localhost ~] > start ttyS0 [15:08 root@localhost ~] > start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory.

It looks like the upstart daemon isn't running at all. I've checked the log file location for upstart /var/log/upstart/ there are no files there though there are many upstart config files in /etc/init/. I've been unable to find any information about how to manually start/restart the upstart daemon itself.

Thanks for any assistance in advance.

oldyear
  • 103
  • 1
  • 1
  • 5

2 Answers2

15

This has been discussed before. It's a known issue and the quick-fix suggested by Canonical is to run :

cat > /usr/sbin/policy-rc.d <<EOF
#!/bin/sh
exit 101
EOF
chmod +x /usr/sbin/policy-rc.d
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl

A real fix is available but not yet released to the Fast Ring:

A fix for the udev apt update issues is on it's way to the flighting branch. When the fix reaches the branch new subsystem installs will no longer have this issue.

1

It's exactly what it says. Upstart does not exist. Windows 10 has bash and certain other parts of Ubuntu. They never said anything about Upstart.