Re: support for merged /usr in Debian

2016-01-07 Thread Simon McVittie
On 07/01/16 08:36, Paul Wise wrote: > $something should > automatically manage the contents of /bin /sbin /lib (/boot?) based on > the tools needed to mount /usr (perhaps plus some more recovery > tools) I really don't think that's a good approach, particularly as a default. We already have tools

Re: support for merged /usr in Debian

2016-01-07 Thread Russ Allbery
Marc Haber writes: > Unfortunately, it's emotions that take vendor decisions. Your attitude > is driving big users towards the paid-for Enterprise Linuxes, be it > logical or not, be it good engineering or not. ...the ones that have already merged /usr and /? I'm not sur

Re: support for merged /usr in Debian

2016-01-07 Thread Philip Hands
Marc Haber writes: > On Tue, 5 Jan 2016 19:37:03 +0100, Marco d'Itri wrote: >>On Jan 05, Ian Jackson wrote: >> >>> People who have been using a configuration for many years naturally >>> become upset when they are told that it has been `unsupported' for all >>> of this time and that, implicitly

Re: support for merged /usr in Debian

2016-01-07 Thread Marc Haber
On Tue, 5 Jan 2016 19:37:03 +0100, Marco d'Itri wrote: >On Jan 05, Ian Jackson wrote: > >> People who have been using a configuration for many years naturally >> become upset when they are told that it has been `unsupported' for all >> of this time and that, implicitly, changes are going to be ma

Re: overlayfs (was: Re: support for merged /usr in Debian)

