Build Configuration: BB_VERSION = "1.17.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-11.10" TARGET_SYS = "i586-poky-linux" MACHINE = "atom-pc" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130410" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" meta-yocto meta-yocto-bsp meta = "master:c31721e6372a52f8dfc516173e18f62266ac461f" meta-kernel-dev = "master:9df95d49188bacbe180bfac67edfaa682d542ed3" Attempting to poweroff from a sato image on atompc as the xuser results in a segfault: $ sudo /sbin/poweroff ... Password: Segmentation fault $
I'm nervous about the cause of this, we need to investigte...
Confirmed. Odd. Also, "sudo ls" segfaults. Appears to be caused by xuser having a locked account in /etc/shadow: xuser:!:15806:0:99999:7::: su'ing to root and setting a password lets xuser attempt to sudo ls (which then fails as xuser isn't in /etc/sudoers)
Is this related to the crypt issue we had recently?
Yes. Fixed locally.
Patch sent to oe-core.
Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2d94f1bde7c63b56b33bef34573211ecbeffaf44
Verified on master branch. Commit ID:2d94f1bde7c63b56b33bef34573211ecbeffaf44