public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] udev and /usr
@ 2011-09-15 14:33 Joost Roeleveld
  2011-09-15 15:07 ` Zac Medico
                   ` (3 more replies)
  0 siblings, 4 replies; 84+ messages in thread
From: Joost Roeleveld @ 2011-09-15 14:33 UTC (permalink / raw
  To: gentoo-dev

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




^ permalink raw reply	[flat|nested] 84+ messages in thread

end of thread, other threads:[~2011-09-26  4:54 UTC | newest]

Thread overview: 84+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox