-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Thu, Sep 26, 2024 at 03:22:41PM +0000, deeplow wrote:
> On Thursday, September 26th, 2024 at 3:55 PM, Marek Marczykowski-Górecki <marmarek at
invisiblethingslab.com> wrote:
> > I like this!
>
> Nice!
>
> > We could put that into vm-config, or even have a new place
> > (bind-dirs prefix?).
>
> A dedicated prefix sounds even better! Perhaps even a chance to get
> a less implementation-specific name like "persistent-app-dirs".
> But either way is even better than (ab)using vm-config.
One thing to consider is length limitation of qubesdb keys - 63 chars.
Values can be much longer (3k). So, the longer the prefix, the shorter
actual key. But it isn't necessarily a problem, the actual path can be
put as a value, and key could be something short like
"123-my-first-path" (in most cases ordering doesn't matter, but in the
few cases where it does, better to have this numbered prefix).
> > If present, configuration in /rw/config would be ignored and
> > maybe also /home not bind-mounted anymore (unless
> > listed in bind-dirs explicitly?).
>
> I think /home could be added by default to this bind-dirs prefix
> when creating a new qubes otherwise getting started on Qubes would
> even be more difficult. Installed programs in app qubes "mysteriously
> disappearing" is a commonly reported issue in the forum.
>
> So my suggestion would be to keep the default experience, but allowing
> advanced users to remove /home persistence if desired. This way we'd
> keep regular users happy (because nothing broke) and advanced users with
> yet another tool in their toolbox.
Yes, this is kinda what propose: on the backend level, have implicit
default include /home, but if you start configuring it manually, you'd
need to include /home (if desirable) yourself too. Ofc, the (G)UI could
propose this option for you to make it easier.
> One aspect to also think about is how to do this "default home persist"
> in a multi-OS way. Perhaps the default bind-dirs could be obtained
> template's preferences. Maybe stored in "os-home-dirs"?
I don't think any path in bind-dirs setting could be made OS-agnostic...
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmb1gPIACgkQ24/THMrX
1yyPaQf/dO8D5v4iNV4HvLeeR82RBIeV0CycJLvQ8Qnc8Viy8eZASau6s4GSaDxC
MVAMGBEUo5o6gengGxuTd4u3kT9OmgfCH9AXbv0p9vGkc6fGkcwYvUvWDNY8sjHG
z6Jf6U+l6RJDt6xTq/wsbEGSo9Ctj41cA5ewb+FjZLcI4Gt2vIIISLt8YCOAVhp5
wQr3bPpxwcSNo/Qi+NPu8fPWeJJsyYDpesdYFnbeC42Qc1UZ1OtiblwF3GN30JCY
sYql4BJD9yiEkbTbgfhBOHOkYElevo92y5xfWgXbLXantzwoo2MJaW8vuGanXbQi
NgshVojXlh/UHYBSEhOCdH3rKoAbVw==
=GwdK
-----END PGP SIGNATURE-----