Bug 34930 - Cannot set LC_CTYPE to default locale: Permission denied
Summary: Cannot set LC_CTYPE to default locale: Permission denied
Status: CLOSED DUPLICATE of bug 32997
Alias: None
Product: Sisyphus
Classification: Development
Component: glibc-locales (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-21 15:46 MSK by Vitaly Lipatov
Modified: 2018-05-21 16:07 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***