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:23:04 +0100	[thread overview]
Message-ID: <22234620.jdiWnPB7po@eve> (raw)
In-Reply-To: <CAGfcS_mpRWWMVLi6hP684C+_hTKP2wNS=5fHJUwBVXjpbM51GA@mail.gmail.com>

On Thursday, December 20, 2012 07:02:06 AM Rich Freeman wrote:
> On Thu, Dec 20, 2012 at 6:21 AM, Richard Yao <ryao@gentoo.org> wrote:
> > No one has proposed moving everything to /usr. At the minimum, we would
> > still have /etc and /var in /, as well as various mountpoints. If we do
> > move those to /usr, then we effectively renamed / to /usr, which is
> > pointless. The absurdity of mounting /usr over NFS instead of / is
> > precisely why people are saying to just mount / (with /usr as being part
> > of it).
> 
> We're drifting here, but the concept is that machine-local stuff like
> configuration stays out of /usr, and generic distro stuff stays in
> /usr.
> 
> A webserver for site1 vs site2 would be identical in /usr, but
> different elsewhere.

It would be identical everywhere but on:
/etc/apache
/var/www
(using default locations)

I would actually put /var/www on the share as well and use symlinks from 
/etc/apache to point to the specific vhost-config files. That way I could 
quickly move websites to a different node when I'd need to take one down for 
maintenance.

Having only /usr shared betweehn those wouldn't be sufficient and would make 
patching and updates more risky as I would then be updating the whole 
environment at once.

> However, that whole approach makes less sense for a distro that prides
> itself on you being able to make every installation unique.  That
> said, if you do want to make a whole bunch of Gentoo installs the same
> then sticking everything important in /usr and network mounting it is
> a good way to accomplish it.

How does portage handle a situation like this?
Would I be able to use emerge on any node to add additional software along 
with all the config-file changes?

If we take the webserver examples:
The software is under /usr
The configuration is under /etc/apache

If I update apache and there are additional options and/or changes to the 
config files, how do I migrate those to all the different nodes?
If the config is the same on all nodes, why not simply share the " / " ?
If it differs, I then need to write down all the new options and go through 
every single node and update the config there.

The same is true with any other environment where multiple nodes are used for 
the same purpose.

For the usecases that I generally deal with, the only time where a shared /usr 
would make sense is when I select " Install everything " during the install.
I used to do that to avoid having to deal with RPM-dependencies when I was 
using Redhat.

--
Joost


  parent reply	other threads:[~2012-12-21  8:24 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 [this message]
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
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=22234620.jdiWnPB7po@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