Created attachment 257306 [details] Add a proper REQUIRE line in the rc script If we add 'swtpm_enable="YES"' in /etc/rc.conf*, it fails to start with this error: Starting SWTPM config tpm ...ld-elf.so.1: Shared object "libfuse.so.2" not found, required by "swtpm" This is because /usr/local/etc/rc.d/swtpm does not have proper "REQUIRE" line.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9177e2323609c643911ad16c482dc5791797e790 commit 9177e2323609c643911ad16c482dc5791797e790 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2025-02-07 23:39:50 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2025-02-07 23:39:50 +0000 sysutils/swtpm: Fix incorrect rcorder requirement If we add 'swtpm_enable="YES"' in /etc/rc.conf*, it fails to start with this error: Starting SWTPM config tpm ...ld-elf.so.1: Shared object "libfuse.so.2" not found, required by "swtpm" Add a proper "REQUIRE" line in the rc script to fix it. PR: 284626 Approved by: meka@tilda.center (maintainer) sysutils/swtpm/Makefile | 2 +- sysutils/swtpm/files/swtpm.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)