ports/187922: zfs-snapshot-mgmt-20090201_2 stopped working with FreeBSD10

Matthias Fechner idefix at fechner.net
Tue Mar 25 08:40:01 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list