On Tue, Dec 20, 2016 at 11:35:00PM +0000, Patrick Schleizer wrote: > There are a few Qubes specific configuration files such as: > > - /rw/config/qubes-bind-dirs.d/50_user.conf > - Qubes-Whonix specific /rw/config/whonix_firewall.d > - and a few other examples. > > /rw is a non-standard folder. > > I think we can standardize this a bit. Examples: > > - /usr/local/etc/qubes-bind-dirs.d/50_user.conf > - Qubes-Whonix specific /usr/local/etc/whonix_firewall.d > > (/usr/local is stored in /rw anyhow.) > > I don't propose abolishing existing implementations using /rw. > > - It would suffice if we keep this in mind for new developments. I.e. if > some new Qubes functionality wants provide TemplateBasedVM specific "/rw > style" settings, make that '/usr/local/etc/...' instead. > > - We could add parsing /usr/local to existing components (such as > qubes-bind-dirs etc.). > > - Best to keep it backwards compatible, i.e. to keep parsing /rw/ for > bind-dirs etc. > > Why? > > - /usr/local is an FHS standard. [1] > > - Other applications support /usr/local/etc. (Search engines say so.) > (corridor does.) - For users it's best if it's kept uniform rather than > having a standardized and Qubes specific location. > > - If feature requests are made / patches are proposed against third > party applications (let's say for example against onionshare, Tor > Browser), then it is more likely to have a request for the standardized > /usr/local rather than Qubes specific /rw folder accepted. > > What do you think? > > Best regards, > Patrick > > [1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html >
I dont understand the last point. If we wanted feature request or patches why propose them in /rw when we could already propose them in /usr/local and fit both Qubes and upstream? Personally I prefer to see less in /rw than there is now. I don't really like the use of bind mounts for cron , use of /usr/local, and bind-dirs. If I understand your proposal properly then from now on there will be a mix of stuff in /rw/config and /usr/local/etc/. I'm not clear how that is supposed to make it more unifornm for users, whereas just pointing to /rw/config as the standard part of template based qubes seems clear and understandable to me. unman -- 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 [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-devel/20161221231825.GB19689%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
