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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.