zfsonlinux / pkg-zfs

Native ZFS packaging for Debian and Ubuntu
https://launchpad.net/~zfs-native/+archive/daily
308 stars 55 forks source link

Debian: zfs-initramfs should depend on busybox #158

Closed dsanader closed 9 years ago

dsanader commented 9 years ago

The ZFS initrd scripts rely on various binaries provided by BusyBox (eg. grep), but the zfs-initramfs package doesn't depend on it. This leads to avoidable fallbacks to the rescue shell when busybox is not installed :

Begin: Running /scripts/local-top ... Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
/init: 382: /init: grep: not found
Begin: Sleeping for 0 seconds... ... Begin: Sleeping for 0 seconds... ... /init: 453: /init: grep: not found
/init: 481: /init: sed: not found
Begin: Importing ZFS root pool 'tank' ... /init: 114: [: yes: unexpected operator
FransUrbo commented 9 years ago

Nice catch! I've fixed this in version 0.6.4-20-16421a for both the Wheezy and Jessie packages. As soon as we create a new ZoL version, I'll update the released packages as well.

dsanader commented 9 years ago

Thanks for the quick review. Regards.

FransUrbo commented 9 years ago

I've now fixed this in the 0.6.4-1.2-1 packages as well, so I consider this fully fixed and closed.