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: [gentoo-dev] udev and /usr
Date: Thu, 15 Sep 2011 16:33:01 +0200	[thread overview]
Message-ID: <1740055.XA9oyAS8HQ@eve> (raw)

Hi Devs,

Not sure if you are aware of the discussions on the gentoo-user list about the 
upcoming change where systemd and udev require /usr to be available prior to 
starting of udev.

I would like to know what the position of the Gentoo developers is with 
regarding this and how best to deal with this.

There have been several use-cases mentioned in the other list describing the 
need for a seperate /usr and /var partition. I also have these on seperate 
partitions.

The use for an initrd/initramfs/... will create an additional layer of 
complexity a lot of us users are not really waiting for, especially as we are 
not seeing any issues with our current systems.
It's also one extra thing that can go wrong and it is not clear how we could 
solve the situation where we messed something up with the initramfs and can't 
get to the tools in single-usermode to try and fix it. That is if we can even 
get access to the machine in question.

I have raised a possible alternative on the other list and would like to know 
how you, the Developers, feel about it.

My idea is, to me at least, simple.
"udev" is split into 2 parts:
1) "udevd", which creates the /dev-tree based on the events it currently gets
2) "actiond" processes all the actions "udevd" puts in a seperate queue.

I think that if "udevd" is started at boot-time and "actiond" only after 
"localmount" has finished, there shouldn't be the situation where a script in 
the udev-configuration fails because of missing files.
Even if it does, then this can be handled in "actiond" itself and placed in a 
retry-queue.

With a smaller udev, the chances of it failing should also be less. (less 
code-lines to check) and as long as the /dev-entries are created, these can be 
used to manually mount the other partitions to get to the point where the 
system can be fixed to get it back to a workable state.

If, in the currently planned form, udev fails, it will be necessary to use a 
rescue-cd/usb to boot the system, try to fix it inside a chroot where it's not 
easy to check what is actually going wrong during the boot-process as the 
different tools can then not be run with the error-messages printed to the 
console.

Kind regards,

Joost Roeleveld




             reply	other threads:[~2011-09-15 14:34 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 14:33 Joost Roeleveld [this message]
2011-09-15 15:07 ` [gentoo-dev] udev and /usr 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
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=1740055.XA9oyAS8HQ@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