[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r1026 - in glibc-package/trunk/debian: . debhelper.in local/etc_init.d rules.d script.in



At Thu, 25 Aug 2005 23:42:03 -0400,
Daniel Jacobowitz wrote:
> I don't get it.  What's the point?  Almost 100% of the time, if we need
> to complain about a kernel version, things are going to break so badly
> that the #!/bin/sh at the top of the script isn't going to work.

If /bin/sh does not work simply, we should bump up MIN_KERNEL_VERSION.
In that case, we just get "FATAL: kernel too old" message from ld.so.
Please read my explanation:

> > Check is used for example glibc mets invalid kernel version like
> > 2.6.1220050825 or glibc detects pre 2.4.24 running kernel on real
> > i386 architecture that does not support an important instruction.

Why don't we need to have libc6.preinst scripts that checks kernel
version?  Don't you use your own compiled kernel or old kernel?
/etc/init.d/glibc.sh just extends it to each kernel boot time.  It's
simple, and useful for not only libc6 installation time but also each
boot time.

> So you're adding more work to the boot process that will pretty much
> never do any good...

I don't have much idea to do such clever way.  Initrd is another
place, but it's out of scope about user's non initrd kernel image.  I
think replacing/changin /sbin/init is overkill for this purpose.

Regards,
-- gotom



Reply to: