public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joost Roeleveld <joost@antarean.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] udev and /usr
Date: Thu, 15 Sep 2011 23:56:33 +0200	[thread overview]
Message-ID: <7246502.pGK5je4cUZ@eve> (raw)
In-Reply-To: <CAGfcS_mSLdjabAXJDPKkJOp6yL+RmpzUUfD=tNgsf5Q8PWLYww@mail.gmail.com>

On Thursday, September 15, 2011 04:27:35 PM Rich Freeman wrote:
> On Thu, Sep 15, 2011 at 4:03 PM, Joost Roeleveld <joost@antarean.org> wrote:
> > On Thursday, September 15, 2011 09:27:06 AM Zac Medico wrote:
> > > It should be similar to how sys-apps/v86d is used for uvesafb
> > > support.
> > > It installs /usr/share/v86d/initramfs and when you configure your
> > > kernel, you set CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs"
> > > in
> > > order to have in included in your kernel image.
> > 
> > Will this be set somewhere globally to the initramfs automatically?
> > And doesn't this mean that a new kernel will need to be build just to
> > satisfy
> > this?
> > 
> > I'm trying to think of how best to avoid users who are not aware to get
> > caught
> > with non-booting systems.
> > 
> > Wouldn't automatic inclusion into grub.conf be a better approach? Not
> > sure if
> > grub.conf can handle a "global" setting for initramfs.
> 
> Well, the only way to set a kernel config parameter is to rebuild the
> kernel.  There might be some way to extract the built-in initramfs (every
> kernel has one) and replace it with the new one without rebuilding it, but I
> doubt most users would prefer that we mount /boot and start modifying their
> kernel images.

I wasn't actually talking about changing kernels, but was wondering if 
grub.conf has some option for a "global" initramfs. I couldn't find anything 
in the manpage.

