-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Sep 26, 2024 at 05:42:42PM +0200, Marek Marczykowski-Górecki wrote:
> 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... 

For Windows vs Linux I agree, but at least /home is the same under
almost every *nix I know of.
- -- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEopQtqVJW1aeuo9/sszaHOrMp8lMFAmb1jAMACgkQszaHOrMp
8lOv+hAAqbWy3CrpdHJaL2jy+RMAr1CgthLSD0G3FDJ464rpNJ21Jfl4aM7j4KbL
AUTRrgLfMczWYEYCXFHK/l0NyFR7plZaYZoApuMAxUfn5ZnpaTnwS/rfXsCJKx/5
CQXSlRQNjmx8QbYw2vBdcmuYIcGwPeBrTLN+rHr21i6263r5Y+nAnWcUTyLQ2skw
GF8JUZzhTY+7K6YFhbC0NPY9Hp/HisqMH2maLJkILS26oXJOngfmgyBbG8jpJKPB
Q9jtZOIZ+gLX+ZjjMkmRcsiu3rHngrULw2d+YOUA6ObbcqgKJMgm0LFV2YTxO7jS
A+fbpW9qrRTmpje7a2NTCSElgGKgLnF8gUOl0tSkVvbVMeienzw1Crxt4Xy6oNCi
THpoeHgsBjdibCRYDbXz2AGshG4S7ovGOjQtfpcdNuDbZMPcLQSk5j4TRnIJuy5K
DNXoCDlAk5bdbHGzvYo5zZdjVoD7eYWLMq0q0+sbv7uDXij0wyUPZL2CjhBjtZYl
mm9q+c+Fr787IMsguCB0SkgZTE9L0ZYWuJ0TnMbztxgkl7wQZnyLK2zJ+UOgWkdr
uHR6kHm4f7b+pp51hJSDbRmsNUzySY/YNpyMooNBCdpbUIt5duXefxVB6MUJyL27
rhaXPxommnuQ3BGBJ1uvIzdjE5s5u4FhgbFTulYcD+NjY+Li4B4=
=Jzqd
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/ZvWMD7tC73CLJ3Fz%40itl-email.

Reply via email to