[Pkg-zfsonlinux-devel] Bug#826994: Updated Patch

Chris Dos chris at chrisdos.com
Wed Dec 6 21:26:17 UTC 2017


I've modified the diff to patch against 0.7.3-3 and it patches fine.  I also applied a fix for the zed binary location.  The /etc/zfs/zfs-functions was
looking for it in /sbin when it was actually in /usr/sbin.  I googled but could not find what the equivalent @sbindir@ for /usr/sbin would be so I just hard
coded /usr/sbin/zed.  The /etc/init.d/zfs-zed init script now starts zed just fine.

The patch compiles against Sid without problems and it seems to boot fine.

However, the base 0.7.3-3 package won't compile on Jessie so I cannot even test the patch.
I receive an error about missing files:

Error:
chmod a-x /var/temp/sdeb/zfs_0.7.3-3/zfs-linux-0.7.3/debian/tmp/etc/zfs/zfs-functions
chmod a-x /var/temp/sdeb/zfs_0.7.3-3/zfs-linux-0.7.3/debian/tmp/etc/default/zfs
make[1]: Leaving directory '/var/temp/sdeb/zfs_0.7.3-3/zfs-linux-0.7.3'
   debian/rules override_dh_install
make[1]: Entering directory '/var/temp/sdeb/zfs_0.7.3-3/zfs-linux-0.7.3'
find . -name lib*.la -delete
dh_install --fail-missing
dh_install: usr/share/zfs/zfs-helpers.sh exists in debian/tmp but is not installed to anywhere
dh_install: etc/zfs/vdev_id.conf.multipath.example exists in debian/tmp but is not installed to anywhere
dh_install: etc/zfs/vdev_id.conf.sas_direct.example exists in debian/tmp but is not installed to anywhere
dh_install: etc/zfs/vdev_id.conf.alias.example exists in debian/tmp but is not installed to anywhere
dh_install: etc/zfs/vdev_id.conf.sas_switch.example exists in debian/tmp but is not installed to anywhere
dh_install: etc/init.d/zfs-mount exists in debian/tmp but is not installed to anywhere
dh_install: etc/init.d/zfs-zed exists in debian/tmp but is not installed to anywhere
dh_install: etc/init.d/zfs-import exists in debian/tmp but is not installed to anywhere
dh_install: etc/init.d/zfs-share exists in debian/tmp but is not installed to anywhere
dh_install: etc/sudoers.d/zfs exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
debian/rules:175: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory '/var/temp/sdeb/zfs_0.7.3-3/zfs-linux-0.7.3'
debian/rules:34: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

I'm still trying to track down what missing files it is looking for between Jessie and Sid.

    Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysvinit_patch_2_826994.diff
Type: text/x-patch
Size: 2774 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zfsonlinux-devel/attachments/20171206/7dbee978/attachment.bin>


More information about the Pkg-zfsonlinux-devel mailing list