Qubes R4.0rc4 - qvm-create's option --root-copy-from -> qubesd protocol error

88 views
Skip to first unread message

brenda...@gmail.com

unread,
Feb 2, 2018, 12:30:35 AM2/2/18
to qubes-users
Hi folks,

Installed Qubes R4.0rc3, updated dom0/templates. Added the testing repository, updated dom0/templates so I am now at R4.0rc4 (qubes manager returns, huzzah!).

The problem is that I am trying to import a raw root.img file (converted from vmdk using qemu tools) while creating a new StandaloneVM from microsoft's Edge on Win10 OVA file for browser testing.

I am receiving an error in qubesd when calling qvm-create in dom0.

I invoke (with or without the --property kernel='' option):
sudo qvm-create win10 --class standalone --property kernel='' --root-copy-from /home/qubes-user/root.img --label green

The error is:
app: Error creating VM: Got empty response from qubesd. See journalctl in dom0 for details.

I ran journalctl -r and this is the head (of the tail, so reverse order, looks like the important bit is 'protocol error'):
Feb 02 00:39:45 dom0 kernel: audit: type=1104 audit(1517549985.662:245): pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostna
me=? addr=? terminal=/dev/pts/0 res=success'
Feb 02 00:39:45 dom0 kernel: audit: type=1106 audit(1517549985.661:244): pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam
_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Feb 02 00:39:45 dom0 audit[28073]: CRED_DISP pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pt
s/0 res=success'
Feb 02 00:39:45 dom0 audit[28073]: USER_END pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Feb 02 00:39:45 dom0 sudo[28073]: pam_unix(sudo:session): session closed for user root
Feb 02 00:39:45 dom0 qubesd[11075]: protocol error for call b'admin.vm.Create.standalonevm'+b'' (b'dom0' → b'dom0') with payload of 22 bytes
Feb 02 00:39:45 dom0 sudo[28073]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 02 00:39:45 dom0 kernel: audit: type=1105 audit(1517549985.520:243): pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_
systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Feb 02 00:39:45 dom0 audit[28073]: USER_START pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root
" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Feb 02 00:39:45 dom0 sudo[28073]: pam_systemd(sudo:session): Cannot create session: Already running in a session
Feb 02 00:39:45 dom0 audit[28073]: CRED_REFR pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pt
s/0 res=success'
Feb 02 00:39:45 dom0 audit[28073]: USER_CMD pid=28073 uid=1000 auid=1000 ses=2 msg='cwd="/home/qubes-user" cmd=71766D2D6372656174652077696E3130202D2D636C617373207374616E64616C6F6E65766D202D
2D70726F7065727479206B65726E656C3D202D2D726F6F742D636F70792D66726F6D202F686F6D652F71756265732D757365722F726F6F742E696D67202D2D6C6162656C20677265656E terminal=pts/0 res=success'
Feb 02 00:39:45 dom0 kernel: audit: type=1110 audit(1517549985.514:242): pid=28073 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostna
me=? addr=? terminal=/dev/pts/0 res=success'
Feb 02 00:39:45 dom0 kernel: audit: type=1123 audit(1517549985.514:241): pid=28073 uid=1000 auid=1000 ses=2 msg='cwd="/home/qubes-user" cmd=71766D2D6372656174652077696E3130202D2D636C6173732
07374616E64616C6F6E65766D202D2D70726F7065727479206B65726E656C3D202D2D726F6F742D636F70792D66726F6D202F686F6D652F71756265732D757365722F726F6F742E696D67202D2D6C6162656C20677265656E terminal=pt
s/0 res=success'
Feb 02 00:39:45 dom0 sudo[28073]: qubes-user : TTY=pts/0 ; PWD=/home/qubes-user ; USER=root ; COMMAND=/bin/qvm-create win10 --class standalonevm --property kernel= --root-copy-from /home/qubes-user/root.img --label green



Thanks,
Brendan

brenda...@gmail.com

unread,
Feb 2, 2018, 12:40:21 AM2/2/18
to qubes-users
Mea culpa and apologies to all: the properties for "--class" or "--c" are case sensitive.

Substituting 'StandaloneVM' for 'standalonevm' fixed the problem.

Thanks,
Brendan

Reply all
Reply to author
Forward
0 new messages