投稿

11月, 2022の投稿を表示しています

FreeBSDでxfce4とglobal menuを使うときのmachine-idが要求されるメッセージについて(dbus起動設定漏れ)

この記事は  時々FreeBSDでGUI環境を作るときにdbus未起動起因のエラーに遭遇することがあるため、備忘録がてら書いたもの。 状況 ===== Message from xfce4-appmenu-plugin-0.7.6: -- When using the panel appmenu as an XFCE menu applet, you have to configure the appmenu to show in the panel applet, rather than on each individual window. This configuration should remove any 'double' menus you may experience: # xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true # xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true This configuration will load the appmenu-gtk-module for XFCE: # xfconf-query -c xsettings -p /Gtk/Modules -n -t string -s "appmenu-gtk-module" 上記をなぞっている時のエラーメッセージとして次のメッセージが出たことがある。 (LANG=Cなどの場合) Failed to init libxfconf: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/lib/dbus/machine-id”: No such file or directory. (LANG=ja_JP.UTF-8) libxfconf の初期化に失敗しました: machine-i...

UEFIブートするFreeBSDでloader.efiやgptboot|gptzfsbootを更新する〜2022/11/01のFreeBSD Errata Noticeより〜

freebsd-update fetch installなどによりアップデートを行った後は、ほとんどの場合、再起動するぐらいで特に注意することがない事の多い近年だが、久し振りに注意が必要なものがあったので、記録がてら書いておく。 2022年11月01日に公表されたErrata Notices FreeBSD-EN-22:27.loader FreeBSD-EN-22:26.cam FreeBSD-EN-22:25.tcp FreeBSD-EN-22:24.zfs FreeBSD-EN-22:23.vm FreeBSD-EN-22:22.tzdata FreeBSD-EN-22:21.zfs このうち、FreeBSD-EN-22:27.loaderのものが注意が必要なのだが、今回はV. Solutionの Upgrade your system to a supported FreeBSD ... の文を読まないままrebootを行ってしまうとちょっとした対処が必要になる。(ここでは書かない) 引用ここから〜〜〜 V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. The UEFI system partition will need to be updated with the new loader.efi. Perform one of the following: 1) To update your system via a binary patch: Systems running a RELEASE version of FreeBSD on the amd64, i386, or (on FreeBSD 13 and later) arm64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install 〜〜〜引用ここまで ※2) To u...