<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>34930</bug_id>
          
          <creation_ts>2018-05-21 15:46:33 +0300</creation_ts>
          <short_desc>Cannot set LC_CTYPE to default locale: Permission denied</short_desc>
          <delta_ts>2018-05-21 16:07:53 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>glibc-locales</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>32997</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>171184</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2018-05-21 15:46:33 +0300</bug_when>
    <thetext>Не смог найти багу :(

после каждого обновления 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=&quot;ru_RU.UTF-8&quot;
LC_NUMERIC=&quot;ru_RU.UTF-8&quot;


strace:
openat(AT_FDCWD, &quot;/usr/lib/locale/ru_RU.utf8/LC_MEASUREMENT&quot;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171185</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2018-05-21 16:07:53 +0300</bug_when>
    <thetext>Комментарий #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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>