mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Neil Brown <neilb-l3A5Bk7waGM@public.gmane.org>,
	Dan Williams
	<dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	linux-raid-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Michal Marek <mmarek-l3A5Bk7waGM@public.gmane.org>,
	Hans de Goede <hdegoede@red>
Subject: Re: [[Patch mdadm] 2/5] Move the files mdmon opens into /dev/ to support handoff after pivotroot
Date: Tue, 09 Feb 2010 15:34:18 -0500	[thread overview]
Message-ID: <4B71C6CA.3010407@redhat.com> (raw)
In-Reply-To: <20100209021949.GB11780-0owbi4v4jRjYceiJAzDLgeTW4wlIGRCZ@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2408 bytes --]

On 02/08/2010 09:19 PM, martin f krafft wrote:
> also sprach Neil Brown <neilb-l3A5Bk7waGM@public.gmane.org> [2010.02.09.1038 +1300]:
>> I could probably actually live with "/dev/run" as the permanent
>> home for the mdmon files:  /dev/run/mdmon/*.{sock,pid} It
>> addresses most of the issues I had with the original suggestion
>> (hidden files, non-generic approach) so the "cons" are weaker.
>> And I now understand the "pros" better (races with cleaning
>> /var/run, issues with unmounting /var etc).
> 
> Note that initramfs already carries /dev across the pivot_root, and
> initramfs already uses /dev/.initramfs to carry stuff across.

And the things carried in there should be able to be trivially moved to
a final location.

> I am not sure /dev/run will fly past the Debian Police. On the other
> hand, it would be convenient, since it'll work out-of-the-box, at
> least on Debian systems. I don't really like the idea of a symlink
> in / though. Nor do I really have a better idea.

Persuant to the comments that this should work even if /dev is not
read/write, it really needs to officially be a top level directory (or
else some other mount point that is separate from /dev I think, I guess
it could be in /tmp itself).

>> Anyone second the motion?
> 
> I am all for finding a solution that works, but I don't think it's
> as easy as "the standards are slow, so let's just forge ahead with
> mdadm only and give them something to standardise".
> 
> I wouldn't mind avoiding all the bikeshedding, and maybe it'll just
> work, but having to change things later might possibly be a lot of
> trouble — after all, we don't want to break people's systems then.

I don't think so.  Once it's all set up, any future change should be no
more than a coordinate package update cycle where initscripts, mkinitrd,
dracut, and a few other select packages that use the locations are all
updated simultaneously.

> On the other hand, this is something that is reinitialised on every
> boot, isn't it? If that's the case and there don't seem to be
> complications with a later move, then I say: yeah, let's go ahead.
> 


-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
              GPG KeyID: CFBFF194
	      http://people.redhat.com/dledford

Infiniband specific RPMs available at
	      http://people.redhat.com/dledford/Infiniband


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2010-02-09 20:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1263242294-5353-1-git-send-email-dledford@redhat.com>
     [not found] ` <1263242294-5353-3-git-send-email-dledford@redhat.com>
     [not found]   ` <20100119110930.107ca42e@notabene>
     [not found]     ` <4B55F138.7060008@redhat.com>
     [not found]       ` <4B673A5D.2010901@tmr.com>
     [not found]         ` <4B674860.7080604@redhat.com>
     [not found]           ` <4B6758C7.9060301@tmr.com>
     [not found]             ` <4877c76c1002012008u2e32d6a4y9b4fec721dfe8435@mail.gmail.com>
2010-02-02  7:17               ` [[Patch mdadm] 2/5] Move the files mdmon opens into /dev/ to support handoff after pivotroot Luca Berra
2010-02-04  6:40       ` Neil Brown
2010-02-04 18:45         ` Doug Ledford
     [not found]           ` <4B6B15B3.8030205-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-02-04 23:04             ` Dan Williams
     [not found]               ` <e9c3a7c21002041504w17565653m5a8b8cd90543cf1e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-05  0:21                 ` Bill Davidsen
2010-02-06 17:51               ` Doug Ledford
     [not found]                 ` <4B6DAC06.6060909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-02-06 21:07                   ` Dan Williams
     [not found]                     ` <e9c3a7c21002061307le6f5d56ked4fa3711bdd2367-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-06 21:46                       ` martin f krafft
2010-02-06 22:06                         ` Michael Evans
2010-02-08 15:32                       ` Doug Ledford
2010-02-08 21:38                         ` Neil Brown
2010-02-09  0:20                           ` Michael Evans
     [not found]                           ` <20100209083838.6568cac0-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2010-02-09  2:19                             ` martin f krafft
     [not found]                               ` <20100209021949.GB11780-0owbi4v4jRjYceiJAzDLgeTW4wlIGRCZ@public.gmane.org>
2010-02-09 20:34                                 ` Doug Ledford [this message]
     [not found]                                   ` <4B71C6CA.3010407-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-02-10  0:58                                     ` Mr. James W. Laferriere
     [not found]                                       ` <alpine.LNX.2.01.1002091553580.10004-pIN9qAC4yfKseEBmXaVrNB5FPEiCeG3sAL8bYrjMMd8@public.gmane.org>
2010-02-10  1:33                                         ` Neil Brown
2010-02-10  9:46                                           ` Harald Hoyer
     [not found]                                           ` <20100210123321.324e5de6-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2010-02-10 15:49                                             ` Dan Williams
2010-02-10 16:06                                               ` Michael Evans
     [not found]                                                 ` <4877c76c1002100806w66e504deg767f6ecc8cc7fa8a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-11  2:30                                                   ` Doug Ledford
2010-02-09 20:30                             ` Doug Ledford
2010-02-08  4:23                   ` Neil Brown
2010-02-07 22:13             ` Hans de Goede
2010-02-07 23:06               ` Neil Brown
2010-02-08  3:45           ` Neil Brown
2010-02-08 16:56             ` Bill Nottingham

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=4B71C6CA.3010407@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=hdegoede@red \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-raid-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mmarek-l3A5Bk7waGM@public.gmane.org \
    --cc=neilb-l3A5Bk7waGM@public.gmane.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