Bug 204389

Summary: sysutils/zfs-snapshot-mgmt: Snapshot creation successul, Rule based destroy fails (TypeError)
Product: Ports & Packages Reporter: James Lodge <james>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: max, miwi
Priority: --- Keywords: needs-patch, needs-qa
Version: Latest   
Hardware: amd64   
OS: Any   

Description James Lodge 2015-11-09 09:39:13 UTC
10.2-RELEASE-p7 

autp prefixed snapshots being created, but rule based destroy not workings. Running /usr/local/bin/zfs-snapshot-mgmt manually results in 


/usr/local/bin/zfs-snapshot-mgmt:130:in `join': no implicit conversion of nil into String (TypeError)
        from /usr/local/bin/zfs-snapshot-mgmt:130:in `snapshots'
        from /usr/local/bin/zfs-snapshot-mgmt:137:in `snapshots_to_remove'
        from /usr/local/bin/zfs-snapshot-mgmt:145:in `remove_snapshots'
        from /usr/local/bin/zfs-snapshot-mgmt:213:in `block in <main>'
        from /usr/local/bin/zfs-snapshot-mgmt:210:in `each'
        from /usr/local/bin/zfs-snapshot-mgmt:210:in `<main
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-10 08:37:59 UTC
@James, as this port is currently unmaintained, you may want to contact the upstream author to report the issue:

http://marcin.studio4plus.com/en/zfs-file-history/files.html

The author points on that page to another external author/repository which apparently has some bugs fixed, so you may also want to try that and report back.
Comment 2 max 2017-09-21 01:08:04 UTC
Sorry to warm this up, but

Did anybody find a fix for this?
Comment 3 max 2017-09-21 01:18:54 UTC
(In reply to max from comment #2)

To answer that myself:

https://github.com/db48x/zsnap