not yet working -> fedora-26-based (minimal) sys-usb with Qubes 4rc5

88 views
Skip to first unread message

799

unread,
Mar 9, 2018, 7:49:27 PM3/9/18
to qubes-users
Hello,

I'd like to rebuild my sys-net/-firewall/-usb VMs based on a fedora minimal template instead of a full template.
While sys-net and sys-firewall seem to work with my new template (named: t-sys) I can't get sys-usb to work.

I followed the info page on the Qubes Doc:
https://www.qubes-os.org/doc/templates/fedora-minimal/


Those are steps I've made

# Install default minimal template in dom0
sudo qubes-dom0-update qubes-template-fedora-26-minimal

# Clone template to keep the original template
qvm-clone fedora-26-minimal t-sys

# Install additional packages
qvm-run --auto --user root t-sys "xterm -hold -e 'dnf -y install gnome-terminal terminus-fonts less vim-minimal nano dejavu-sans-fontsl sudo pciutils psmisc gnome-keyring usbutils'"

# Install specific packages for sys-VMs
qvm-run --auto --user root t-sys "xterm -hold -e 'dnf -y install qubes-core-agent-qrexec qubes-core-agent-systemd qubes-core-agent-passwordless-root polkit qubes-core-agent-nautilus qubes-core-agent-networking qubes-core-agent-network-manager network-manager-applet  notification-daemon  qubes-core-agent-dom0-updates qubes-usb-proxy  pulseaudio-qubes NetworkManager NetworkManager-wifi NetworkManager-wwan'"

# Install missing firmware
qvm-run --auto --user root t-sys "xterm -hold -e 'dnf -y install linux-firmware iwl7260-firmware'"

# Shutdown template VM
qvm-shutdown --wait t-sys

# shutdown everything and change template in your sys-VMs
qvm-kill sys-net && qvm-kill sys-firewall
qvm-shutdown -all
qvm-prefs --set sys-net template t-sys
qvm-prefs --set sys-firewall template t-sys
qvm-prefs --set sys-usb template t-sys


While sys-net and sys-firewall seem to work, the sys-usb-VM seem to miss something as my mouse will not work, which it is when using the default fedore-26 template.

What am I missing?
Is there any reason, why the sys-VMs doesn't come based on a fedora-minimal installation?

[799]

Yuraeitha

unread,
Mar 9, 2018, 8:09:51 PM3/9/18
to qubes-users
any chance it could be because of the missing qubes-input-proxy-sender? It's hiding in the horizontal slider in the doc link you linked, it's very east to miss it so its understandable.

799

unread,
Mar 9, 2018, 9:22:27 PM3/9/18
to Yuraeitha, qubes-users


Am 10.03.2018 2:09 vorm. schrieb "Yuraeitha" <yura...@gmail.com>:

Any chance it could be because of the missing qubes-input-proxy-sender? It's hiding in the horizontal slider in the doc link you linked, it's very east to miss it so its understandable.

There is no package 'qubes-input-proxy-sender' for fedora-26 based VMs in Qubes 4rc5.

There is package 'qubes-usb-proxy' which I installed already before.

[799]

Yuraeitha

unread,
Mar 9, 2018, 10:08:18 PM3/9/18
to qubes-users

how odd. I'm not sure why, but I can find it in my fedora-26 template, but I don't have any current minimal template to test it on on this particular machine. Here is my output;

[user@fedora-26 ~]$ sudo dnf search qubes-input*
Last metadata expiration check:
========================== Name Matched: qubes-input* ==========================
qubes-input-proxy-sender.x86_64 : Simple input device proxy (sender)
[user@fedora-26 ~]$

799

unread,
Mar 10, 2018, 3:24:44 PM3/10/18
to Yuraeitha, qubes-users
Hello,

On 10 March 2018 at 04:08, Yuraeitha <yura...@gmail.com> wrote:
>
> Any chance it could be because of the missing qubes-input-proxy-sender? It's hiding in the horizontal slider in the doc link you linked, it's very east to miss it so its understandable.
> There is no package 'qubes-input-proxy-sender' for fedora-26 based VMs in Qubes 4rc5.
> There is package 'qubes-usb-proxy' which I installed already before.

how odd. I'm not sure why, but I can find it in my fedora-26 template, but I don't have any current minimal template to test it on on this particular machine. Here is my output;

I've checked again, the package is available in the default fedora-26 template but not in a fedora-26-minimal template:
t-sys is a template  which is a clone of the fedora-26-minimal Template

   [user@t-sys ~]$ sudo dnf -y install qubes-input-proxy-sender
   Last metadata expiration check: 0:00:41 ago on Sat Mar 10 21:16:27 2018.
   No match for argument: qubes-input-proxy-sender
   Error: Unable to find a match

I then tried to use the testing-repositories ... and SUCCESS, it worked:

   [user@t-sys ~]$ sudo dnf -y install --enablerepo=qubes-vm-*-current-testing qubes-input-proxy-sender
   Qubes OS Repository for VM (updates-testing)    258 kB/s | 197 kB     00:00   
   Last metadata expiration check: 0:00:00 ago on Sat Mar 10 21:19:39 2018.
   Dependencies resolved.
   ================================================================================
    Package               Arch   Version       Repository                     Size
   ================================================================================
   Installing:
    qubes-input-proxy-sender
                          x86_64 1.0.10-1.fc26 qubes-vm-r4.0-current-testing  15 k
  
   Transaction Summary
   ================================================================================
   Install  1 Package
   [...]
   Installed:
    qubes-input-proxy-sender.x86_64 1.0.10-1.fc26                                                                                                               
   Complete!


After installing the package via the testing-repositories, my new sys-usb-Qube is also working correctly.
Thanks for the feedback - I guess this information is also somewhere in the Qubes docs - haven't checked it yet, honestly.

maybe it makes sense to provide a script to build the sys-net / sys-firewall / sys-usb based on a fedora-26-minimal template.
Try to add it to "our" qubes community docs ;-)

[799]

Reply all
Reply to author
Forward
0 new messages