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 12:48:49 +0100	[thread overview]
Message-ID: <2964727.bpNzpbQ8Ug@eve> (raw)
In-Reply-To: <20121221124223.3f82390f@pomiocik.lan>

On Friday, December 21, 2012 12:42:23 PM Michał Górny wrote:
> On Fri, 21 Dec 2012 12:31:28 +0100
> 
> "J. Roeleveld" <joost@antarean.org> wrote:
> > On Friday, December 21, 2012 12:02:34 PM Michał Górny wrote:
> > > On Fri, 21 Dec 2012 11:24:45 +0100
> > > 
> > > "J. Roeleveld" <joost@antarean.org> wrote:
> > > > On Friday, December 21, 2012 09:57:25 AM Michał Górny wrote:
> > > > > Just let me know when you have to maintain a lot of such systemd
> > > > > and upgrade, say, glibc. Then maybe you'll understand.
> > > > 
> > > > A shared /usr means I need to update ALL the systems at once.
> > > > When /usr is not shared, I can update groups at a time.
> > > 
> > > Yes, and this is what disqualifies it for the general case. If you
> > > can't update one at some point, you can't update the others or it is
> > > going to likely get broken in a random manner.
> > 
> > Yes, but do you want to find out when the entire production environment is
> > down? Or would you rather do the upgrades in steps and only risk having to
> > rebuild a few nodes and have a lower performance during that time?
> > There is a big difference between 50% performance and 0%.
> 
> Didn't you just state that you *have* to update all at the same time?

Please re-read what I wrote.
I said, with a *shared* /usr, then yes, I do need to update the entire 
environment at the same time.
With a *non-shared*, this is not necessary.

I also stated that that is one of the reasons why I do not *want* to share 
/usr between multiple hosts.

> > > > To save time, a shared filesystem containing binary packages can
> > > > easily be
> > > > used and this is what I use myself.
> > > > I have one VM that is used to rebuild the packages when I want to do
> > > > an
> > > > update and the real host then simply uses the binary packages.
> > > > The configuration items needed for emerge are synchronized between the
> > > > build system and the actual server.
> > > 
> > > Wait, wait. So you have introduced even more hackery to get it working?
> > > Good to hear. That's really a good reason to support your arguments.
> > > 'I got it working with a lot of hackery, so it is a good solution!'
> > 
> > Please explain, what is hackery about having a single host doing all the
> > compiling for multiple servers?
> > The only thing I need to synchronize between the "real" host and the
> > "compile" host is "/etc/portage" and "/var/lib/portage/world"
> 
> The hackery is about installing packages partially to local
> and partially to shared location. I feel like I'm not following anymore
> what actually happens there, not that it is worth my time.

That type of hackery is what I do *not* do. Please see above.

> > > > The main reason why I would never share an OS filesystem between
> > > > multiple
> > > > systems is to avoid the situation where a failed upgrade takes down
> > > > the
> > > > entire environment.
> > > 
> > > And this doesn't happen in your case because...? Because as far as I
> > > can see:
> > > 
> > > 1) failed upgrade in /usr takes down the entire environment,
> > > 
> > > 2) failed upgrade in / may take down the machine,
> > > 
> > > 3) failed hackery you're doing to get it all working may have even more
> > > unpredictable results.
> > > 
> > > And yes, I prefer to take down the entire environment and fix it in one
> > > step. That sounds much better than trying to get it back up and re-sync
> > > all the machines which got into some mid-broken state.
> > 
> > With shared OS filesystems, that is what you will get.
> > With non-shared OS filesystems, the other nodes will keep working.
> 
> Aren't we talking about shared OS filesystems *right now*?

Yes, as a reason why *not* to do it.

I don't ever intend to use a shared OS filesystem. That includes not sharing 
/usr because of the reasons I mentioned.

The main reason mentioned for moving everything and the kitchen sink into /usr 
is to make it easier to share /usr between multiple servers.
Doing that has the side-effect that a seperate /usr will not work without an 
init*.

This makes me conclude that a decision has been made to:
Break existing working environments to support an environment that has a 
built-in single point of failure.

--
Joost


  reply	other threads:[~2012-12-21 11:49 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
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 [this message]
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=2964727.bpNzpbQ8Ug@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