Fixed
Created: Nov 1, 2023
Updated: Jan 22, 2024
Resolved Date: Jan 21, 2024
Found In Version: 10.19.45.29
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Build & Config, Userspace
When running the crm_mon utlity (part of the pacemaker package), we get the following message:
*Defaulting to one-shot mode*
You need to have curses available at compile time to enable console mode
Looking at the pacemaker package and its config.log, curses is available and found at build time:
config.log:#define HAVE_LIBNCURSES 1
include/config.h:#define HAVE_LIBNCURSES 1
Setup a project with --machines qemuarm64 --distro wrlinux-cgl
Add the following to local.conf:
IMAGE_INSTALL_append = " pacemaker"
Build wrlinux-image-std and start qemu with:
$ runqemu nogrpahic
On the target:
$ crm_mon
Defaulting to one-shot mode
You need to have curses available at compile time to enable console mode
Note that the customer is using other packages along with pacemaker that make the output of this tool useful, however, they are not necessary to reproduce the issue.