[Pkg-xen-devel] Bug#694429: Bug#694429: blktap-dkms: unowned files after purge (policy 6.8, 10.8): /lib/modules/$KVERS/kernel/

Thomas Goirand zigo at debian.org
Tue Nov 27 18:23:08 UTC 2012


On 11/26/2012 08:19 PM, Andreas Beckmann wrote:
> Package: blktap-dkms
> Version: 2.0.91-1
> Severity: important
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> 
> Hi,
> [...]
> I recently patched dkms to (try to) remove the directories it created in
> /lib/modules/*/ to install the kernel modules. This works fine for all
> packages except blktap-dkms which uses
>   DEST_MODULE_LOCATION="/kernel/../extra/"
> in its dkms.conf, while all other -dkms packages use a path without a
> '..' component. 
> The "extra" directory gets cleaned up, but the "kernel" directory is
> not, and I don't want to enhance dkms to handle '..' in these paths.
> 
> Please change this to
> 
>   DEST_MODULE_LOCATION="/extra"
> 
> (although I would prefer DEST_MODULE_LOCATION="/updates/dkms", but I'm
> afraid dkms wouldn't handle this as a smooth transition)

Hi Andreas,

Thanks a lot for this very cool QA work.

Do I understand well that all I need to do to fix the issue, is this?

--- dkms.conf.orig	2012-11-27 19:17:43.000000000 +0000
+++ dkms.conf	2012-11-27 19:17:59.000000000 +0000
@@ -4,4 +4,4 @@
 MAKE="make -C ${kernel_source_dir}
M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
 AUTOINSTALL="yes"
 BUILT_MODULE_NAME="blktap"
-DEST_MODULE_LOCATION="/kernel/../extra/"
+DEST_MODULE_LOCATION="/extra"

If so, that's easy enough, and I can try to get this fixed before Wheezy
is out.

Let me know,
Cheers,

Thomas



More information about the Pkg-xen-devel mailing list