2016-01-07 Thread Matthias Klumpp
I am using overlayFS in Limba[1], and it works well (and is really fast!) for read-only filesystems, read-write sometimes has issues if you are using multiple OverlayFS layers (which made me adjust the code so this doesn't happen anymore). 2016-01-06 17:29 GMT+01:00 Jonathan Dowland : > I wish I c

Re: support for merged /usr in Debian

2016-01-07 Thread Marc Haber
On Wed, 6 Jan 2016 09:57:26 +, Jonathan Dowland wrote: >On Fri, Jan 01, 2016 at 06:20:42PM +0800, Paul Wise wrote: >> On Thu, Dec 31, 2015 at 8:51 AM, Marco d'Itri wrote: >> >> > https://wiki.debian.org/UsrMerge >> >> Now that we have union mounts in Linux > >Do you mean overlayfs? If so can

Re: support for merged /usr in Debian

2016-01-07 Thread Paul Wise
While reading the LWN article about this, I had a thought that might be interesting. The packages should all install to /usr and $something should automatically manage the contents of /bin /sbin /lib (/boot?) based on the tools needed to mount /usr (perhaps plus some more recovery tools), just lik

Re: overlayfs (was: Re: support for merged /usr in Debian)

2016-01-06 Thread Jonathan Dowland
On Wed, Jan 06, 2016 at 01:35:13PM +0100, Marco d'Itri wrote: > On Jan 06, Jonathan Dowland wrote: > > > Do you mean overlayfs? If so can you or anyone vouch for its quality? > > I had been trying it as a docker storage back end and generally found > > that it was not ready yet. > Can you be more

Re: support for merged /usr in Debian

2016-01-06 Thread Nikolaus Rath
On Jan 06 2016, Ian Jackson wrote: > Nikolaus Rath writes ("Re: support for merged /usr in Debian"): >> On Jan 05 2016, Ian Jackson wrote: >> > People who have been using a configuration for many years naturally >> > become upset when they are told that it h

Re: Re: support for merged /usr in Debian

2016-01-06 Thread Jonathan Dowland
On Sun, Jan 03, 2016 at 11:55:08PM +0100, Eric Valette wrote: > Red hat is mainly for servers nowadays with paying support. As with many Red Hat features, it was first trialled and proven in Fedora, which is very much used on Desktops: https://fedoraproject.org/wiki/Features/UsrMove

Re: support for merged /usr in Debian

2016-01-06 Thread Eric Valette
On 01/06/2016 10:40 AM, Simon McVittie wrote: On 05/01/16 15:55, Ian Jackson wrote: Abolishing the distinction between /usr and / "Merged /usr" is not about removing the distinction between /usr and /, it's about removing the distinction between subdirectories of /usr and th

Re: support for merged /usr in Debian

2016-01-06 Thread Ansgar Burchardt
r using / rather than >> initramfs, or some such. > Which actually was never proposed. There were some "what if" type > posts, but noone was mandating a merged /usr anywhere. What is the advantage of having a optional-merged-/usr? >From what I understand the main argument fo

overlayfs (was: Re: support for merged /usr in Debian)

2016-01-06 Thread Marco d'Itri
On Jan 06, Jonathan Dowland wrote: > Do you mean overlayfs? If so can you or anyone vouch for its quality? > I had been trying it as a docker storage back end and generally found > that it was not ready yet. Can you be more specific? I only use it to test new packages and it works for me. e.g. w

Improving recovery (Re: support for merged /usr in Debian)

2016-01-06 Thread Ole Laursen
Simon McVittie debian.org> writes: > I personally think those factors undermine the "/ as recovery" use-case > so far that the advantages of a merged /usr far outweigh it. User side note: If people would like to help the recovery use case, grml-rescueboot is already packa

Re: support for merged /usr in Debian

2016-01-06 Thread Jonathan Dowland
On Sun, Jan 03, 2016 at 06:39:36AM -0200, Martinx - ジェームズ wrote: > No ugly symlinks on root file system, no Bash at /usr/bin/bash! Aesthetically, I find symlinks for /bin etc., in combination with all binaries in /usr/bin, to be prettier than the current situation. (I'd find all binaries in /bin t

Re: support for merged /usr in Debian

2016-01-06 Thread Jonathan Dowland
On Wed, Jan 06, 2016 at 02:56:24AM +0100, Christian Seiler wrote: > I've backported the two upstream patches that fix this (which amount to > the same change that your patch does) and have added them with the > proper metadata attached to them to the git packaging of the policykit > package. Thank

Re: support for merged /usr in Debian

2016-01-06 Thread Simon McVittie
On 05/01/16 09:49, Paul Wise wrote: > On Mon, Jan 4, 2016 at 2:14 AM, Russ Allbery wrote: > >> And yet, it works, and it means that we don't have to try to harass a >> thousand package maintainers into doing essentially untestable busy-work >> to try to move things around between /usr, /bin, and /

Re: support for merged /usr in Debian

2016-01-06 Thread Jonathan Dowland
On Fri, Jan 01, 2016 at 06:20:42PM +0800, Paul Wise wrote: > On Thu, Dec 31, 2015 at 8:51 AM, Marco d'Itri wrote: > > > https://wiki.debian.org/UsrMerge > > Now that we have union mounts in Linux Do you mean overlayfs? If so can you or anyone vouch for its quality? I had been trying it as a dock

Re: support for merged /usr in Debian

2016-01-06 Thread Simon McVittie
On 05/01/16 15:55, Ian Jackson wrote: > Abolishing the distinction between /usr and / This seems to be a somewhat frequent point of confusion so, at the risk of beating a dead horse: "Merged /usr" is not about removing the distinction between /usr and /, it's about removi

Re: support for merged /usr in Debian

2016-01-05 Thread Christian Seiler
On 01/06/2016 02:55 AM, Ian Jackson wrote: > Nikolaus Rath writes ("Re: support for merged /usr in Debian"): >> On Jan 05 2016, Ian Jackson wrote: >>> People who have been using a configuration for many years naturally >>> become upset when they are told t

Re: support for merged /usr in Debian

2016-01-05 Thread Paul Wise
On Wed, Jan 6, 2016 at 2:42 AM, Tollef Fog Heen wrote: > The check doesn't seem to be complete, it's not complaining about PAM > modules needing libcurl or libkrb5 for instance. Could you file a bug? -- bye, pabs https://wiki.debian.org/PaulWise

Re: support for merged /usr in Debian

2016-01-05 Thread Paul Wise
On Wed, Jan 6, 2016 at 2:27 AM, Sune Vuorela wrote: > Does it also catch when for example a udev configuration file wants to > run an executable living under /usr ? Doesn't look like it, could you file a bug? -- bye, pabs https://wiki.debian.org/PaulWise

Re: support for merged /usr in Debian

2016-01-05 Thread Christian Seiler
On 01/06/2016 12:54 AM, Adam Borowski wrote: > For example, policykit-1 FTBFSes on non-systemd architectures > (#798769) I'd also like to note that while you provided a patch, you didn't really provide much context for this - and left a lot of work to the maintainers when it comes to integrating t

Re: support for merged /usr in Debian

2016-01-05 Thread Ian Jackson
Nikolaus Rath writes ("Re: support for merged /usr in Debian"): > On Jan 05 2016, Ian Jackson wrote: > > People who have been using a configuration for many years naturally > > become upset when they are told that it has been `unsupported' for all > > of this t

Re: support for merged /usr in Debian

2016-01-05 Thread Christian Seiler
On 01/06/2016 12:54 AM, Adam Borowski wrote: > On Tue, Jan 05, 2016 at 08:10:00PM +0100, Simon Richter wrote: >> On 05.01.2016 19:37, Marco d'Itri wrote: >> >>> There is a significant difference between concepts like: >>> - something works for me >>> - something works >> >>> and: >>> - I want somet

Re: support for merged /usr in Debian

2016-01-05 Thread Adam Borowski
On Tue, Jan 05, 2016 at 08:10:00PM +0100, Simon Richter wrote: > On 05.01.2016 19:37, Marco d'Itri wrote: > > > There is a significant difference between concepts like: > > - something works for me > > - something works > > > and: > > - I want something to be supported > > - the people actually w

Re: support for merged /usr in Debian

2016-01-05 Thread Philipp Kern
On 2016-01-04 11:30, Marc Haber wrote: On Sun, 3 Jan 2016 22:30:24 +0100, Eric Valette wrote: System admins do like using absolute path for security reasons... Please also notice that this is the only option for ExecStart in systemd units. Well played, Lennart. Similarly skeleton-based init

Re: support for merged /usr in Debian

2016-01-05 Thread Nikolaus Rath
On Jan 05 2016, Ian Jackson wrote: > Marco d'Itri writes ("Re: support for merged /usr in Debian"): >> On Jan 05, Ian Jackson wrote: >> > or which do mount /usr using / rather than initramfs, or some such. >> >> And this has already not been supported

Re: support for merged /usr in Debian

2016-01-05 Thread Craig Small
itramfs, or some such. Which actually was never proposed. There were some "what if" type posts, but noone was mandating a merged /usr anywhere. > It seems to me that enough people want Debian to retain the > flexibility which is gained by the /usr vs / division, that we as a > p

tiny-initrd (was: Re: support for merged /usr in Debian)

2016-01-05 Thread Christian Seiler
On 01/03/2016 09:35 PM, Christian Seiler wrote: > Well, just for the heck of it I wrote a braindead-simple initrd > implementation in just 300 LOC: > > https://gist.github.com/chris-se/e0fbc073fcbd9ac2d7ae > > [...] > > This is just a proof of concept, [...] Well, in case anyone's interested:

Re: support for merged /usr in Debian

2016-01-05 Thread Simon Richter
Hi, On 05.01.2016 19:37, Marco d'Itri wrote: > There is a significant difference between concepts like: > - something works for me > - something works > and: > - I want something to be supported > - the people actually working on something want to support it What is the recourse for people who

Re: support for merged /usr in Debian

2016-01-05 Thread Tollef Fog Heen
]] Ian Jackson > This thread contains a fair few assertions that certain configurations > are `broken' or `unsupported'; but these assertions sit alongside > reports from actual users that these configurations do work for them, > and expressions of the wish that they should continue to do so. A l

Re: support for merged /usr in Debian

2016-01-05 Thread Tollef Fog Heen
]] Paul Wise > On Mon, Jan 4, 2016 at 2:14 AM, Russ Allbery wrote: > > > And yet, it works, and it means that we don't have to try to harass a > > thousand package maintainers into doing essentially untestable busy-work > > to try to move things around between /usr, /bin, and /lib to support a >

Re: support for merged /usr in Debian

2016-01-05 Thread Marco d'Itri
On Jan 05, Ian Jackson wrote: > People who have been using a configuration for many years naturally > become upset when they are told that it has been `unsupported' for all > of this time and that, implicitly, changes are going to be made which > will break it. I think that your summary is correc

Re: support for merged /usr in Debian

2016-01-05 Thread Sune Vuorela
On 2016-01-05, Paul Wise wrote: > On Mon, Jan 4, 2016 at 2:14 AM, Russ Allbery wrote: > >> And yet, it works, and it means that we don't have to try to harass a >> thousand package maintainers into doing essentially untestable busy-work >> to try to move things around between /usr, /bin, and /lib

Re: support for merged /usr in Debian

2016-01-05 Thread Ian Jackson
Marco d'Itri writes ("Re: support for merged /usr in Debian"): > On Jan 05, Ian Jackson wrote: > > or which do mount /usr using / rather than initramfs, or some such. > > And this has already not been supported for many years, even if it works > in some cases, so

Re: support for merged /usr in Debian

2016-01-05 Thread Marco d'Itri
. > > Abolishing the distinction between /usr and / will break systems that > have been set up that way. I think that you are a bit confused, because on a merged /usr system you can continue having a read only /usr and a read write /. If your goal is to have read only system binaries then a merg

Re: support for merged /usr in Debian

2016-01-05 Thread Ian Jackson
Marco d'Itri writes ("Re: support for merged /usr in Debian"): > On Jan 05, Ian Jackson wrote: > > /etc contains files which are modified during normal operation. > > Depending on the operation involved, we consider this to be a bug: > https://wiki.debian.org

Re: support for merged /usr in Debian

2016-01-05 Thread Marco d'Itri
who you are referring to, but I am quite interested in excellent Debian support for embedded devices, servers and containers, and a merged /usr scheme would be extremely useful for many of these use cases. -- ciao, Marco signature.asc Description: PGP signature

Re: support for merged /usr in Debian

2016-01-05 Thread Marco d'Itri
On Jan 05, Ian Jackson wrote: > /etc contains files which are modified during normal operation. Depending on the operation involved, we consider this to be a bug: https://wiki.debian.org/ReadonlyRoot -- ciao, Marco signature.asc Description: PGP signature

Re: support for merged /usr in Debian

2016-01-05 Thread Neil Williams
On Tue, 5 Jan 2016 12:49:25 + Ian Jackson wrote: > Simon Richter writes ("Re: support for merged /usr in Debian"): > > However, we do have a huge installation base outside of that. In > > most of my embedded systems projects, Debian has been the starting >

Re: support for merged /usr in Debian

2016-01-05 Thread Jakub Wilk
* Paul Wise , 2016-01-05, 17:49: And yet, it works, and it means that we don't have to try to harass a thousand package maintainers into doing essentially untestable busy-work to try to move things around between /usr, /bin, and /lib to support a tiny handful of systems for which other approach

Re: support for merged /usr in Debian

2016-01-05 Thread Ian Jackson
Simon Richter writes ("Re: support for merged /usr in Debian"): > However, we do have a huge installation base outside of that. In most of > my embedded systems projects, Debian has been the starting point for the > customized installation, simply because before jessie, you

Re: support for merged /usr in Debian

2016-01-05 Thread Ian Jackson
Marco d'Itri writes ("Re: support for merged /usr in Debian"): > On Jan 02, Joerg Jaspert wrote: > > No, /etc can be nicely ro. That is, /, /usr, /etc, ... can be. The log > > storage and the user homes, as well as a tmp filesystem rw, rest ro. > > Works nice

Re: support for merged /usr in Debian

2016-01-05 Thread Paul Wise
On Mon, Jan 4, 2016 at 2:14 AM, Russ Allbery wrote: > And yet, it works, and it means that we don't have to try to harass a > thousand package maintainers into doing essentially untestable busy-work > to try to move things around between /usr, /bin, and /lib to support a > tiny handful of systems

Re: support for merged /usr in Debian

2016-01-04 Thread Andreas Henriksson
Hello all. On Tue, Jan 05, 2016 at 01:23:06AM +0100, Michael Biebl wrote: > Am 05.01.2016 um 01:17 schrieb Adam Borowski: > > On Mon, Jan 04, 2016 at 08:43:02PM +0100, Michael Biebl wrote: > >> Am 04.01.2016 um 19:12 schrieb Eric Valette: > Remember that / and /usr don't have to reside on the

Re: support for merged /usr in Debian

2016-01-04 Thread Nikolaus Rath
On Jan 05 2016, Marc Haber wrote: > On Mon, 4 Jan 2016 22:21:06 +0100, Iustin Pop > wrote: >>On 2016-01-04 12:03:07, Marc Haber wrote: >>> On Sun, 3 Jan 2016 19:15:18 +0100, m...@linux.it (Marco d'Itri) wrote: >>> >Anyway, if you think that the merged /usr

Re: support for merged /usr in Debian

2016-01-04 Thread Christian Seiler
On 01/05/2016 01:34 AM, Marc Haber wrote: > On Mon, 4 Jan 2016 22:21:06 +0100, Iustin Pop > wrote: >> On 2016-01-04 12:03:07, Marc Haber wrote: >>> On Sun, 3 Jan 2016 19:15:18 +0100, m...@linux.it (Marco d'Itri) wrote: >>>> Anyway, if you think that the me

Re: support for merged /usr in Debian

2016-01-04 Thread Christian Seiler
On 01/05/2016 01:17 AM, Adam Borowski wrote: > On Mon, Jan 04, 2016 at 08:43:02PM +0100, Michael Biebl wrote: >> Am 04.01.2016 um 19:12 schrieb Eric Valette: Remember that / and /usr don't have to reside on the same partition with the usrmerge proposal: they only have to be both available

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Mon, 4 Jan 2016 22:21:06 +0100, Iustin Pop wrote: >On 2016-01-04 12:03:07, Marc Haber wrote: >> On Sun, 3 Jan 2016 19:15:18 +0100, m...@linux.it (Marco d'Itri) wrote: >> >Anyway, if you think that the merged /usr scheme is about systemd then >> >you are automa

Re: support for merged /usr in Debian

2016-01-04 Thread Michael Biebl
Am 05.01.2016 um 01:17 schrieb Adam Borowski: > On Mon, Jan 04, 2016 at 08:43:02PM +0100, Michael Biebl wrote: >> Am 04.01.2016 um 19:12 schrieb Eric Valette: Remember that / and /usr don't have to reside on the same partition with the usrmerge proposal: they only have to be both availabl

Re: support for merged /usr in Debian

2016-01-04 Thread Adam Borowski
On Mon, Jan 04, 2016 at 08:43:02PM +0100, Michael Biebl wrote: > Am 04.01.2016 um 19:12 schrieb Eric Valette: > >> Remember that / and /usr don't have to reside on the same partition with > >> the usrmerge proposal: they only have to be both available > >> post-initramfs. The initramfs already tak

Re: support for merged /usr in Debian

2016-01-04 Thread Iustin Pop
On 2016-01-04 23:41:40, Eric Valette wrote: > On 04/01/2016 20:43, Michael Biebl wrote: > > >an initramfs is not mandatory as long as you don't have /usr on a > >separate partition. > >No initramfs + split /usr is not supported and has been broken for a while. > > Did you actually test it? It wor

Re: support for merged /usr in Debian

2016-01-04 Thread Eric Valette
On 04/01/2016 20:43, Michael Biebl wrote: an initramfs is not mandatory as long as you don't have /usr on a separate partition. No initramfs + split /usr is not supported and has been broken for a while. Did you actually test it? It works for me TM on fairly simple setup... -- eric

Re: support for merged /usr in Debian

2016-01-04 Thread Iustin Pop
On 2016-01-04 12:03:07, Marc Haber wrote: > On Sun, 3 Jan 2016 19:15:18 +0100, m...@linux.it (Marco d'Itri) wrote: > >Anyway, if you think that the merged /usr scheme is about systemd then > >you are automatically disqualified from taking part in this discussion &g

Re: support for merged /usr in Debian

2016-01-04 Thread Michael Biebl
Am 04.01.2016 um 19:12 schrieb Eric Valette: >> Remember that / and /usr don't have to reside on the same partition with >> the usrmerge proposal: they only have to be both available >> post-initramfs. The initramfs already takes care to mount /usr (for the >> systemd case as initscripts needs upd

Re: Re: support for merged /usr in Debian

2016-01-04 Thread Eric Valette
Remember that / and /usr don't have to reside on the same partition with the usrmerge proposal: they only have to be both available post-initramfs. The initramfs already takes care to mount /usr (for the systemd case as initscripts needs updates for sysvinit as was said elsewhere). So no reparti

Re: Re: support for merged /usr in Debian

2016-01-04 Thread Eric Valette
Remember that / and /usr don't have to reside on the same partition with the usrmerge proposal: they only have to be both available post-initramfs. The initramfs already takes care to mount /usr (for the systemd case as initscripts needs updates for sysvinit as was said elsewhere

Re: support for merged /usr in Debian

2016-01-04 Thread Christian Seiler
On 01/04/2016 11:44 AM, Marc Haber wrote: > On Sun, 3 Jan 2016 21:35:39 +0100, Christian Seiler > wrote: >> So that was the state in February of 2011, when the warning was added >> to systemd and the systemd developers recommended the use of the >> initrd: mounting /usr from a running system is br

Re: support for merged /usr in Debian

2016-01-04 Thread Christian Seiler
On 01/04/2016 12:15 PM, Marc Haber wrote: > On Mon, 04 Jan 2016 12:01:46 +0100, Ansgar Burchardt >> Remember that / and /usr don't have to reside on the same partition with >> the usrmerge proposal: they only have to be both available >> post-initramfs. The initramfs already takes care to mount /u

Re: support for merged /usr in Debian

2016-01-04 Thread Christian Seiler
sary for > new systems, and it is really a horror vision to have to do this for > existing systems during upgrades. You will always have to adapt things to upgrades, because lots of small details can change. Also I don't see how putting things in /usr will have a large impact on this: - bac

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Mon, 04 Jan 2016 12:01:46 +0100, Ansgar Burchardt wrote: >Marc Haber writes: >> On Sun, 03 Jan 2016 13:28:14 -0800, Russ Allbery >> wrote: >>>But I don't get why people who are using non-embedded UNIX systems >>>particularly care. >> >> I, for example, am afraid of having to merge /usr in exi

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 3 Jan 2016 19:15:18 +0100, m...@linux.it (Marco d'Itri) wrote: >Anyway, if you think that the merged /usr scheme is about systemd then >you are automatically disqualified from taking part in this discussion >because you are not understanding the basic underlying issues.

Re: support for merged /usr in Debian

2016-01-04 Thread Ansgar Burchardt
Marc Haber writes: > On Sun, 03 Jan 2016 13:28:14 -0800, Russ Allbery > wrote: >>But I don't get why people who are using non-embedded UNIX systems >>particularly care. > > I, for example, am afraid of having to merge /usr in existing systems > during upgrades, causing repartitions to be necessar

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 3 Jan 2016 21:35:39 +0100, Christian Seiler wrote: >So that was the state in February of 2011, when the warning was added >to systemd and the systemd developers recommended the use of the >initrd: mounting /usr from a running system is broken. Either it is >already completely broken in som

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 03 Jan 2016 13:28:14 -0800, Russ Allbery wrote: >I do understand why people working in the embedded space care about some >unusual mount orderings, file system separations, and very light cores, >and I hope that we can accomodate and support all of their use cases >inside Debian. I think

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 3 Jan 2016 22:06:32 +0100, Florian Lohoff wrote: >From my 25 year Unix experience i dont like the usr merge. Agreed. > As you sum >up very nicely and i agree on is that Debian has given up on being >slim at this point. There is no such thing as a single user mode boot >with only the root

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 3 Jan 2016 23:55:08 +0100, Eric Valette wrote: >cannot really accommodate the /etc/defaut/pkg >configurable options... This will get worse, btw, since the systemd community ponders removing the EnvironmentFile option since "all distributions are using it wrong", especially looking upon D

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 3 Jan 2016 22:30:24 +0100, Eric Valette wrote: >System admins do like using absolute path >for security reasons... Please also notice that this is the only option for ExecStart in systemd units. Well played, Lennart. Greetings Marc -- -- !! No courte

Re: support for merged /usr in Debian

2016-01-04 Thread Marc Haber
On Sun, 03 Jan 2016 10:14:14 -0800, Russ Allbery wrote: >Note that mounting /usr early, something we *already do*, is separate from >actually merging /usr with /bin and /lib. Once you mount /usr early, it's >rather less important whether you actually merge the file systems. While >it does let yo

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Mon, 2016-01-04 at 00:55 +0100, Christian Seiler wrote: [...] > Btw. initramfs-tools (via switch_root from util-linux) recursively > deletes the files in the initramfs in a forked-off process right > before exec()ing init. Is that really necessary? Shouldn't the > kernel loose the data of the in

Re: support for merged /usr in Debian

2016-01-03 Thread Christian Seiler
On 01/04/2016 12:39 AM, Ben Hutchings wrote: > On Sun, 2016-01-03 at 21:35 +0100, Christian Seiler wrote: > [...] >> >> Well, just for the heck of it I wrote a braindead-simple initrd >> implementation in just 300 LOC: >> >> https://gist.github.com/chris-se/e0fbc073fcbd9ac2d7ae > [...] > > Neat.

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 21:35 +0100, Christian Seiler wrote: [...] > > Well, just for the heck of it I wrote a braindead-simple initrd > implementation in just 300 LOC: > > https://gist.github.com/chris-se/e0fbc073fcbd9ac2d7ae [...] Neat.  It should probably implement 'ro', 'rw' and 'rootdelay', t

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 19:43 +0100, Marco d'Itri wrote: > On Jan 03, Andreas Henriksson wrote: > > > First, it would be nice to have a preinst check if the system has any > > running services that uses ProtectSystem and offer a choice to stop > > (and restart) them in case having them running is r

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 18:10 +0100, Iustin Pop wrote: > On 2016-01-03 17:03:02, Simon McVittie wrote: > > […] For > > instance, /bin -> /usr/bin is needed because otherwise #!/bin/sh would > > stop working, […] > > This brings to mind—I wonder if the performance impact of having /bin/sh > be read t

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 23:42 +0100, Simon Richter wrote: > Hi, > > On 03.01.2016 23:32, Ben Hutchings wrote: > > > An initramfs is mandatory if using the standard kernel packages, as I > > think most people do. > > Not on embedded systems. Sure. > While we do have the advantage there that the >

Re: Re: support for merged /usr in Debian

2016-01-03 Thread Eric Valette
I'm confused why you think anything will break. There would obviously be symlinks, so anything that's currently in /bin will continue to work if invoked with an absolute /bin path. I consider linking across file system a very bad practice because if /usr gets errors all the symlinks may be bro

Re: support for merged /usr in Debian

2016-01-03 Thread Christian Seiler
On 01/03/2016 04:23 AM, Martinx - ジェームズ wrote: > This "UseMerge" just brings more insanity into Debian. What is wrong > with you guys?! For God's sake... Even if you disagree with something, please don't call it insanity. > It violates the FHS 2.3 standards. Sure, if you mean the sentence that "

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 13:10 -0800, Russ Allbery wrote: > Eric Valette writes: > > > But could you elaborate a bit on "mounting /usr early, something we > > *already do*" if you do not implicitly refer to initramfs solution. > > There are other people who know a lot more about the machinery here

Re: support for merged /usr in Debian

2016-01-03 Thread Simon Richter
Hi, On 03.01.2016 23:32, Ben Hutchings wrote: > An initramfs is mandatory if using the standard kernel packages, as I > think most people do. Not on embedded systems. While we do have the advantage there that the people putting the system together are generally clueful, it should still remain po

Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 21:21 +0100, Simon Richter wrote: > Hi, > > On 03.01.2016 19:15, Marco d'Itri wrote: [...] > > Anyway, if you think that the merged /usr scheme is about systemd then  > > you are automatically disqualified from taking part in this discussio

Re: Re: support for merged /usr in Debian

2016-01-03 Thread Ben Hutchings
On Sun, 2016-01-03 at 21:34 +0100, Eric Valette wrote: > > > > This is not true: you just need to use an initramfs. > > > Ok, so it should warn that this setup will soon require to use an > > > initramfs. > > It is the Debian default, there is no need to do this. > > Being debian installer defaul

Re: support for merged /usr in Debian

2016-01-03 Thread Christian Seiler
On 01/02/2016 06:42 PM, Geert Stappers wrote: > To me is this "TheUsrMerge" something like among > * "it is hard too to explain to have /sbin/fsck and not /usr/sbin/fsck" > * "there was a question about /bin/kill and /usr/bin/killall being > inconsequent" > * "we could not agree if p{erl,ython,hp

Re: support for merged /usr in Debian

2016-01-03 Thread Christian Seiler
On 01/03/2016 11:06 PM, Henrique de Moraes Holschuh wrote: > On Sun, Jan 3, 2016, at 19:59, Christian Seiler wrote: >> On 01/03/2016 10:53 PM, Henrique de Moraes Holschuh wrote: >>> On Sun, Jan 3, 2016, at 18:35, Christian Seiler wrote: My question would be: would those people here who have se

Re: support for merged /usr in Debian

2016-01-03 Thread Henrique de Moraes Holschuh
On Sun, Jan 3, 2016, at 19:59, Christian Seiler wrote: > On 01/03/2016 10:53 PM, Henrique de Moraes Holschuh wrote: > > On Sun, Jan 3, 2016, at 18:35, Christian Seiler wrote: > >> My question would be: would those people here who have separate /usr > >> and aren't using initrd be willing to put up

Re: support for merged /usr in Debian

2016-01-03 Thread Christian Seiler
On 01/03/2016 10:53 PM, Henrique de Moraes Holschuh wrote: > On Sun, Jan 3, 2016, at 18:35, Christian Seiler wrote: >> My question would be: would those people here who have separate /usr >> and aren't using initrd be willing to put up with something like that? > > I don't know if they will, but t

Re: support for merged /usr in Debian

2016-01-03 Thread Henrique de Moraes Holschuh
On Sun, Jan 3, 2016, at 18:35, Christian Seiler wrote: > Well, just for the heck of it I wrote a braindead-simple initrd > implementation in just 300 LOC: > > https://gist.github.com/chris-se/e0fbc073fcbd9ac2d7ae Oho! Cool! > My question would be: would those people here who have separate /usr

Re: support for merged /usr in Debian

2016-01-03 Thread Vincent Bernat
❦ 3 janvier 2016 22:30 +0100, Eric Valette  : >> The problem of getting /usr mounted before things start using it is mostly >> separate from the question of whether we want to merge it with /bin and >> /lib. This thread is more about the latter than the former. (Obviously, >> mounting /usr ear

Re: support for merged /usr in Debian

2016-01-03 Thread Henrique de Moraes Holschuh
On Sun, Jan 3, 2016, at 16:43, Marco d'Itri wrote: > I just have not found yet how to determine if the system was booted > using an initramfs or not. Does anybody have any hint? I don't think there is any source for that information that one can really trust ATM, AFAIK. We could add it in usersp

Re: support for merged /usr in Debian

2016-01-03 Thread Russ Allbery
Eric Valette writes: > If it is just to close once for all the right location philosophical > debate, I would say it will be over priced: changing executable PATH > will just breaks million scripts people have written themselves on top > of original debian install to maintain their system or do w

Re: support for merged /usr in Debian

2016-01-03 Thread Iustin Pop
On 2016-01-03 22:22:16, Tom H wrote: > On Sun, Jan 3, 2016 at 6:17 PM, Iustin Pop wrote: > > On 2016-01-03 12:59:01, Tom H wrote: > >> > >> I don't like usr-merge because it goes against my historical > >> expectation that "/{,s}bin" be separate from their /usr namesakes and > >> contain binaries

Re: support for merged /usr in Debian

2016-01-03 Thread Eric Valette
On 03/01/2016 22:10, Russ Allbery wrote: Eric Valette writes: The problem of getting /usr mounted before things start using it is mostly separate from the question of whether we want to merge it with /bin and /lib. This thread is more about the latter than the former. (Obviously, mounting

Re: support for merged /usr in Debian

2016-01-03 Thread Russ Allbery
Florian Lohoff writes: > On Sun, Jan 03, 2016 at 10:14:14AM -0800, Russ Allbery wrote: >> No. Debian has basically given up on this; there are way too many >> packages and way too much stuff that would have to be moved to /bin and >> /lib in order to preserve the traditional semantics that allow

Re: support for merged /usr in Debian

2016-01-03 Thread Bernd Zeimetz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 01/03/2016 07:15 PM, Marco d'Itri wrote: > On Jan 03, Simon Richter wrote: > >>> "I have always done this in a different way" is not a valid use >>> case, sorry. >> "Compatibility" is a very valid use case. Debian is famous for >> backwards co

Re: support for merged /usr in Debian

2016-01-03 Thread Tom H
On Sun, Jan 3, 2016 at 6:17 PM, Iustin Pop wrote: > On 2016-01-03 12:59:01, Tom H wrote: >> >> I don't like usr-merge because it goes against my historical >> expectation that "/{,s}bin" be separate from their /usr namesakes and >> contain binaries required for boot. > > OK, so adjust your histori

Re: support for merged /usr in Debian

2016-01-03 Thread Florian Lohoff
On Sun, Jan 03, 2016 at 10:14:14AM -0800, Russ Allbery wrote: > Daniel Reurich writes: > > > Ah, so it's actually packages that don't separate device configuration > > logic from the application or daemons properly that has caused the > > brokenness. Can we identify and fix the packages that cau

Re: support for merged /usr in Debian

2016-01-03 Thread Russ Allbery
Eric Valette writes: > But could you elaborate a bit on "mounting /usr early, something we > *already do*" if you do not implicitly refer to initramfs solution. There are other people who know a lot more about the machinery here than I do, but my understanding is that we currently use a variety

Re: Re: support for merged /usr in Debian

2016-01-03 Thread Eric Valette
uch a mechanism provided it is not imposed, 2) no separate partition for / and /usr being another one. I will probably end up changing the way I install new debian system to this one now that even SSD disks are so huge compared to system requirements, 3) merged /usr proposal being a kind o

Re: support for merged /usr in Debian

2016-01-03 Thread Christian Seiler
On 01/03/2016 12:03 PM, Daniel Reurich wrote: > On 03/01/16 23:18, Ben Hutchings wrote: > >>> Then why is it that since the introduction of systemd is having /usr on >>> a separate partition suddenly considered evil and systemd complains >>> loudly about it. It always has worked and does work fin

Re: Re: support for merged /usr in Debian

2016-01-03 Thread Eric Valette
>This is not true: you just need to use an initramfs. Ok, so it should warn that this setup will soon require to use an initramfs. It is the Debian default, there is no need to do this. Being debian installer default does not mean any debian users 1) really has any benefit of using it a

<    1   2   3   4   5   6   7   >