Hi, I have recently completed an installation of BLFS 8.3 (systemd) in an HVM 
and am attempting to install Qubes tools on it, ultimately with the idea of 
making it PVH.

As far as BLFS is concerned, the installation seems to have gone without issue, 
and I have successfully built a kernel that matches the hardware required for 
XEN and a working lightdm X11 environment.

Where I'm running into the issue is that qvm-run from dom0 does not seem to 
have any effect on the HVM itself.  Here are the basic tests for functionality 
I have confirmed:

SERVICES RUNNING:

qubes-db.service                                      loaded active running     
  
qubes-early-vm-config.service                         loaded active exited 
qubes-gui-agent.service                               loaded active running
qubes-meminfo-writer.service                          loaded active running     
    
qubes-mount-dirs.service                              loaded active exited
qubes-qrexec-agent.service                            loaded active running
qubes-sysinit.service                                 loaded active exited

meminfo-writer is checked in the gui

MOUNTS:

xen on /proc/xen type xenfs (rw,relatime)
/dev/xvdb on /rw type ext4 (rw,relatime,discard)
/dev/xvdb on /home type ext4 (rw,relatime,discard)
/dev/xvdb on /usr/local type ext4 (rw,relatime,discard)

#/dev/xvdc I somehow messed up, but I'm guessing isn't relevant to qvm-run

MODULES:

# lsmod
Module                  Size  Used by
tmem                   16384  -2
u2mfn                  16384  -2

All the other modules, e.g., evtchn are built-in; this is a compact kernel with 
what I felt were the very bare minimum, but ultimately will be replaced with 
the PVH kernel.  I attempted to use qubes-linux-kernel, but had issues with the 
dependency on rpms.

TESTS FOR OPERABILITY:

dmesg              https://pastebin.com/1WwLZFKL
guest-lfsgo.log    https://pastebin.com/fnhw3Tc7
guest-lfsgo-dm.log https://pastebin.com/bhhL76pQ
qrexec.lfsgo.log   : is empty
guid.lfsgo.log     : contains one line "Icon size: 128x128"

[will@dom0 ~] qrexec-client -d lfsgo lfs:bash
[will@dom0 ~] qrexec-client -d lfsgo user:bash
[will@dom0 ~] qvm-run lfsgo "touch /tmp/dummy"
Running 'touch /tmp/dummy' on lfsgo
[will@dom0 ~] qvm-run --pass-io lfsgo whoami
[will@dom0 ~]

(domU)
root [ ~ ]# uname -a
Linux lfsgo 4.18.9 #4 SMP Fri Oct 5 08:56:34 MST 2018 x86_64 GNU/Linux
root [ ~ ]# su - user
user [ ~ ]$ sudo whoami  #passwordless sudo working
root
user [ ~ ]$ exit
logout
root [ ~ ]# xenstore-read name
lfsgo

`ls -la /tmp` shows no sign of '/tmp/dummy', same as with `sudo touch 
/tmp/dummy`

Are there other logs I can provide to give a clearer picture of my install?

Are there any more-verbose way I can check why qrexec isn't working as expected?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/5671dd73-2dd2-48a8-b094-1bad85ab5e81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to