Summary: | bectl should prevent creating BEs with unbootable names | ||
---|---|---|---|
Product: | Base System | Reporter: | probono |
Component: | bin | Assignee: | Robert Wing <rew> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | emaste, grahamperrin, kevans, lwhsu, rew, vermaden |
Priority: | --- | ||
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D30194 |
Description
probono
2021-03-20 19:41:31 UTC
Context: <https://github.com/helloSystem/Utilities/issues/33#issuecomment-803451767> Please provide output from these two commands: bectl -c creation -s bectl -s (In reply to Graham Perrin from comment #1) Sorry, these four: bectl list -c creation bectl list -c creation -s beadm list beadm list -s A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0e6549c8745049e3d6fba3ad748034de2d5cbd2a commit 0e6549c8745049e3d6fba3ad748034de2d5cbd2a Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2021-06-03 16:36:11 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2021-06-03 16:36:11 +0000 bectl(8): don't allow creation of boot environments with spaces Boot environment datasets that contain spaces are not bootable. When a user attempts to create a boot environment with a space, abort the creation and print an error message. PR: 254441 Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D30194 sbin/bectl/bectl.c | 9 ++++++++- sbin/bectl/tests/bectl_test.sh | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=01cf73198d1e0b3d00f9bb75027e75327c2c5b9b commit 01cf73198d1e0b3d00f9bb75027e75327c2c5b9b Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2021-06-03 16:36:11 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2021-06-11 17:28:41 +0000 bectl(8): don't allow creation of boot environments with spaces Boot environment datasets that contain spaces are not bootable. When a user attempts to create a boot environment with a space, abort the creation and print an error message. PR: 254441 Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D30194 (cherry picked from commit 0e6549c8745049e3d6fba3ad748034de2d5cbd2a) sbin/bectl/bectl.c | 9 ++++++++- sbin/bectl/tests/bectl_test.sh | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e1dfdff10967d294f8c9acb22812380901be3f80 commit e1dfdff10967d294f8c9acb22812380901be3f80 Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2021-06-03 16:36:11 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2021-06-11 17:41:51 +0000 bectl(8): don't allow creation of boot environments with spaces Boot environment datasets that contain spaces are not bootable. When a user attempts to create a boot environment with a space, abort the creation and print an error message. PR: 254441 Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D30194 (cherry picked from commit 0e6549c8745049e3d6fba3ad748034de2d5cbd2a) sbin/bectl/bectl.c | 9 ++++++++- sbin/bectl/tests/bectl_test.sh | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) |