I am running a Gentoo installation and recently moved to systemd and whenever I boot with Xen, I cannot issue any xl commands, getting this error: xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal errorlibxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc handle: No such file or directorycannot init xl contextAfter looking into the issue, I found that the three mentioned services (xenstored, xenconsoled, and xendomains) were not running and I could not enable them in systemd. I checked /usr/lib64/systemd/system for and service files with names even containing xen and none were found. So I believe I need to install those three services somehow, but I'm not sure why they were not installed when I emerged xen (and xen-tools) or systemd. Do I need to just build them from source? Any direction would be appreciated!
Systemd will not start xenstored, xenconsoled, and xendomains
systemd;gentoo;xen
I solved the issue by just reinstalling xen and xen-tools while systemd was already installed.I did, however, have to change my xen-qemu-dom0-disk-backend.service to point to my already installed QEMU binary (since I use a separate QEMU package).