Re: initramfs programs (was [RFC] klibc requirements)

Matthew Kirkwood (matthew@hairy.beasts.org)
Thu, 10 Jan 2002 10:35:31 +0000 (GMT)


On Wed, 9 Jan 2002, Eric S. Raymond wrote:

> > if [ /proc/ -nt /var/run/dmidecode ]; then
> > echo We need to run some code as root.
> > echo -n Enter root\'s\
> > su -c 'dmidecode > /var/run/dmidecode'
> > fi

> The autoconfigurator is *not* mean to be run at boot time, or as root.

Under normal circumstances.

> It is intended to be run by ordinary users, after system boot time.
> This is so they can configure and experimentally build kernels without
> incurring the "oops..." risks of going root.

Then ship it in a separate package with initscripts. Either
CML2 is well enough designed that the autoconfigurator will
not need to change as the kernel does, or all your
overengineering was for nought.

> Therefore, the above 'solution' is not acceptable.

To who? It provides as way for your configurator to function
out-of-the-box until distributions choose whether it's worth
their while to support your scheme.

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/