public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: eudev project announcement
Date: Fri, 21 Dec 2012 09:10:22 +0100	[thread overview]
Message-ID: <1410550.8z1d0Jc2Uc@eve> (raw)
In-Reply-To: <20121220093136.1dbd23f8@pomiocik.lan>

On Thursday, December 20, 2012 09:31:36 AM Michał Górny wrote:
> On Thu, 20 Dec 2012 00:27:26 +0100
> 
> "J. Roeleveld" <joost@antarean.org> wrote:
> > On Wednesday, December 19, 2012 09:13:28 AM Greg KH wrote:
> > > On Tue, Dec 18, 2012 at 08:21:36AM +0100, J. Roeleveld wrote:
> > > > On Mon, December 17, 2012 22:31, Greg KH wrote:
> > > > > On Mon, Dec 17, 2012 at 09:03:40PM +0100, J. Roeleveld wrote:
> > > > >> Olav Vitters <olav@vitters.nl> wrote:
> > > > >> >On Mon, Dec 17, 2012 at 09:29:26AM -0500, Richard Yao wrote:
> > > > >> >> As I said in an earlier email, Lennart Poettering claims that it
> > > > >> >> does
> > > > >> >> not work. We are discussing some of the things necessary to make
> > > > >> >> it
> > > > >> >
> > > > >> >work.
> > > > >> >
> > > > >> >Just to repeat:
> > > > >> >In this thread it was claimed that a separate /usr is not
> > > > >> >supported by
> > > > >> >systemd/udev.
> > > > >> >
> > > > >> >A case which works with latest systemd on various distributions. I
> > > > >> >checked with upstream (not Lennart), and they confirmed it works.
> > > > >> >I
> > > > >> >can
> > > > >> >wait for Lennart to say the same, but really not needed.
> > > > >> >
> > > > >> >I assume this will again turn into a "but I meant something else".
> > > > >> 
> > > > >> Olav.
> > > > >> 
> > > > >> Lennart has stated that he considers a seperate /usr without init*
> > > > >> broken.
> > > > > 
> > > > > Yes, as do I, and so do a lot of other developers.
> > > > 
> > > > It is only "broken", because upstream decided to move everything into
> > > > /usr
> > > > that was previously in /.
> > > 
> > > No, not at all, please see the web page that describes, in detail, the
> > > problems that has been going on for quite some time now, with the /usr
> > > and / partitions and packages.
> > > 
> > > 	http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
> > > 
> > > One good solution to this issue is to move everything into /usr, and
> > > that's something that has wonderful benifits in the long run, and is
> > > something that I expect all Linux distros to eventually implement.
> > > Those that don't, will suffer because of it.
> > > 
> > > Again, see the web page for why moving stuff into /usr is a good idea
> > > for the reasons behind this.
> > > 
> > > 	
http://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge
> > 
> > Example: /usr Network Share
> > When /usr is on a network share, why not add a / on network as well?
> > I have multiple systems and as they all have different uses, they all have
> > different software installed.
> > 
> > Example: Multiple Guest Operating Systems on the Same Host
> > See answer to previous example.
> > 
> > How many environments actually currently exist where a shared /usr is
> > being
> > used?
> 
> Are you aware that these environments are actually one of the most
> important reasons for moving everything to /usr? I don't know what
> hackery you're using to keep the systems in sync and working but it is
> braindead enough.

An init* needs to be kept in sync with the rest of the system as well. As that 
is a compressed filesystem, it takes a lot more effort to keep that in sync in 
comparison to a "normal" filesystem.
I consider having to write scripts to unpack, modify and repack an init* to be 
more hackery then to keep a bootable root-filesystem working that can mount 
all the filesystems needed for the whole environment.
Anything needed to mount /usr, /var, /run (and any other part needed for the 
boot-process) should not be allowed to depend on anything in any of those 
directories prior to those being mountable.

> The difference between keeping part of the system in rootfs
> and initramfs is that you can discard initramfs after using it. It can
> be anything which is enough to get the /usr mounted and system
> starting. Files on rootfs *have* to be in sync with those on /usr
> or you're getting random failures.

The same is true for an init*.
If an update of part of the OS leads to subtle changes in the filesystem where 
older versions can no longer properly access them, the init* is broken.

