Hello, If someone will ever read the code they'll probably wonder what LANG=C is supposed to do? and in some weird case if it happens that someone has netstat with a translation local 'C' (very unlikely ;-) we might get into a problem.
In my opinion use of LANG=en or LANG=en_US seems better (but I maybe wrong). Regards, Kshitij On Fri, Sep 20, 2013 at 4:26 AM, Steve Beattie <[email protected]> wrote: > On Thu, Sep 19, 2013 at 11:31:19PM +0200, Christian Boltz wrote: >> Hello, >> >> as discussed in #apparmor: >> >> aa-unconfined displays less unconfined processes in some languages (for >> example with LANG=pt_BR) because a regex relies on netstat output. >> >> The following patch enforces LANG=C to make sure aa-unconfined always >> sees the expected output. >> >> I propose this patch for trunk and 2.8. > > Acked-by: Steve Beattie <[email protected]> for trunk and 2.8 > > > -- > Steve Beattie > <[email protected]> > http://NxNW.org/~steve/ > > -- > AppArmor mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/apparmor > -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
