Re: /opt [WAS: Re: New top-level dir]

2022-01-13 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 12, 2022 at 03:06:17PM -0700, Chris Murphy wrote: > > Unfortunately, real world RPMs that install into /opt also have e.g. log > > files in /opt/somesoftware/log, not /var/log/somesoftware. So it can't be > > underneath the read-only /usr mount. This is why rpm-ostree just straight

Re: /opt [WAS: Re: New top-level dir]

2022-01-13 Thread Neal Gompa
On Thu, Jan 13, 2022 at 2:40 PM Chris Murphy wrote: > > On Thu, Jan 13, 2022 at 6:07 AM Stephen Gallagher wrote: > > > > > Is /usr/etc something that could be a thing Fedora wide? The way > > > rpm-ostree does it, it's making a copy of /etc and does a three way > > > merge so you get updated

Re: /opt [WAS: Re: New top-level dir]

2022-01-13 Thread Chris Murphy
On Thu, Jan 13, 2022 at 6:07 AM Stephen Gallagher wrote: > > > Is /usr/etc something that could be a thing Fedora wide? The way > > rpm-ostree does it, it's making a copy of /etc and does a three way > > merge so you get updated config file defaults. But without that logic > > available, is it

Re: /opt [WAS: Re: New top-level dir]

2022-01-13 Thread Stephen Gallagher
> Is /usr/etc something that could be a thing Fedora wide? The way > rpm-ostree does it, it's making a copy of /etc and does a three way > merge so you get updated config file defaults. But without that logic > available, is it bonkers to consider applications learning to look to > look first in

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Chris Murphy
On Wed, Jan 12, 2022 at 7:03 AM Colin Walters wrote: > > > > On Wed, Jan 12, 2022, at 4:05 AM, Zbigniew Jędrzejewski-Szmek wrote: > > On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: > >> Should /usr be independently portable? And is that with a version > >> matched /opt, or can

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Chris Murphy
On Wed, Jan 12, 2022 at 2:07 AM Zbigniew Jędrzejewski-Szmek wrote: > > On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: > > Should /usr be independently portable? And is that with a version > > matched /opt, or can there be mix and match revisions of /usr and > > /opt? > > We have

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 12, 2022 at 04:20:31PM +0100, Florian Weimer wrote: > * Zbigniew Jędrzejewski-Szmek: > > > Traditionally, packages installed all kinds of files all over the place. > > But we're slowly and painfully moving towards the model where: > > 1. packages are only allowed to install under

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Florian Weimer
* Zbigniew Jędrzejewski-Szmek: > Traditionally, packages installed all kinds of files all over the place. > But we're slowly and painfully moving towards the model where: > 1. packages are only allowed to install under /usr, /var, and /etc. >(Or under /opt, but I'd want to move that to

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Colin Walters
On Wed, Jan 12, 2022, at 4:05 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: >> Should /usr be independently portable? And is that with a version >> matched /opt, or can there be mix and match revisions of /usr and >> /opt? > > We have

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Colin Walters
On Wed, Jan 12, 2022, at 4:24 AM, Panu Matilainen wrote: > > Oh, right. More hidden agenda behind this thing. When looking at it with > these glasses on, it explains quite a few things about the change > proposal, such as completely ignoring the fact that nearly all packages > put something

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Vít Ondruch
This is a bit of tangent, but if I am not mistaken, I can create RPMs to manage content of my home directory. How folks envision this would work in the context of this proposal? But I also wonder if this is something considered by e.g. systemd-homed. I am asking this question, because move of

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Panu Matilainen
On 1/12/22 11:53, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Jan 12, 2022 at 11:24:49AM +0200, Panu Matilainen wrote: On 1/12/22 11:05, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: Should /usr be independently portable? And is that with a

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 12, 2022 at 11:24:49AM +0200, Panu Matilainen wrote: > On 1/12/22 11:05, Zbigniew Jędrzejewski-Szmek wrote: > >On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: > >>Should /usr be independently portable? And is that with a version > >>matched /opt, or can there be mix and

Re: /opt [WAS: Re: New top-level dir]

2022-01-12 Thread Panu Matilainen
On 1/12/22 11:05, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: Should /usr be independently portable? And is that with a version matched /opt, or can there be mix and match revisions of /usr and /opt? We have three similar locations: /usr

/opt [WAS: Re: New top-level dir]

2022-01-12 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 10, 2022 at 02:53:52PM -0700, Chris Murphy wrote: > Should /usr be independently portable? And is that with a version > matched /opt, or can there be mix and match revisions of /usr and > /opt? We have three similar locations: /usr (system vendor tree), /usr/local (admin non-packages