Hi,

This is a review request for:

http://defect.opensolaris.org/bz/show_bug.cgi?id=4644

which is a stopper for opensolaris 2008.11

The fix for this bug is to modify the core service and have it tag swap 
and dump type zfs volumes.
This is a backport of the same fix that has been included in the 
mercurial repository for zfs-snapshot

Diff is attached.


Thanks,
Niall.

Spec file diff:

+
Index: core/SUNWzfs-auto-snapshot.spec
===================================================================
--- core/SUNWzfs-auto-snapshot.spec    (revision 457)
+++ core/SUNWzfs-auto-snapshot.spec    (working copy)
@@ -18,6 +18,8 @@
 Version:                 0.11.2
 Source:                     
http://dlc.sun.com/osol/jds/downloads/extras/time-slider/zfs-snapshot-%{version}.tar.bz2
 Patch1:                   
zfs-auto-snapshot-01-zfssnap-role.diff                 
+# date:2008-11-10 owner:niall type:bug bugzilla:4644
+Patch2:                   zfs-auto-snapshot-02-no-swap-dump.diff
 SUNW_BaseDir:            /
 SUNW_Copyright:          %{name}.copyright
 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
@@ -29,6 +31,7 @@
 %prep
 %setup -q -n zfs-snapshot-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 
@@ -67,6 +70,8 @@
 %config %class (rbac) %attr (0644, root, sys) /etc/security/auth_attr
 
 %changelog
+* Mon Nov 10 2008 - niall.power at sun.com
+- Add patch to disable swap and dump snapshotting
 * Wed Oct 08 2008 - niall.power at sun.com
 - Bump to 0.11.1 source tarball to fix SMF import issues.
 * Tue Sep 23 2008 - niall.power at sun.com


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zfs-auto-snapshot-02-no-swap-dump.diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20081110/8a1dfba4/attachment.ksh>

Reply via email to