[Pkg-zfsonlinux-devel] Sync Debian and Ubuntu packages?

Richard Laager rlaager at wiktel.com
Mon Apr 18 17:42:50 UTC 2016


On 04/16/2016 12:35 AM, Petter Reinholdtsen wrote:
> [Richard Laager]
>> Personally, I would definitely like to see the packages merged to the
>> extent possible. An Ubuntu developer recently expressed that a merge
>> from Debian is long overdue for spl, so I assume they're generally
>> interested in reducing the delta too.
>
> So, what can you and I do to help make this happen?

Ubuntu is currently frozen for a release next week. So nothing much is 
going to happen there immediately. But once the release is done, work 
will start on the next release, and that'd be a good time to get this done.

The changes I submitted to Ubuntu are probably good to be accepted into 
Debian as well, so that might be a useful starting point for you. These 
are from debian/changelog in reverse chronological order, so when 
applying, you want to work bottom-up.

https://launchpadlibrarian.net/253505533/zfs-scheduler.debdiff.2
https://launchpadlibrarian.net/241029530/zfs-linux.scrub.debdiff.2
https://launchpadlibrarian.net/240968671/zfs-linux.zed.debdiff.2
https://github.com/zfsonlinux/pkg-zfs/commit/50f30514c35d2ba2d915e0b327932b260eecce09
https://github.com/zfsonlinux/pkg-zfs/pull/140/commits/d3cab97ca061fac828a59cf5c3dda42c570fb454

* zfs-initramfs: Set elevator=noop on disks used by the root pool.
   (LP: #1550301)
* Scrub all healthy pools monthly (LP: #1548009)
* Make zed work out-of-the box (LP: #1547549)
   - zfs-zed: Install zed-functions.sh so scriptlets work
   - zfs-zed: Enable most scriptlets on a fresh install.
   - zfs-zed: Email root by default.
* zfs-initramfs: Re-architect initramfs script
   - Require root=ZFS= syntax.  rpool= and bootfs= are no longer
     supported.
   - Honor Debian standard rootdelay= kernel command-line option instead
     of ZFS_INITRD_PRE_MOUNTROOT_SLEEP.
   - Use standard panic function, which honors the Debian standard panic=
     kernel command-line option.
   - Stop force importing the pool.
   - Add debian/zfs-initramfs.postinst to apply udev rules without a
     reboot
   - Update 60-zpool.rules to match on partition type to trigger on the
     initial pool creation.
* zfs-initramfs: Support GRUB's native root=ZFS= (LP: #1530953)
   - from https://github.com/zfsonlinux/pkg-zfs/pull/140

I would suggest NOT accepting the udev rule changes. Instead, now that 
0.6.5.6 has been released, you want this in GRUB:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/comments/22

-- 
Richard



More information about the Pkg-zfsonlinux-devel mailing list