[Bug 1842364] Re: sudo localedef from docker does not work anymore after upgrade from 4.4.0-1088-aws to 4.4.0-1090-aws

2019-09-03 Thread Simon Allan
ok I think I have pinpointed a bit more precisely the issue , on the kernel with the bug , if from the container I do localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8 stat /usr/lib/locale/locale-archive I got File: /usr/lib/locale/locale-archive Size: 1679760

[Bug 1842364] Re: sudo localedef from docker does not work anymore after upgrade from 4.4.0-1088-aws to 4.4.0-1090-aws

2019-09-03 Thread Simon Allan
with the previous linux-aws version i got also -rw-r--r-- 1 root root 1.7M Sep 3 08:38 locale-archive but for some reason I can't read it admin@8597d5502142:/$ head /usr/lib/locale/locale-archive head: cannot open '/usr/lib/locale/locale-archive' for reading: Permission denied (normally I sh

[Bug 1842364] Re: sudo localedef from docker does not work anymore after upgrade from 4.4.0-1088-aws to 4.4.0-1090-aws

2019-09-03 Thread Simon Allan
however if it touch a file as root root@8597d5502142:/# touch /tmp/toto root@8597d5502142:/# ls -lh /tmp total 0 -rw-r--r-- 1 root root 0 Sep 3 08:42 toto root@8597d5502142:/# su admin admin@8597d5502142:/$ head /tmp/toto (no permission denied) -- You received this bug notification because you

[Bug 1842364] Re: sudo localedef from docker does not work anymore after upgrade from 4.4.0-1088-aws to 4.4.0-1090-aws

2019-09-02 Thread Simon Allan
some precision, actually in the "buggy" container, the file /usr/lib/locale/locale- archive is created in all case with the permission (regardless with sudo or directly as root user): -rw-r--r-- 1 root root 1.7M Sep 2 23:17 locale-archive however 1. if the file was generated as root, (not wit