--
Joost



  parent reply	other threads:[~2012-12-21  8:11 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-15  3:52 [gentoo-dev] eudev project announcement Richard Yao
2012-12-15  3:57 ` Richard Yao
2012-12-15  4:16 ` Peter Stuge
2012-12-15  5:28   ` [gentoo-dev] " Nikos Chantziaras
2012-12-15 12:40     ` Rich Freeman
2012-12-15  6:33   ` [gentoo-dev] " Walter Dnes
2012-12-15  7:21     ` [gentoo-dev] " Duncan
2012-12-15 17:53       ` Walter Dnes
2012-12-15 18:07         ` Michał Górny
2012-12-15 18:58           ` Walter Dnes
2012-12-15 19:33             ` Michał Górny
2012-12-15 20:17               ` Richard Yao
2012-12-17 10:40                 ` Olav Vitters
2012-12-17 11:09                   ` Luca Barbato
2012-12-17 13:25                     ` Olav Vitters
2012-12-17 14:29                       ` Richard Yao
2012-12-17 19:48                         ` Olav Vitters
2012-12-17 20:03                           ` J. Roeleveld
2012-12-17 21:31                             ` Greg KH
2012-12-17 23:23                               ` William Hubbs
2012-12-18  6:50                                 ` Ulrich Mueller
2012-12-18 18:45                                   ` William Hubbs
2012-12-18 18:51                                     ` Richard Yao
2012-12-18 19:06                                       ` William Hubbs
2012-12-18 19:20                                     ` Ian Stakenvicius
2012-12-18 19:28                                     ` Rich Freeman
2012-12-18  9:01                                 ` Richard Yao
2012-12-18 18:07                                 ` Ian Stakenvicius
2012-12-18  7:21                               ` J. Roeleveld
2012-12-19 17:13                                 ` Greg KH
2012-12-19 17:41                                   ` Kevin Chadwick
2012-12-19 23:27                                   ` J. Roeleveld
2012-12-20  8:31                                     ` Michał Górny
2012-12-20 11:21                                       ` Richard Yao
2012-12-20 12:02                                         ` Rich Freeman
2012-12-20 12:18                                           ` Richard Yao
2012-12-20 20:55                                           ` Kevin Chadwick
2012-12-21  8:23                                           ` J. Roeleveld
2012-12-21  8:10                                       ` J. Roeleveld [this message]
2012-12-21  8:57                                         ` Michał Górny
2012-12-21 10:24                                           ` J. Roeleveld
2012-12-21 11:02                                             ` Michał Górny
2012-12-21 11:31                                               ` J. Roeleveld
2012-12-21 11:42                                                 ` Michał Górny
2012-12-21 11:48                                                   ` J. Roeleveld
2012-12-21 16:12                                                     ` Stelian Ionescu
2012-12-21 16:14                                                       ` J. Roeleveld
2012-12-21 13:51                                         ` Ian Stakenvicius
2012-12-21 14:37                                           ` J. Roeleveld
2012-12-21 14:52                                             ` Dale
2012-12-21 14:54                                               ` J. Roeleveld
2012-12-21 15:06                                                 ` Dale
2012-12-21 14:38                                           ` Rich Freeman
2012-12-21 15:04                                             ` J. Roeleveld
2012-12-21 16:21                                               ` William Hubbs
2012-12-21 17:36                                                 ` J. Roeleveld
2012-12-21 17:52                                                   ` Dale
2012-12-21 18:05                                                     ` J. Roeleveld
2012-12-21 18:15                                                       ` Ian Stakenvicius
2012-12-21 18:20                                                   ` William Hubbs
2012-12-21 18:52                                                     ` J. Roeleveld
2012-12-18  8:51                               ` Richard Yao
2012-12-18  5:12                       ` Luca Barbato
2012-12-17 12:47                   ` Richard Yao
2012-12-15 23:32         ` Duncan
2012-12-15 14:19     ` [gentoo-dev] " Anthony G. Basile
2012-12-15 21:08   ` Richard Yao
2012-12-15 21:20     ` Rick "Zero_Chaos" Farina
2012-12-15 21:22       ` Richard Yao
2012-12-15 12:07 ` Roy Bamford
2012-12-15 12:47   ` Dale
2012-12-15 12:48 ` [gentoo-dev] Re: [gentoo-project] " Rich Freeman
2012-12-15 13:52   ` Duncan
2012-12-15 15:43   ` Luca Barbato
2012-12-15 16:20     ` Rich Freeman
2012-12-15 20:29       ` Luca Barbato
2012-12-15 21:16       ` Richard Yao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1410550.8z1d0Jc2Uc@eve \
    --to=joost@antarean.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox