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

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

    <bug>
          <bug_id>45529</bug_id>
          
          <creation_ts>2023-03-10 14:19:46 +0300</creation_ts>
          <short_desc>Не задается страна переменной COUNTRY в crda</short_desc>
          <delta_ts>2023-05-26 22:30:31 +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>crda</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="obidinog@basealt.ru">obidinog</reporter>
          <assigned_to name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</assigned_to>
          <cc>lakostis</cc>
    
    <cc>ruslandh</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>222767</commentid>
    <comment_count>0</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2023-03-10 14:19:46 +0300</bug_when>
    <thetext>Платформа:
kworkstation-10.1-x86-64

Пакет:
crda 4.15-alt2.2023.02.13

Шаги:
# COUNTRY=00 crda

Результат:
Failed to set regulatory domain: -7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222788</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2023-03-11 01:58:31 +0300</bug_when>
    <thetext>(In reply to obidinog@basealt.ru from comment #0)
&gt; Платформа:
&gt; kworkstation-10.1-x86-64
Что это за платформа и почему тогда в качестве продукта указан Сизиф?

&gt; 
&gt; Пакет:
&gt; crda 4.15-alt2.2023.02.13
&gt; 
&gt; Шаги:
&gt; # COUNTRY=00 crda
&gt; 
&gt; Результат:
&gt; Failed to set regulatory domain: -7

А что ожидается увидеть?

$ rpm -qi crda
...
CRDA is no longer needed as of kernel v4.15 since commit 007f6c5e6eb45
(&quot;cfg80211: support loading regulatory database as firmware file&quot;) added
support to use the kernel&apos;s firmware request API which looks for the
firmware on /lib/firmware.

т.е. работоспособность этой команды вообще не гарантирована.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222789</commentid>
    <comment_count>2</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2023-03-11 05:49:35 +0300</bug_when>
    <thetext>man crda

Environment variable
       Set the COUNTRY environment variable with a specific ISO / IEC 3166 alpha2 country code and then run crda without arguments. This will send a regulatory domain for that alpha2 to       the kernel

 IEC 3166 alpha2ISO 3166-1 alpha-2 — система двухбуквенных кодов стран, определённая в ISO 3166-1

 Что-то я не вижу в стандарте код 00 

https://ru.wikipedia.org/wiki/ISO_3166-1

О чём вам и сообщает команда</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>