Closed
Description
System information
Type | Version/Name |
---|---|
Distribution Name | Arch Linux |
Distribution Version | rolling |
Kernel Version | 6.6.31 |
Architecture | amd64 |
OpenZFS Version | 2.2.4 |
Describe the problem you're observing
It seems like the dkms build leaves some empty folder tree in /usr/lib/modules/6.6.31-2-lts/build/module
behind. I'm not sure if this is an OpenZFS bug or rather an ArchZFS one. But as far as I know they don't do something special with dkms over on ArchZFS. Maybe it could be a problem with dkms itself? In my case this looks something like that (no folder actually contains any files):
/usr/lib/modules/6.6.31-2-lts/build/module# ls
insgesamt 13K
drwxr-xr-x 3 root root 3 23. Mai 18:23 avl
drwxr-xr-x 12 root root 12 23. Mai 18:23 icp
drwxr-xr-x 3 root root 3 23. Mai 18:23 lua
drwxr-xr-x 3 root root 3 23. Mai 18:23 nvpair
drwxr-xr-x 4 root root 4 23. Mai 18:23 os
drwxr-xr-x 3 root root 3 23. Mai 18:23 unicode
drwxr-xr-x 3 root root 3 23. Mai 18:23 zcommon
drwxr-xr-x 3 root root 3 23. Mai 18:23 zfs
drwxr-xr-x 4 root root 4 23. Mai 18:23 zstd
This has the unwanted side effect that the package manager won't remove old directories under /usr/lib/modules
on kernel updates.
Describe how to reproduce the problem
Build the zfs kernel module via dkms.
Include any warning/errors/backtraces from the system logs
Unfortunately there are none.