FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-05-2009, 10:16 PM
 
Default Bug#518407: module-init-tools: Invalid modules.dep file created during upstream kernel build

clone 518407 -1
reassign -1 initramfs-tools
retitle -1 initramfs-tools: must support relative paths in modules.dep
severity -1 critical
block 518407 by -1
retitle 518407 module-init-tools: must conflict with old initramfs-tools
thanks

On Mar 05, Frans Pop <elendil@planet.nl> wrote:

> The problem seems to be that depmod, which is run as part of the build,
> generates a modules.dep file with incomplete paths. These incomplete paths
> in turn cause initramfs-tools to create a broken initrd.
Upstream says this is a feature, and actually it is documented in the
changelog.
If path[0] != '/' then the path is relative to the kernel directory.

--
ciao,
Marco
 
Old 03-05-2009, 10:36 PM
Frans Pop
 
Default Bug#518407: module-init-tools: Invalid modules.dep file created during upstream kernel build

On Friday 06 March 2009, Marco d'Itri wrote:
> On Mar 05, Frans Pop <elendil@planet.nl> wrote:
> > The problem seems to be that depmod, which is run as part of the
> > build, generates a modules.dep file with incomplete paths. These
> > incomplete paths in turn cause initramfs-tools to create a broken
> > initrd.
>
> Upstream says this is a feature, and actually it is documented in the
> changelog.
> If path[0] != '/' then the path is relative to the kernel directory.

That does not really explain *why* the behavior was changed. and IMO it's
an extremely unfortunate backwards compatibility issue.

I also don't think changing initramfs-tools is sufficient to fix this.

It is very much possible that someone builds a new kernel package on a
system running unstable/testing and thus having the new m-i-t, but wants
to install it on a system running stable that has the old intramfs-tools.
As the initramfs is created at package installation time, a reboot will
still fail in that case.

For the same reason fixing the upstream kernel Makefile is no solution as
that would only fix the problem for new kernel versions.

IMO m-i-t will need to ensure backwards compatibility for the forseeable
future (at least until lenny is archived) to avoid major problems for
users.


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org