Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 09:34:22 +0100 (CET)
From:      Matthias Fechner <idefix@fechner.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187922: zfs-snapshot-mgmt-20090201_2 stopped working with FreeBSD10
Message-ID:  <20140325083422.0BB4270B93@server.idefix.lan>
Resent-Message-ID: <201403250840.s2P8e0h6045215@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187922
>Category:       ports
>Synopsis:       zfs-snapshot-mgmt-20090201_2 stopped working with FreeBSD10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 08:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Fechner
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD server.idefix.lan 10.0-STABLE FreeBSD 10.0-STABLE #11 r263665: Sun Mar 23 21:08:06 CET 2014 root@server.idefix.lan:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	The zfs-snapshot tool is called from crontab every five minutes:
        */5 * * * *   root   /usr/local/bin/zfs-snapshot-mgmt
        Every call causes the error message:
        /usr/local/bin/zfs-snapshot-mgmt:130:in `join': can't convert 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>'

>How-To-Repeat:
	Just install on FreeBSD 10-stable or release and wait till it is called from crontab or execute it manually with:
        /usr/local/bin/zfs-snapshot-mgmt

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140325083422.0BB4270B93>