Re: bad postinst in kernel-images
>>"Marcel" == Marcel Kolaja <marcel@solnet.cz> writes:
> Hello,
> We (me and Marek Veber) have probably found a bug in postinst script in
> Debian kernel images. Decription of the problem follows:
> is wrong. Although in the manpage of depmod is written:
> -F kernelsyms,--filesyms kernelsyms
> When building dependency files for a different kernel than the
> currently running kernel, it is important that depmod uses the
> correct set of kernel symbols to resolve the kernel references
> in each module. These symbols can either be a copy of Sys-
> tem.map from the other kernel, or a copy of the output from
> /proc/ksyms. If your kernel uses versioned symbols, it is best
> to use a copy of the /proc/ksyms output, since that file con-
> tains the symbol versions of the kernel symbols. However you
> can use a System.map even with versioned symbols.
> Even it is written, you can use the System.map file, you cannot (so we
> assume it is a bug in the documentation).
Seems more like a bug in the implementation.
> So we assume, the postinst script should be changed in such
> similar way. What do you think about that?
If depmod were fixed, we would not need to hack other packages
to work around the depmod bug.
manoj
--
"Irrationality is the square root of all evil" Douglas Hofstadter
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: