HomeDefectsLIN1023-309
Not to be fixed

LIN1023-309 : libuser: luseradd execute failed with "Error creating mail spool"

Created: Apr 26, 2023    Updated: May 26, 2026
Resolved Date: May 26, 2026
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Userspace

Description

root@intel-x86-64:~# rpm -qa | grep libuser
libuser-0.64-r0.corei7_64
root@intel-x86-64:~#
root@intel-x86-64:~# luseradd t1
Error creating mail spool: couldn't open `/var/mail/t1': No such file or directory
root@intel-x86-64:~# echo $?
8
root@intel-x86-64:~#
root@intel-x86-64:~# tail -n1 /etc/passwd
t1:x:1000:1000:t1:/home/t1:/bin/sh
root@intel-x86-64:~#

Steps to Reproduce

1) setup.sh
--machines intel-x86-64 --distro wrlinux --dl-layers=1 --all-layers

2). ./environment-setup-x86_64-wrlinuxsdk-linux
  . ./oe-init-build-env build_test
  
3) echo IMAGE_INSTALL:append = \" libuser\" >> conf/local.conf

4) bitbake wrlinux-image-std

5) boot the target and run commands per problem description