Port: freebsd-snapshot The snapshot command checks whether zfs is enabled on a system. It does so by looking only at /etc/rc.conf. If zfs is configured in /etc/rc.conf.d/zfs, the snapshot command does not know about it, and behaves as zfs was disabled. Consequently snapshots of zfs filesystems can not be managed with the command, although zfs is enabled and running. Fix: The snapshot command should also source zfs config with "load_rc_config zfs". Patch attached with submission follows: How-To-Repeat: Assuming you have zfs_enable="YES" in /etc/rc.conf and "snapshot list" shows zfs snapshots: move the zfs_enable setting to /etc/rc.conf.d/zfs and run "snapshot list" again. No zfs snapshots will show up any more.
Maintainer of sysutils/freebsd-snapshot, Please note that PR ports/141187 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/141187 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
State Changed From-To: feedback->open feedback timeout 1 month 6 days
Responsible Changed From-To: freebsd-ports-bugs->pgollucci I'll take it.
pgollucci 2010-01-14 23:16:08 UTC FreeBSD ports repository Modified files: sysutils/freebsd-snapshot Makefile sysutils/freebsd-snapshot/files patch-snapshot Log: - Use the RC system correct PR: ports/141187 Submitted by: Anselm Strauss <amsibamsi@gmail.com> Approved by: maintainer timeout (1 month 6 days) Revision Changes Path 1.11 +1 -0 ports/sysutils/freebsd-snapshot/Makefile 1.5 +13 -5 ports/sysutils/freebsd-snapshot/files/patch-snapshot _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!