audit2allow -br command is not working if the LANG variable is set to non US/English

Solution Verified - Updated -

Issue

  • audit2allow -br command is not working if the LANG variable is set to non US/English.
[root@localhost ~]# locale | grep LANG
LANG=en_US.UTF-8
[root@localhost ~]# audit2allow -br

[root@localhost ~]# export LANG="ja_JP.UTF8"
[root@localhost ~]# locale | grep LANG
LANG=ja_JP.UTF8
[root@localhost ~]# audit2allow -br
Invalid start time (03時10分22秒). Hour, Minute, and Second are required.

Environment

  • Red Hat Enterprise Linux 6.5
  • policycoreutils

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content