Persistence: /usr/local/

40 views
Skip to first unread message

Michael Lott

unread,
Aug 4, 2020, 5:32:33 AM8/4/20
to qubes-users
Hi everyone

I've compiled the source for Wireshark-3.2.5 (as the Debian packages are still on 2.6.x). By default this drops the compiled binaries into /usr/local/bin/.

I've then shut down the TemplateVM and created a new AppVM (based on this TemplateVM) called my-new-qube, as a test. However, when I start it up, the wireshark binary is not available. In fact, when I list out the contents of /usr/local/bin/ on my-new-qube, there is nothing at all there.

From my understanding of the docs, /usr/local/ is persistent and should be made available to any AppVMs that are based on the TemplateVM.

If that is indeed correct, I've hit a bit of a brick wall on this one, so any help would be greatly appreciated.

Thanks heaps,
Mike

---

## Quick Info

Qubes Version: 4.0
TemplateVM: debian-10

```
$ cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"

SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
```
---





Frédéric Pierret

unread,
Aug 4, 2020, 5:50:08 AM8/4/20
to Michael Lott, qubes-users
Hi,

On 2020-08-04 11:32, Michael Lott wrote:
> Hi everyone
>
> I've compiled the source for Wireshark-3.2.5 (as the Debian packages are still on 2.6.x). By default this drops the compiled binaries into /usr/local/bin/.

I would assume that you could manage to change default path to /usr/bin. Certainly in the configure or such.

> I've then shut down the TemplateVM and created a new AppVM (based on this TemplateVM) called /my-new-qube/, as a test. However, when I start it up, the wireshark binary is not available. In fact, when I list out the contents of /usr/local/bin/ on /my-new-qube,/ there is nothing at all there.
>
> From my understanding of the docs, /usr/local/ is persistent and should be made available to any AppVMs that are based on the TemplateVM.

Yes.

> If that is indeed correct, I've hit a bit of a brick wall on this one, so any help would be greatly appreciated.
>
> Thanks heaps,
> Mike

Frédéric

signature.asc

Mike Keehan

unread,
Aug 4, 2020, 7:17:27 AM8/4/20
to qubes...@googlegroups.com
/usr/local is persistent within the appVM. It is not copied from the
template.

Compile wireguard in your appVM.

Mike.

Rafael Reis

unread,
Aug 4, 2020, 7:53:07 AM8/4/20
to qubes-users
Or, you can just bump the kernel version for that specific VM to version 5.6+ . Wireguard is built in from that version on.
Reply all
Reply to author
Forward
0 new messages