On 08/05/2013 06:26 PM, Seth Arnold wrote: > On Mon, Aug 05, 2013 at 05:59:14PM -0500, Jamie Strandboge wrote: >> I have written two tools that we may want to optionally ship[3]: >> * apparmor-xdg-dirs-simple.py: this takes a locale as an argument and >> outputs >> to stdout something suitable for dropping into /etc/apparmor.d/xdg-dirs.d. >> [...] >> * apparmor-xdg-dirs.py: this takes the output of 'locale -a' and outputs to >> stdout something suitable for dropping into /etc/apparmor.d/xdg-dirs.d as >> well, but tries to be a little smarter and only outputs unique >> translations, >> skipping the 'C' locale (since the C locale dirs are presumed to already >> be >> in /etc/apparmor.d/tunables/xdg-dirs). Eg, on an Ubuntu 13.10 system with >> the en, fr and zn locales installed: > ...
> Would we, as a distribution, want to hook this up in some automatic > fashion to new locale creation? It feels like the polite thing to do, > and admins may well welcome one fewer task to perform. > Yes that's the plan, though I'm not completely sure where yet-- my first guess in Ubuntu would be adding a dpkg trigger to apparmor to run this on translation installation, but I plan to ask around first for the best place. :) -- Jamie Strandboge http://www.ubuntu.com/
signature.asc
Description: OpenPGP digital signature
-- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor