Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Oden Eriksson

On Tuesdayen den 30 July 2002 14.38, Borsenkow Andrej wrote:
> > > As I understand Aurora has been dropped for good, can someone clean
>
> up
>
> > the
> >
> > > aurora stuff from the initscripts now?
> >
> > tested patch accepted :)
>
> I have sent patch to the list (and Warly and I guess fredl) two months
> ago. It was enough time to test any patch and find if something is
> wrong. I have been running with this patch for some time without any
> obvious ill effects; I remember I found something that needed cleanup
> but now I reverted to vanilla initscripts and do not remember what it
> was.

Do you still have the patch?

> It is impossible in the long run to both run local customized version
> and merge normal updates.

Yes, that is impossible.

-- 
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com




Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Oden Eriksson

On Tuesdayen den 30 July 2002 14.11, Pixel wrote:
> Oden Eriksson <[EMAIL PROTECTED]> writes:
>
> [...]
>
> > For example I would like to load my md raid from the ramdisk so I _never_
> > lose that in case of a bad upgrade/kernel/module/whatever. The logic is
> > now only that "/" is used to determine what fs and its approriate modules
> > is needed, right?. I have an md at "/var/qmail/queue" and "/home". If I
> > would remove the md for "/home" no md modules would make it into the
> > ramdisk.
> >
> > Another example is that I _ALLWAYS_ have the loop module in my ramdisk...
> > (guess why:-))
>
> why not have these in /etc/modules?

Because for example loop is not included in the ramdisk generated with 
--ifneeded as default. The "INITRDOPTS" value would force inclusion, that's 
the whole point.

-- 
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com




RE: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Borsenkow Andrej


> > As I understand Aurora has been dropped for good, can someone clean
up
> the
> > aurora stuff from the initscripts now?
> 
> tested patch accepted :)
> 

I have sent patch to the list (and Warly and I guess fredl) two months
ago. It was enough time to test any patch and find if something is
wrong. I have been running with this patch for some time without any
obvious ill effects; I remember I found something that needed cleanup
but now I reverted to vanilla initscripts and do not remember what it
was.

It is impossible in the long run to both run local customized version
and merge normal updates.

-andrej




Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Pixel

Oden Eriksson <[EMAIL PROTECTED]> writes:

[...]

> For example I would like to load my md raid from the ramdisk so I _never_ 
> lose that in case of a bad upgrade/kernel/module/whatever. The logic is now 
> only that "/" is used to determine what fs and its approriate modules is 
> needed, right?. I have an md at "/var/qmail/queue" and "/home". If I would 
> remove the md for "/home" no md modules would make it into the ramdisk.
> 
> Another example is that I _ALLWAYS_ have the loop module in my ramdisk... 
> (guess why:-))

why not have these in /etc/modules?




Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Oden Eriksson

On Tuesdayen den 30 July 2002 13.31, Pixel wrote:
> Oden Eriksson <[EMAIL PROTECTED]> writes:
> > > > After I got sick of allways needing to re-make my ramdisk to include
> > > > modules of my choice when installing a new kernel, I made these small
> > > > changes that I hope will be included in the next initscripts package.
> > > > (thanks in advance...)
> > >
> > > why exactly do you need a special module?
> >
> > Because of lots of reasons, and because it's easy and possible with this
> > small patch.
>
> that's not enough. Since you need it, someone else may need it and we
> may be able to do it more automagically that telling to edit
> /etc/sysconfig/installkernel

For example I would like to load my md raid from the ramdisk so I _never_ 
lose that in case of a bad upgrade/kernel/module/whatever. The logic is now 
only that "/" is used to determine what fs and its approriate modules is 
needed, right?. I have an md at "/var/qmail/queue" and "/home". If I would 
remove the md for "/home" no md modules would make it into the ramdisk.

Another example is that I _ALLWAYS_ have the loop module in my ramdisk... 
(guess why:-))

> > It would also be very useful if the mkinitrd script itself could make use
> > of the "INITRDOPTS" value... If this was working we didn't have to
> > re-make the ramdisk for our very own special needs.
>
> agreed

The "INITRDOPTS" value would override any (well some?) voodoo magic 
misfortunes, and that's a good thing IMHO.

Also, as I come to think of it, this will increase boot time since the 
module(s) never has to be checked and uncompressed. Neat.

-- 
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com




Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Pixel

Oden Eriksson <[EMAIL PROTECTED]> writes:

> > > After I got sick of allways needing to re-make my ramdisk to include
> > > modules of my choice when installing a new kernel, I made these small
> > > changes that I hope will be included in the next initscripts package.
> > > (thanks in advance...)
> >
> > why exactly do you need a special module?
> 
> Because of lots of reasons, and because it's easy and possible with this 
> small patch.

that's not enough. Since you need it, someone else may need it and we
may be able to do it more automagically that telling to edit
/etc/sysconfig/installkernel
 
> It would also be very useful if the mkinitrd script itself could make use of 
> the "INITRDOPTS" value... If this was working we didn't have to re-make the 
> ramdisk for our very own special needs.

agreed




Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Oden Eriksson

On Tuesdayen den 30 July 2002 12.52, Pixel wrote:
> Oden Eriksson <[EMAIL PROTECTED]> writes:
> > On Tuesdayen den 30 July 2002 12.12, Pixel wrote:
> > > "Brian J. Murrell" <[EMAIL PROTECTED]> writes:
> > > > Is it too late to get this small patch in before the 9.0 freeze? 
> > > > It's very small and benign.
> > >
> > > please give it. If it's really small and benign, that's ok :)
> >
> > What about:
> >
> > As I understand Aurora has been dropped for good, can someone clean up
> > the aurora stuff from the initscripts now?
>
> tested patch accepted :)

He he..., I don't have time to do this myself, sorry...

> > After I got sick of allways needing to re-make my ramdisk to include
> > modules of my choice when installing a new kernel, I made these small
> > changes that I hope will be included in the next initscripts package.
> > (thanks in advance...)
>
> why exactly do you need a special module?

Because of lots of reasons, and because it's easy and possible with this 
small patch.

It would also be very useful if the mkinitrd script itself could make use of 
the "INITRDOPTS" value... If this was working we didn't have to re-make the 
ramdisk for our very own special needs.

-- 
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com




Re: initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Pixel

Oden Eriksson <[EMAIL PROTECTED]> writes:

> On Tuesdayen den 30 July 2002 12.12, Pixel wrote:
> > "Brian J. Murrell" <[EMAIL PROTECTED]> writes:
> > > Is it too late to get this small patch in before the 9.0 freeze?  It's
> > > very small and benign.
> >
> > please give it. If it's really small and benign, that's ok :)
> 
> What about:
> 
> As I understand Aurora has been dropped for good, can someone clean up the
> aurora stuff from the initscripts now?

tested patch accepted :)

> After I got sick of allways needing to re-make my ramdisk to include modules
> of my choice when installing a new kernel, I made these small changes that I
> hope will be included in the next initscripts package. (thanks in advance...)

why exactly do you need a special module?




initscripts (was: Re: [Cooker] small patch to mkinitrd for lvm on rootfs)

2002-07-30 Thread Oden Eriksson

On Tuesdayen den 30 July 2002 12.12, Pixel wrote:
> "Brian J. Murrell" <[EMAIL PROTECTED]> writes:
> > Is it too late to get this small patch in before the 9.0 freeze?  It's
> > very small and benign.
>
> please give it. If it's really small and benign, that's ok :)

What about:

http://marc.theaimsgroup.com/?l=mandrake-cooker&m=101523717215421&w=2
http://marc.theaimsgroup.com/?l=mandrake-cooker&m=102587230614779&w=2

???

-- 
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com