ignore zfs-import-scan errors

zpool import return error if we have no zfs pools. We want to ignore that.
This commit is contained in:
Dietmar Maurer 2015-03-31 17:54:03 +02:00
parent 09b78d33bc
commit 10b48f6191
4 changed files with 18 additions and 1 deletions

View File

@ -3,7 +3,7 @@ RELEASE=4.0
# source form https://github.com/zfsonlinux/
ZFSVER=0.6.3-1.2
ZFSPKGREL=pve2~jessie
ZFSPKGREL=pve3~jessie
SPLPKGREL=pve1~jessie
ZFSPKGVER=0.6.3-${ZFSPKGREL}
SPLPKGVER=0.6.3-${SPLPKGREL}

View File

@ -1,3 +1,9 @@
zfs-linux (0.6.3-pve3~jessie) unstable; urgency=medium
* ignore zfs-import-scan errors
-- Proxmox Support Team <support@proxmox.com> Tue, 31 Mar 2015 17:52:40 +0200
zfs-linux (0.6.3-pve2~jessie) unstable; urgency=medium
* use systemd for service startup

View File

@ -0,0 +1,10 @@
Index: new/etc/systemd/system/zfs-import-scan.service.in
===================================================================
--- new.orig/etc/systemd/system/zfs-import-scan.service.in
+++ new/etc/systemd/system/zfs-import-scan.service.in
@@ -8,4 +8,4 @@ ConditionPathExists=!@sysconfdir@/zfs/zp
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@sbindir@/zpool import -d /dev/disk/by-id -aN
+ExecStart=-@sbindir@/zpool import -d /dev/disk/by-id -aN

View File

@ -2,3 +2,4 @@
0002-Check-for-META-and-DCH-consistency-in-autoconf.patch
0003-Add-libuutil-to-LIBADD-for-libzfs-and-libzfs_core.patch
0005-vdev_id-use-mawk-compatible-regular-expression.patch
ignore-zfs-import-error.patch