View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004351 | Kali Linux | [All Projects] Kali Package Bug | public | 2017-11-15 05:00 | 2017-11-16 11:18 |
| Reporter | PatchMonkey156 | Assigned To | rhertzog | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2017.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0004351: ZFS-dkms (0.6.5.11) has a version mismatch with dedicated dependency SPL-dkms (0.7.3) | ||||
| Description | As a result, installing the package zfs-dkms produces a build error: configure: error: *** Please make sure the kmod spl devel package for your distribution *** is installed then try again. If that fails you can specify the *** location of the spl source with the '--with-spl=PATH' option. Error! Bad return status for module build on kernel: 4.13.0-kali1-amd64 (x86_64) Consult /var/lib/dkms/zfs/0.6.5.11/build/make.log for more information. APT then treats the package zfs-dkms as though it is properly installed, but lacking any content. | ||||
| Steps To Reproduce | apt install zfs-dkms || apt install zfs-zed as the version numbers do not match, manually building the zfs-dkms package never takes off. Beginning the process with './configure--with-spl=${kernel}/extra/splat' just yields the same build error. | ||||
| Additional Information | Long time zfs user. spl and zfs versions must match, or this error happens. (spl - Solaris Porting Layer, due to be merged into the zfs module by v0.8? until recently, it was due by v,0.7) /var/lib/dkms/zfs/0.6.5.11/build/make.log only lists a missing makefile. WORKAROUNDS (exhaustive?): -Manually downgrade to spl-dkms-0.6.5.11, the matching version, and hold it until zfs-dkms updates. This makes upgrading any software on the distro *very* tedious. -Maintain both outside of package management. -Discontinue use of the Zettabyte File System before updating. -Build matching zfs-dkms package yourself, or pull it from kali-dev. Note that failure to employ any of these workarounds on a system with a zfs storage pool will result in failure to access that pool until a workaround is sufficiently implemented. ************************************** Further Note that if such a zfs storage pool is the root filesystem, 'apt update && apt upgrade -y' is sufficient to render *ALL KERNELS* incapable of reading the root filesystem. RECOMMENDATION: Mask spl-dkms-0.7.3 until zfs-dkms can match in the kali-rolling repo. | ||||
|
|
zfs.apt.log (3,850 bytes) |
|
|
apt install spl-dkms=0.6.5.11 -> E: Version '0.6.5.11' for 'spl-dkms' was not found This error breaks the entire filesystem. Recommend reverting spl-dkms to 0.6.5.11 in the repo until matching zfs-dkms, zfs-zed, zfs-initramfs/zfs-dracut packages catch up to 0.7.3 from 0.6.5.11 |
|
|
The updated zfs-linux is stuck in Debian Unstable due to this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880902 I will import it from there for now. But you might get upgrade problems. |
|
|
New version will be in kali-rolling in a few hours. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-11-15 05:00 | PatchMonkey156 | New Issue | |
| 2017-11-15 05:00 | PatchMonkey156 | File Added: zfs.apt.log | |
| 2017-11-15 14:54 | PatchMonkey156 | Note Added: 0007599 | |
| 2017-11-16 11:14 | rhertzog | Note Added: 0007600 | |
| 2017-11-16 11:18 | rhertzog | Assigned To | => rhertzog |
| 2017-11-16 11:18 | rhertzog | Status | new => closed |
| 2017-11-16 11:18 | rhertzog | Resolution | open => fixed |
| 2017-11-16 11:18 | rhertzog | Note Added: 0007601 |