selinux: remove reference to locale env files from login

[ CQID: WIND00425413 ]

pam.d/login refered to the /etc/default/locale env file.

This file is not used in oe-core/Poky.

Remove the this reference to avoid error messages in auth.log.

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
Qiang Chen 2013-07-18 17:24:35 +08:00 committed by Joe MacDonald
parent 479c9803f0
commit 2e7fb736e1
2 changed files with 1 additions and 4 deletions

View File

@ -39,9 +39,6 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux
#
# parsing /etc/environment needs "readenv=1"
session required pam_env.so readenv=1
# locale variables are also kept into /etc/default/locale in etch
# reading this file *in addition to /etc/environment* does not hurt
session required pam_env.so readenv=1 envfile=/etc/default/locale
# Standard Un*x authentication.
auth include common-auth

View File

@ -1,4 +1,4 @@
PR .= ".5"
PR .= ".6"
inherit with-selinux with-audit