Bug 34930

Summary: Cannot set LC_CTYPE to default locale: Permission denied
Product: Sisyphus Reporter: Vitaly Lipatov <lav>
Component: glibc-localesAssignee: placeholder <placeholder>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Vitaly Lipatov 2018-05-21 15:46:33 MSK
Не смог найти багу :(

после каждого обновления glibc-locales (glibc-locales-2.27-alt4.x86_64)

получаю
$ locale
locale: Cannot set LC_CTYPE to default locale: Permission denied
locale: ?????????? ?????????? LC_ALL ? ?????? ?? ?????????.: ???????? ? ???????
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"


strace:
openat(AT_FDCWD, "/usr/lib/locale/ru_RU.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)

$ ls -l /usr/lib/locale/ru_RU.utf8/LC_MEASUREMENT
--w------- 21 root root 23 May 20 18:12 /usr/lib/locale/ru_RU.utf8/LC_MEASUREMENT

$ cat /etc/rpm/macros
%_install_langs C:en_US:ru_RU
Comment 1 Vitaly Lipatov 2018-05-21 16:07:53 MSK
Комментарий #17 от Gleb F-Malinovskiy 2017-01-13 18:01:18 (-) [ответить]
Как объезд поменяйте %_install_langs на all -- так точно работает.
https://bugzilla.altlinux.org/show_bug.cgi?id=32997#c17

*** This bug has been marked as a duplicate of bug 32997 ***