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

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

    <bug>
          <bug_id>32950</bug_id>
          
          <creation_ts>2016-12-28 00:08:14 +0300</creation_ts>
          <short_desc>Не работает без polkit (add Requires: polkit)</short_desc>
          <delta_ts>2016-12-31 14:14:25 +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>pcsc-lite</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Lenar Shakirov">snejok</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>cas</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>161104</commentid>
    <comment_count>0</comment_count>
    <who name="Lenar Shakirov">snejok</who>
    <bug_when>2016-12-28 00:08:14 +0300</bug_when>
    <thetext>Не работает без polkit (add Requires: polkit)

Возможно я что-то делаю не так, но без пакета polkit у меня pcscd отказывается принимать соединения:
# pcsc_scan
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;
Compiled with PC/SC lite version: 1.8.18
SCardEstablishContext: RPC transport error.

в journalctl:
host dbus-daemon[388]: dbus[388]: [system] Rejected send message, 1 matched rules; type=&quot;method_call&quot;, sender=&quot;:1.32&quot; (uid=0 pid=4462 comm=&quot;/usr/sbin/pcscd -d &quot;) interface=&quot;org.freedesktop.DBus.Properties&quot; member=&quot;GetAll&quot; error name=&quot;(unset)&quot; requested_reply=&quot;0&quot; destination=&quot;:1.20&quot; (uid=485 pid=3819 comm=&quot;/usr/libexec/polkit-1/polkitd --no-debug &quot;)
дек 28 00:02:38 host dbus-daemon[388]: dbus[388]: [system] Rejected send message, 1 matched rules; type=&quot;method_call&quot;, sender=&quot;:1.32&quot; (uid=0 pid=4462 comm=&quot;/usr/sbin/pcscd -d &quot;) interface=&quot;org.freedesktop.PolicyKit1.Authority&quot; member=&quot;CheckAuthorization&quot; error name=&quot;(unset)&quot; requested_reply=&quot;0&quot; destination=&quot;:1.20&quot; (uid=485 pid=3819 comm=&quot;/usr/libexec/polkit-1/polkitd --no-debug &quot;)

# ls /usr/libexec/polkit-1/polkitd
ls: cannot access /usr/libexec/polkit-1/polkitd: No such file or directory

P.S.: Ставил минимальную систему</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161114</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-12-28 15:40:35 +0300</bug_when>
    <thetext>Вообще несколько странно иметь базовую систему с systemd, но без polkit.
А в системе с SysVinit polkit не нужен, поэтому, видимо, явной зависимости на polkit и нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161140</commentid>
    <comment_count>2</comment_count>
    <who name="Lenar Shakirov">snejok</who>
    <bug_when>2016-12-29 21:27:08 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; А в системе с SysVinit polkit не нужен, поэтому, видимо, явной зависимости на
&gt; polkit и нет.

Проверил на минимальной системе с sysvinit:
1. без polkit так же не работает
2. с polkit все норм</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161145</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-12-30 13:13:51 +0300</bug_when>
    <thetext>pcsc-lite-1.8.18-alt2 -&gt; sisyphus:

* Fri Dec 30 2016 Lenar Shakirov &lt;snejok@altlinux&gt; 1.8.18-alt2
- Requires: polkit added (closes: #32950)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>