Date: Tue, 15 Sep 2015 04:01:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203115] sysutils/zfstools Divide-by-zero in zfs-auto-snapshot when no snapshots exist. Message-ID: <bug-203115-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203115 Bug ID: 203115 Summary: sysutils/zfstools Divide-by-zero in zfs-auto-snapshot when no snapshots exist. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: bdrewery@FreeBSD.org Reporter: draenan@gmail.com Assignee: bdrewery@FreeBSD.org Flags: maintainer-feedback?(bdrewery@FreeBSD.org) When running zfs-auto-snapshot: $ sudo /usr/local/sbin/zfs-auto-snapshot weekly 4 /usr/local/lib/ruby/site_ruby/2.1/zfstools/snapshot.rb:118:in `/': divided by 0 (ZeroDivisionError) from /usr/local/lib/ruby/site_ruby/2.1/zfstools/snapshot.rb:118:in `create_many' from /usr/local/lib/ruby/site_ruby/2.1/zfstools.rb:152:in `do_new_snapshots' from /usr/local/sbin/zfs-auto-snapshot:68:in `<main>' $ Initially I thought that this was because I was running it on a test system, however I also tried creating some snapshots ("zfs snapshot -r zroot@zfs-auto-snap_weekly-2015-09-13-00h00") and "zfs-auto-snapshot weekly 4" still failed with the above error. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203115-13>