Wind River Support Network

HomeDefectsLIN6-2675
Fixed

LIN6-2675 : wrinux 5.0.1 - /etc/default/locale is missing message when running su user

Created: Oct 8, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 8, 2013
Previous ID: LIN5-6533
Found In Version: 6.0
Fix Version: 6.0.0.1
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

The /etc/default/locale is missing message appears when running su <user>.
Reproduced on RCPL7

Steps to Reproduce

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)

Other Downloads


Live chat
Online