Public bug reported:

Package linux-image-2.6.32-26-virtual (version 2.6.32-26.48) contains
copies of the module maps in /lib/modules that get overwritten at
package installation time when the postinst script runs depmod.  This
causes debsums and other programs to report that files in the package
have been modified, when such changes are actually desired behavior.
This appears to be a regression of this bug:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/250511

The linux-image-server package does not have this problem, so it's
something particular to how the -virtual kernel flavor is being
packaged:

r...@dev01:/var/cache/apt/archives# dpkg-deb -c 
linux-image-2.6.32-26-server_2.6.32-26.48_amd64.deb | grep 
/lib/modules/2.6.32-26-server/modules
tar: Record size = 8 blocks
-rw-r--r-- root/root      4933 2010-11-24 11:13 
./lib/modules/2.6.32-26-server/modules.builtin
-rw-r--r-- root/root     97749 2010-11-24 11:13 
./lib/modules/2.6.32-26-server/modules.order
r...@dev01:/var/cache/apt/archives# dpkg-deb -c 
linux-image-2.6.32-26-virtual_2.6.32-26.48_amd64.deb | grep 
/lib/modules/2.6.32-26-server/modules
-rw-r--r-- root/root        69 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.ccwmap
-rw-r--r-- root/root       218 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.inputmap
-rw-r--r-- root/root       127 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.seriomap
-rw-r--r-- root/root     99803 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.symbols.bin
-rw-r--r-- root/root        74 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.ofmap
-rw-r--r-- root/root     31494 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.pcimap
-rw-r--r-- root/root     55937 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.usbmap
-rw-r--r-- root/root     48394 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.alias
-rw-r--r-- root/root     40433 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.dep
-rw-r--r-- root/root        73 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.ieee1394map
-rw-r--r-- root/root     56843 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.alias.bin
-rw-r--r-- root/root     79757 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.symbols
-rw-r--r-- root/root       312 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.isapnpmap
-rw-r--r-- root/root     63645 2010-11-24 11:15 
./lib/modules/2.6.32-26-server/modules.dep.bin
r...@dev01:/var/cache/apt/archives# 

The expected behavior would be for these files to either not be included
(matching the behavior of linux-image-server), or if they're needed for
some particular reason in linux-image-virtual, to be marked as conffiles
so that debsums doesn't complain.  The workaround is to use the linux-
image-server package instead.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/686087

Title:
  linux-image-virtual includes generated module maps

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to