Bug 253418 - sysutils/zxfer: 'objsetid' is readonly
Summary: sysutils/zxfer: 'objsetid' is readonly
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 21:55 UTC by dougs@dawnsign.com
Modified: 2021-02-11 21:53 UTC (History)
2 users (show)

See Also:
allanjude: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dougs@dawnsign.com 2021-02-10 21:55:08 UTC
# zxfer -dFkPv -g 376 -T root@backup.example.com -R tank zdata/home/install/squid
Checking grandfather status of all snapshots marked for deletion...
Grandfather check passed.
Creating destination filesystem "zdata/home/install/squid/tank" with specified properties.
cannot create 'zdata/home/install/squid/tank': 'objsetid' is readonly
Error when creating destination filesystem.
# pkg version -v | g zxfer
zxfer-1.1.7                        =   up-to-date with index
# locate zxfer
/usr/ports/sysutils/zxfer
/usr/ports/sysutils/zxfer/Makefile
/usr/ports/sysutils/zxfer/distinfo
/usr/ports/sysutils/zxfer/pkg-descr
# ll /usr/local/sbin/ | g zxfer
-r-xr-xr-x  1 root  wheel      80144 Feb 10 12:39 zxfer
#  uname -a
FreeBSD squid.example.com 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 GENERIC  amd64
#

Installed from ports.

Not sure why this error is happening. I see a reference in Jude's Github that this has been fixed but this still occurs.
Comment 1 dougs@dawnsign.com 2021-02-11 20:39:08 UTC
I added 'objsetid' to the list of readonly properties as follows:

readonly_properties="type,creation,used,available,referenced,\
compressratio,mounted,version,primarycache,secondarycache,\
usedbysnapshots,usedbydataset,usedbychildren,usedbyrefreservation,\
version,volsize,mountpoint,mlslabel,keysource,keystatus,rekeydate,encryption,\
refcompressratio,written,logicalused,logicalreferenced,createtxg,guid,origin,\
filesystem_count,snapshot_count,clones,defer_destroy,receive_resume_token,\
userrefs,objsetid"

zxfer no longer complains and happily proceeds to transfer zfs snapshots remotely.

The zxfer port should be updated with this minor addition.

~Doug
Comment 2 Allan Jude freebsd_committer 2021-02-11 21:53:20 UTC
Maintainer approves