Created attachment 220718 [details] patch for 221.backup-gpart Since gpart_devs is not quoted, if daily_backup_gpart_exclude matches something, gpart_devs will be empty.
I'll pick this up
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=93900fc697992f893e2e69dce0c2f67b1f66a774 commit 93900fc697992f893e2e69dce0c2f67b1f66a774 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2020-12-27 00:24:18 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2020-12-27 00:27:12 +0000 Fix daily_backup_gpart_exclude in periodic daily 221.backup-gpart Since gpart_devs was not quoted (losing embedded newlines), if daily_backup_gpart_exclude matched something, gpart_devs was empty. PR: 251961 Submitted by: Kan Sasaki MFC after: 1 week usr.sbin/periodic/etc/daily/221.backup-gpart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=25e00a2894ea4ea2cbe64f25d9f3d99b60d1ea32 commit 25e00a2894ea4ea2cbe64f25d9f3d99b60d1ea32 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2020-12-27 00:24:18 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-01-04 18:47:46 +0000 Fix daily_backup_gpart_exclude in periodic daily 221.backup-gpart Since gpart_devs was not quoted (losing embedded newlines), if daily_backup_gpart_exclude matched something, gpart_devs was empty. PR: 251961 Submitted by: Kan Sasaki (cherry picked from commit 93900fc697992f893e2e69dce0c2f67b1f66a774) usr.sbin/periodic/etc/daily/221.backup-gpart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed in main and stable/12 now, thank you for the report and fix!