The /etc/default/locale is missing message appears when running su <user>. Reproduced on RCPL7
configure & build a wrlinux 5.0.1 project based on qemux86-64 BSP, boot the qemu target and run: root@qemu0:/var/log# su root root@qemu0:/var/log# tail auth.log Oct 8 07:47:54 qemu0 login[983]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Oct 8 07:47:55 qemu0 login[995]: ROOT LOGIN on '/dev/console' Oct 8 07:48:21 qemu0 su[999]: Successful su for root by root Oct 8 07:48:21 qemu0 su[999]: + /dev/console root:root Oct 8 07:48:21 qemu0 su[999]: pam_env(su:session): Unable to open env file: /etc/default/locale: No such file or directory Oct 8 07:48:21 qemu0 su[999]: pam_unix(su:session): session opened for user root by root(uid=0)