There are some relative symbolic links in /usr/bin, and a single one with an absolute symbolic link. find /usr/bin/ -type l -ls | egrep -- ' -> /' 21538 1 lrwxr-xr-x 1 root wheel 16 Dec 9 2023 /usr/bin/zstreamdump -> /usr/bin/zstream I think that "zstreamdump" should point to "zstream" and not to "/usr/bin/zstream" see cddl/usr.bin/zstream/Makefile:SYMLINKS= ${BINDIR}/zstream ${BINDIR}/zstreamdump
Yes, I agree. Will you update it?
(In reply to Ed Maste from comment #1) zfs is an external software. I am not familiar with maintaining external software in the FreeBSD src tree, I would prefer someone else to fix the problem.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=01a5af6a98fc3935b57a5b0616521f46e916caec commit 01a5af6a98fc3935b57a5b0616521f46e916caec Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2024-10-21 17:15:46 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-10-26 12:53:16 +0000 zstream: avoid absolute symlink PR: 282192 Reported by: wosch Fixes: 44877c8db05b Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47226 cddl/usr.bin/zstream/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=915d84fbba276e2ceac64ff42d3baa7da51cba6a commit 915d84fbba276e2ceac64ff42d3baa7da51cba6a Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2024-10-21 17:15:46 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-10-29 20:33:26 +0000 zstream: avoid absolute symlink PR: 282192 Reported by: wosch Fixes: 44877c8db05b Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47226 (cherry picked from commit 01a5af6a98fc3935b57a5b0616521f46e916caec) cddl/usr.bin/zstream/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)