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

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

    <bug>
          <bug_id>31324</bug_id>
          
          <creation_ts>2015-10-05 05:43:21 +0300</creation_ts>
          <short_desc>cnetworkmanager не работает</short_desc>
          <delta_ts>2015-10-06 23:15:09 +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>cnetworkmanager</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <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="Антон Мидюков">antohami</reporter>
          <assigned_to name="Nick S. Grechukh">gns</assigned_to>
          <cc>cas</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>152972</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2015-10-05 05:43:21 +0300</bug_when>
    <thetext>Выдаёт вот такое:
cnetworkmanager -u
Traceback (most recent call last):
  File &quot;/usr/bin/cnetworkmanager&quot;, line 240, in &lt;module&gt;
    list_connections(USER_SERVICE)
  File &quot;/usr/bin/cnetworkmanager&quot;, line 225, in list_connections
    acos = map(lambda a: a[&quot;Connection&quot;].object_path, acs)
  File &quot;/usr/bin/cnetworkmanager&quot;, line 225, in &lt;lambda&gt;
    acos = map(lambda a: a[&quot;Connection&quot;].object_path, acs)
  File &quot;/usr/lib/python2.7/site-packages/networkmanager/activeconnection.py&quot;, line 44, in __getitem__
    sn = self.__getitem__(&quot;ServiceName&quot;)
  File &quot;/usr/lib/python2.7/site-packages/networkmanager/activeconnection.py&quot;, line 42, in __getitem__
    v = super(ActiveConnection, self).__getitem__(key)
  File &quot;/usr/lib/python2.7/site-packages/dbusclient/__init__.py&quot;, line 174, in __getitem__
    value = super(DBusClient, self).__getitem__(key)
  File &quot;/usr/lib/python2.7/site-packages/dbusclient/__init__.py&quot;, line 77, in __getitem__
    return pmi.Get(iface, key, byte_arrays=True)
  File &quot;/usr/lib64/python2.7/site-packages/dbus/proxies.py&quot;, line 145, in __call__
    **keywords)
  File &quot;/usr/lib64/python2.7/site-packages/dbus/connection.py&quot;, line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Property &quot;ServiceName&quot; of interface &quot;org.freedesktop.NetworkManager.Connection.Active&quot; isn&apos;t exported (or may not exist)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152977</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2015-10-05 13:11:22 +0300</bug_when>
    <thetext>В Sisyphus та же версия, но она не работает:
[user@c253 ~]$ cnetworkmanager -u
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManagerUserSettings was not provided by any .service files

Разработка этой утилиты прекращена 6 лет (!) назад. Воспользуйтесь штатными средствами NetworkManager:

[cas@cas ~]$ nmcli connection
ИМЯ                       UUID                                   ТИП               ДЕЙСТВ. МЕТКА ВРЕМЕНИ             
Проводное соединение 1    54532bfe-6495-4b58-a852-bf10758e3fa3   802-3-ethernet    Ср 06 май 2015 13:25:47           
Digital Design            a4fec71a-89bb-4916-9faa-1c311fb0ffac   vpn               Чт 25 июн 2015 10:07:34           
System eth0               66284f90-5cba-4004-099f-8ae2d0617b3d   802-3-ethernet    Пн 05 окт 2015 13:07:30           

Примеры использования nmcli: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Using_the_NetworkManager_Command_Line_Tool_nmcli.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152978</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2015-10-06 07:23:33 +0300</bug_when>
    <thetext>Раз не работает и не разрабатывается, надо удалить этот пакет из репозитория.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152988</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2015-10-06 17:34:01 +0300</bug_when>
    <thetext>Пакет удалён.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>