FreeBSD Bugzilla – Attachment 188452 Details for
Bug 223951
sysutils/zfsnap tries to delete pool when removing snapshots on pool that running scrub with -s/-S enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
revised patch
patch.txt (text/plain), 1.53 KB, created by
Anton Saietskii
on 2017-12-01 17:06:04 UTC
(
hide
)
Description:
revised patch
Filename:
MIME Type:
Creator:
Anton Saietskii
Created:
2017-12-01 17:06:04 UTC
Size:
1.53 KB
patch
obsolete
>Index: /usr/ports/sysutils/zfsnap/Makefile >=================================================================== >--- /usr/ports/sysutils/zfsnap/Makefile (revision 455244) >+++ /usr/ports/sysutils/zfsnap/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= zfsnap > PORTVERSION= 1.11.1 >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > CATEGORIES= sysutils > >@@ -15,7 +16,7 @@ > PERIODICDIR?= ${PREFIX}/etc/periodic > PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" > >-do-patch: >+post-patch: > .for period in hourly daily weekly monthly reboot > @${SED} -e "s/xPERIODICx/${period}/g" -e "s#xPREFIXx#${PREFIX}/sbin#g" ${WRKSRC}/xPERIODICx_zfSnap.sh > ${WRKSRC}/${period}_zfSnap.sh > .endfor >Index: /usr/ports/sysutils/zfsnap/files/patch-zfSnap.sh >=================================================================== >--- /usr/ports/sysutils/zfsnap/files/patch-zfSnap.sh (nonexistent) >+++ /usr/ports/sysutils/zfsnap/files/patch-zfSnap.sh (working copy) >@@ -0,0 +1,10 @@ >+--- zfSnap.sh.orig 2017-12-01 17:00:22 UTC >++++ zfSnap.sh >+@@ -199,6 +199,7 @@ rm_zfs_snapshot() { >+ } >+ >+ skip_pool() { >++ local i >+ # more like skip pool??? >+ if is_true $scrub_skip; then >+ for i in $scrub_pools; do > >Property changes on: /usr/ports/sysutils/zfsnap/files/patch-zfSnap.sh >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
vsasjason
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 223951
:
188378
| 188452