#### Qubes OS version:
<!-- (e.g., `R3.2`)
You can get it from the dom0 t…erminal with the command
`cat /etc/qubes-release`
Type below this line. -->
Qubes-R4.0-rc3.x86_64.iso, fresh install
#### Affected TemplateVMs:
<!-- (e.g., `fedora-23`, if applicable)
Type below this line. -->
Not applicable
---
### Steps to reproduce the behavior:
Perform a fresh install of 4.0RC3 on a Macbook Pro 11,4 following the instructions in the [Mac troubleshooting guide](https://www.qubes-os.org/doc/macbook-troubleshooting/#macbook-pro-retina-15-inch-mid-2015-macbookpro-115) (substituting the current kernel version). After rebooting into the Qubes first-run wizard, select the default VMs suggested.
### Expected behavior:
Qubes VMs should be created
### Actual behavior:
An error message is displayed in the GUI from calling `/usr/bin/qubes-prefs default-kernel 4.9.56-21` due to `QUBESD_SOCKET` (`/var/run/qubesd.sock`) not existing. Attempting to launch "Qubes Global Setings" gives the same FileNotFoundError on line 464 of app.py.
`systemctl status qubesd.service` shows qubesd failed to start. Attempting to start it manually gives the error `xen.lowlevel.xs.xs.Error: (2, 'No such file or directory')` from line 178 of `/usr/lib/python3.5/site-packages/qubes/app.py`.
/var/log/salt/minion shows:
```
2017-12-26 23:28:11,549 [salt.pillar ][CRITICAL] Specified ext_pillar interface qvm_prefs is unavailable
2017-12-26 23:28:13,791 [salt.pillar ][CRITICAL] Specified ext_pillar interface qvm_prefs is unavailable
2017-12-26 23:28:19,124 [salt.pillar ][ERROR ] Execption caught loading ext_pillar 'qvm_prefs':
File "/usr/lib/python2.7/site-packages/salt/pillar/__init__.py", line 822, in ext_pillar
key)
File "/usr/lib/python2.7/site-packages/salt/pillar/__init__.py", line 756, in _external_pillar_data
*val)
File "/var/cache/salt/minion/extmods/pillar/qvm_prefs.py", line 39, in ext_pillar
vm = app.domains[minion_id]
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 85, in __getitem__
if not self.app.blind_mode and item not in self:
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 99, in __contains__
self.refresh_cache()
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 59, in refresh_cache
'admin.vm.List'
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 464, in qubesd_call
client_socket.connect(qubesadmin.config.QUBESD_SOCKET)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
2017-12-26 23:28:19,124 [salt.pillar ][CRITICAL] Pillar render error: Failed to load ext_pillar qvm_prefs: [Errno 2] No such file or directory
2017-12-26 23:28:21,342 [salt.pillar ][CRITICAL] Specified ext_pillar interface qvm_prefs is unavailable
2017-12-26 23:28:26,681 [salt.pillar ][ERROR ] Execption caught loading ext_pillar 'qvm_prefs':
File "/usr/lib/python2.7/site-packages/salt/pillar/__init__.py", line 822, in ext_pillar
key)
File "/usr/lib/python2.7/site-packages/salt/pillar/__init__.py", line 756, in _external_pillar_data
*val)
File "/var/cache/salt/minion/extmods/pillar/qvm_prefs.py", line 39, in ext_pillar
vm = app.domains[minion_id]
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 85, in __getitem__
if not self.app.blind_mode and item not in self:
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 99, in __contains__
self.refresh_cache()
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 59, in refresh_cache
'admin.vm.List'
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 464, in qubesd_call
client_socket.connect(qubesadmin.config.QUBESD_SOCKET)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
2017-12-26 23:28:26,681 [salt.pillar ][CRITICAL] Pillar render error: Failed to load ext_pillar qvm_prefs: [Errno 2] No such file or directory
2017-12-26 23:28:28,898 [salt.pillar ][CRITICAL] Specified ext_pillar interface qvm_prefs is unavailable
2017-12-26 23:28:34,168 [salt.pillar ][ERROR ] Execption caught loading ext_pillar 'qvm_prefs':
File "/usr/lib/python2.7/site-packages/salt/pillar/__init__.py", line 822, in ext_pillar
key)
File "/usr/lib/python2.7/site-packages/salt/pillar/__init__.py", line 756, in _external_pillar_data
*val)
File "/var/cache/salt/minion/extmods/pillar/qvm_prefs.py", line 39, in ext_pillar
vm = app.domains[minion_id]
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 85, in __getitem__
if not self.app.blind_mode and item not in self:
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 99, in __contains__
self.refresh_cache()
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 59, in refresh_cache
'admin.vm.List'
File "/usr/lib/python2.7/site-packages/qubesadmin/app.py", line 464, in qubesd_call
client_socket.connect(qubesadmin.config.QUBESD_SOCKET)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
2017-12-26 23:28:34,168 [salt.pillar ][CRITICAL] Pillar render error: Failed to load ext_pillar qvm_prefs: [Errno 2] No such file or directory
```
### General notes:
This machine had some difficulty booting Qubes and the grub config may have some errors. I'm not sure if this would affect anything post-boot.
---
#### Related issues:
* #2213 has a similar symptom of no configured VMs post-install, but on R3.2
* #2902 has similar salt error messages