Hello Qubes Community,

I have been trying to get sys-usb working using a fedora-29-minimal template

Unfortunately it will not work, even after installing all packages which
"should" be enough to get sys-usb working (Link
https://www.qubes-os.org/doc/templates/fedora-minimal/).

If I use the default fedora-28 (fat template) for sys-usb, everything is
working and I can attach my external harddrive to an AppVM.
If I use my custom build template for sys-usb, other USB devices work,
but I can't attach a harddrive to another AppVM, from the GUI it looks
like the drive is attached, but it is not shown in nautilus in the
target-AppVM, where I can then click on it and mount it.

Any idea what I am missing or how I can proceed troubleshooting? As all
my VMs are based on custom build templates (fedora-29-minimal) I don't
want to have the fat fedora-28 template only because sys-usb will not work.


To reproduce the problem: this is how I build my sys-vm-Template from
scratch (fedora-29-minimal) which I am using for sys-net, sys-firewall
and sys-usb (it it would work). Hint: You might need to change the wifi
drivers if you are using another wifi card modell. "iwl6000g2a-firmware"
is for my lenovo x230.

--- --- --- 8< --- --- --- --- --- --- --- 8< --- --- ---

# script to build a sys-vm template based on fedora-29-minimal
# the base template which is used to build my own sys-template
template=fedora-29-minimal

#my custom made template for sys-vms:
systemplate=t-fedora-29-sys

# get fedora-29-minimal template (only needs to be done once)
sudo qubes-dom0-update qubes-template-$template

#remove an old template (if it exists)
qvm-kill $systemplate
qvm-remove -f $systemplate

#clone template
qvm-clone $template $systemplate

# update template
qvm-run --auto --user root --pass-io --no-gui $systemplate \
  'dnf update -y'

# install a missing package for fedora-29-minimal
# without it, gui-apps will not start
qvm-run --auto --user root --pass-io --no-gui $systemplate \
  'dnf install -y

# Install required packages for Sys-VMs
qvm-run --auto --user root --pass-io --no-gui $systemplate \
  'dnf -y install e2fsprogs qubes-core-agent-qrexec \
   qubes-core-agent-systemd qubes-core-agent-networking polkit \
   qubes-core-agent-network-manager notification-daemon \
   qubes-core-agent-dom0-updates qubes-usb-proxy \
   iwl6000g2a-firmware qubes-input-proxy-sender iproute iputils \
   NetworkManager-openvpn NetworkManager-openvpn-gnome \
   NetworkManager-wwan NetworkManager-wifi \
   network-manager-applet qubes-core-agent-passwordless-root'

# Optional packages you might want to install in the sys-template:
qvm-run --auto --user root --pass-io --no-gui $systemplate \
  'dnf -y install nano less pciutils xclip'

# Set new template as template for sys-vms
qvm-shutdown --all --wait --timeout 120
qvm-prefs --set sys-usb template $systemplate
qvm-prefs --set sys-net template $systemplate
qvm-prefs --set sys-firewall template $systemplate
qvm-prefs --set sys-vpn template $systemplate
qvm-start sys-firewall sys-usb

--- --- --- 8< --- --- --- --- --- --- --- 8< --- --- ---

- O.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" 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-users/0d79f831-dca6-3bec-138f-7b33663cd8ea%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: pEpkey.asc
Description: application/pgp-keys

Reply via email to