Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu
This proposed update fixes three problems that may cause boot errors when zfsutils is installed: * Set "X-Start-Before: checkroot" so that boot doesn't break when fstab relies on ZFS volumes. (Closes: #635627) * Do not mount/unmount filesystems! This may result in unbootable system if their mountpoints collide (typical in a dual-boot machine). Use /etc/fstab instead. * Set "X-Stop-After: umountfs" to ensure ZVOLs are no longer in use when "zfs volfini" is called. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 8.2-1-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Index: debian/zfsutils.zfs.init =================================================================== --- debian/zfsutils.zfs.init (revision 3674) +++ debian/zfsutils.zfs.init (working copy) @@ -3,6 +3,8 @@ # Provides: zvol zfs # Required-Start: # Required-Stop: +# X-Start-Before: checkroot +# X-Stop-After: umountfs # Default-Start: S # Default-Stop: 0 6 # Short-Description: Start/stop ZFS subsystem. @@ -41,15 +43,6 @@ esac done - # filesystems - log_progress_msg "filesystems" - zfs mount -a - RET=$? - if [ $RET != 0 ] ; then - log_end_msg $RET - exit $RET - fi - # end log_end_msg 0 } @@ -82,21 +75,6 @@ exit $RET fi - # filesystems - log_progress_msg "filesystems" - zfs unshare -a - RET=$? - if [ $RET != 0 ] ; then - log_end_msg $RET - exit $RET - fi - zfs umount -a - RET=$? - if [ $RET != 0 ] ; then - log_end_msg $RET - exit $RET - fi - # end log_end_msg 0 } Index: debian/changelog =================================================================== --- debian/changelog (revision 3674) +++ debian/changelog (working copy) @@ -1,3 +1,15 @@ +zfsutils (8.1-5) unstable; urgency=low + + * Set "X-Start-Before: checkroot" so that boot doesn't break when + fstab relies on ZFS volumes. (Closes: #635627) + * Do not mount/unmount filesystems! This may result in unbootable + system if their mountpoints collide (typical in a dual-boot + machine). Use /etc/fstab instead. + * Set "X-Stop-After: umountfs" to ensure ZVOLs are no longer in use + when "zfs volfini" is called. + + -- Robert Millan <r...@debian.org> Sun, 07 Aug 2011 20:31:55 +0000 + zfsutils (8.1-4) unstable; urgency=low * Create a /boot/zfs/ directory in zfsutils-udeb, so that zpool.cache