> Changes to grub.conf will only be properly merged if /boot is mounted, if
> grub is installed (don't laugh - I checked and since my system was migrated
> so many times I don't actually have the package installed any longer), and
> the user actually merges the changes in.  Fiddling with grub.conf isn't
> exactly risk-free either.

I know, which is why I was asking for a "default" option for the initrd/module 
part.

> I think something like this is best handled via news.

And perhaps also an announcement on gentoo-user. I think a lot of users are 
subscribed to there.

> Note also that depending on your definition of "broken" the separate /usr
> situation is already broken.  It will probably steadily become more broken
> over time, so when it stops booting altogether for any particular user might
> happen anytime from a year ago to never.

In what way is it broken?
I've only seen comments about where some udev-rules seem to expect /usr to be 
present when run and udev not properly handling these cases. (I know this is 
the very short version)

If an installation works and none of the udev-rules depend on /usr (or /var, 
....)  then a seperate /usr should not be considered "broken".
My desktop is up-to-date and none of my udev-rules even have a "RUN+=" part.

Only my server has these for Xen-devices and these aren't run until 
"xendomains" starts and this is quite late in the boot-sequence.

All my machines have /usr on LVM.

--
Joost



  reply	other threads:[~2011-09-15 21:57 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 14:33 [gentoo-dev] udev and /usr Joost Roeleveld
2011-09-15 15:07 ` Zac Medico
2011-09-15 16:04   ` Joost Roeleveld
2011-09-15 16:27     ` Zac Medico
2011-09-15 20:03       ` Joost Roeleveld
2011-09-15 20:14         ` Michał Górny
2011-09-15 20:37           ` Mike Frysinger
2011-09-15 20:45           ` "Paweł Hajdan, Jr."
2011-09-15 21:24             ` Brian Harring
2011-09-15 20:27         ` Rich Freeman
2011-09-15 21:56           ` Joost Roeleveld [this message]
2011-09-15 20:31         ` Robin H. Johnson
2011-09-15 22:05           ` Joost Roeleveld
2011-09-15 20:34         ` Zac Medico
2011-09-15 22:13           ` Joost Roeleveld
2011-09-15 22:27             ` Michał Górny
2011-09-16  6:02               ` Joost Roeleveld
2011-09-15 20:56       ` William Hubbs
2011-09-15 22:17         ` Joost Roeleveld
2011-09-15 18:29   ` Rich Freeman
2011-09-15 20:40     ` Joost Roeleveld
2011-09-15 20:54       ` Rich Freeman
2011-09-15 21:48         ` Joost Roeleveld
2011-09-16  0:32           ` Rich Freeman
2011-09-16  7:25             ` Joost Roeleveld
2011-09-16  7:29               ` Robin H. Johnson
2011-09-15 19:31 ` Luca Barbato
2011-09-15 20:33   ` Joost Roeleveld
2011-09-16  4:03     ` [gentoo-dev] " Duncan
2011-09-16 13:59       ` Rich Freeman
2011-09-25  6:35         ` Mike Frysinger
2011-09-25  9:53           ` Nirbheek Chauhan
2011-09-26  1:32             ` Mike Frysinger
2011-09-26  1:57               ` Nirbheek Chauhan
2011-09-26  2:27                 ` Zac Medico
2011-09-26  4:35                   ` Nirbheek Chauhan
2011-09-26  2:27                 ` Mike Frysinger
2011-09-25 12:53           ` Rich Freeman
2011-09-25 23:16             ` "Paweł Hajdan, Jr."
2011-09-26  1:37             ` Mike Frysinger
2011-09-18  5:43     ` [gentoo-dev] " Luca Barbato
2011-09-18 12:38       ` Rich Freeman
2011-09-18 12:49         ` Michał Górny
2011-09-18 12:59           ` Nirbheek Chauhan
2011-09-18 14:27             ` Jorge Manuel B. S. Vicetto
2011-09-18 14:51               ` Michał Górny
2011-09-18 17:26               ` Nirbheek Chauhan
2011-09-19  8:15                 ` Joshua Kinard
2011-09-19  8:25                   ` Alec Warner
2011-09-19  8:44                     ` Joshua Kinard
2011-09-19  8:33                   ` Michał Górny
2011-09-19  8:57                     ` Joshua Kinard
2011-09-19  9:10                       ` Michał Górny
2011-09-19 10:30                         ` Dale
2011-09-19 10:37                         ` Joshua Kinard
2011-09-19 11:17                           ` Arun Raghavan
2011-09-19 23:19                             ` Joshua Kinard
2011-09-20  0:29                               ` Rich Freeman
2011-09-20  2:08                                 ` Joshua Kinard
2011-09-20  2:50                                   ` Zac Medico
2011-09-20  6:48                               ` Fabian Groffen
2011-09-19 17:36                           ` Greg KH
2011-09-19 18:00                             ` Rich Freeman
2011-09-19 21:46                             ` Luca Barbato
2011-09-19 22:40                               ` Greg KH
2011-09-19 22:57                                 ` Nirbheek Chauhan
2011-09-20  3:53                                 ` Zac Medico
2011-09-19 23:24                             ` Joshua Kinard
2011-09-18 19:27               ` Zac Medico
2011-09-15 19:41 ` Robin H. Johnson
2011-09-15 21:00   ` Joost Roeleveld
2011-09-15 22:18     ` Robin H. Johnson
2011-09-16  8:36       ` Joost Roeleveld
2011-09-16 18:06         ` [gentoo-dev] " Duncan
2011-09-17  6:16           ` Joost Roeleveld
2011-09-17 14:10             ` Rich Freeman
2011-09-19  8:25           ` Joshua Kinard
2011-09-17 18:40         ` [gentoo-dev] " Robin H. Johnson
2011-09-18 15:22           ` Joost Roeleveld
2011-09-18 18:14             ` [gentoo-dev] " Duncan
2011-09-18 18:59               ` Rich Freeman
2011-09-19  8:03               ` Nicolas Sebrecht
2011-09-19  7:59 ` [gentoo-dev] " Joshua Kinard
2011-09-19  8:25   ` Michał Górny

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=7246502.pGK5je4cUZ@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