Created attachment 189643 [details] One-line patch for rc.d/dbus startup script to create /var/lib/dbus directory. MFS /var filesystem created by FreeBSD 11 startup scripts doesn't include /var/lib/dbus directory, and `dbus-uuidgen --ensure` command fails.
ping!
Wouldn't it be better to consolidate the dbus machine-id problem in one place? :) Bug 228001, Bug 247175.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=83d457310ed3c234b2f4ea5b4d18a00301bc0c09 commit 83d457310ed3c234b2f4ea5b4d18a00301bc0c09 Author: Andrey Zakharchenko <mc@jscc.ru> AuthorDate: 2021-07-01 21:15:51 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-07-01 22:16:26 +0000 devel/dbus: create directory for machine-id Create the directory where dbus-uuidgen is *going* to write the machine-id, just in case -- might affect only older FreeBSD versions. dbus-uuidgen doesn't create intermediate directories when given an explicit path either, so it does need to be done by the environment. (I'm purposely **not** also tackling other dbus-uuidgen issues, those are in different PRs with different assignees) PR: 225098 Reported by: Andrey Zakharchenko devel/dbus/Makefile | 2 +- devel/dbus/files/dbus.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)