QEMU core-image-minimal cannot login
Hi guys,
I built the core-image-minimal image provided by poky for the QEMU machine (no changes, built as provided). However, I am not able to log in with the root user (getting "Login incorrect" immediately), for more see [1]. Any help is appreciated.
Thanks and cheers.
Aleksandar
[1]
Starting udev
[ 2.900576] udevd[157]: starting version 3.2.10
[ 2.968761] udevd[158]: starting eudev-3.2.10
[ 3.544379] EXT4-fs (vda): re-mounted. Opts: (null). Quota mode: disabled.
INIT: Entering runlevel: 5
Configuring network interfaces... ip: RTNETLINK answers: File exists Starting syslogd/klogd: done
Poky (Yocto Project Reference Distro) 4.0.11 qemux86-64 /dev/ttyS0
qemux86-64 login: root
Login incorrect
qemux86-64 login:
Okay, "debug-tweaks" was not in IMAGE_FEATURES, simply adding that has solved the issue. Shouldn't "debug-tweaks" be in IMAGE_FEATURES by default though?
Quoted 3 lines · Aleksandar Nikolic via lists.yoctoproject.org
Okay, "debug-tweaks" was not in
IMAGE_FEATURES, simply adding that has solved the issue. Shouldn't "debug-tweaks" be inIMAGE_FEATURESby default though?
“Insecure out of the box” is not a great selling point. It’s trivial to opt-in to debug-tweaks but by being a default there’s a strong risk that someone shipped product with it enabled still.
Ross
Sure, sure, no argument there, from some reason I thought it used to be a default behavior, I guess I am wrong. Thanks.
Aleksandar
Quoted 3 lines · Aleksandar Nikolic
Sure, sure, no argument there, from some reason I thought it used to be a default behavior, I guess I am wrong. Thanks.
It's default in the out of the box local.conf (meta-poky/conf/templates/default/local.conf.sample):
# We default to enabling the debugging tweaks.EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
Likely you have something else?
Signature · 1 line
Alex Kiernan
Quoted 11 lines · Alex Kiernan
Quoted 2 lines · Aleksandar Nikolic
Sure, sure, no argument there, from some reason I thought it used to be a default behavior, I guess I am wrong. Thanks.
It's default in the out of the box local.conf (meta-poky/conf/templates/default/local.conf.sample):
# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES?= "debug-tweaks"Likely you have something else?
Yes, I have my own local.conf, without the line you wrote above. Thanks for the clarification.
Aleksandar