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

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

    <bug>
          <bug_id>31680</bug_id>
          
          <creation_ts>2016-01-04 12:56:23 +0300</creation_ts>
          <short_desc>Нерабочее и ненужное правило udev</short_desc>
          <delta_ts>2016-01-04 14:55:15 +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>jmtpfs</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgenii Terechkov">evg</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>154481</commentid>
    <comment_count>0</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2016-01-04 12:56:23 +0300</bug_when>
    <thetext>После установки jmtpfs-0.5-alt1 и подключения USB-устройства в логе постоянная ругань от systemd-udevd (и после отключения устройства):

=8&lt;=========================================================
root@thinkpad ~ #journalctl -b -u systemd-udevd
-- Logs begin at Mon 2014-01-06 11:39:36 KRAT, end at Mon 2016-01-04 16:27:02 KRAT. --
Jan 03 18:12:13 thinkpad.evg-krsk.dyndns.org systemd[1]: Starting udev Kernel Device Manager...
Jan 03 18:12:13 thinkpad.evg-krsk.dyndns.org systemd[1]: Started udev Kernel Device Manager.
Jan 03 18:12:16 thinkpad.evg-krsk.dyndns.org systemd-udevd[1541]: Could not generate persistent MAC address for br0: No such file or directory
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process &apos;udev-acl --action= --device=/dev/bus/usb/002/004&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5150]: failed to execute &apos;/lib/udev/udev-acl&apos; &apos;udev-acl --action= --device=&apos;: No such file or directory
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5148]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5149]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5148]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5158]: failed to execute &apos;/lib/udev/udev-acl&apos; &apos;udev-acl --action= --device=&apos;: No such file or directory
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5148]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5149]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5162]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5164]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process &apos;udev-acl --action= --device=/dev/bus/usb/002/004&apos; failed with exit code 2.
Jan 04 14:28:43 thinkpad.evg-krsk.dyndns.org systemd-udevd[5177]: Process &apos;udev-acl --action= --device=/dev/bus/usb/002/005&apos; failed with exit code 2.
Jan 04 14:28:43 thinkpad.evg-krsk.dyndns.org systemd-udevd[5177]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10353]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10354]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10356]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10354]: Process &apos;udev-acl --action= --device=/dev/bus/usb/002/005&apos; failed with exit code 2.
Jan 04 15:42:19 thinkpad.evg-krsk.dyndns.org systemd-udevd[10873]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:48:11 thinkpad.evg-krsk.dyndns.org systemd-udevd[11247]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:48:13 thinkpad.evg-krsk.dyndns.org systemd-udevd[11254]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:48:13 thinkpad.evg-krsk.dyndns.org systemd-udevd[11259]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:48:16 thinkpad.evg-krsk.dyndns.org systemd-udevd[11264]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:48:20 thinkpad.evg-krsk.dyndns.org systemd-udevd[11284]: failed to execute &apos;/lib/udev/udev-acl&apos; &apos;udev-acl --action= --device=&apos;: No such file or directory
Jan 04 15:48:20 thinkpad.evg-krsk.dyndns.org systemd-udevd[11281]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:49:13 thinkpad.evg-krsk.dyndns.org systemd-udevd[11329]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:49:43 thinkpad.evg-krsk.dyndns.org systemd-udevd[11384]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:49:47 thinkpad.evg-krsk.dyndns.org systemd-udevd[11394]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:50:54 thinkpad.evg-krsk.dyndns.org systemd-udevd[11494]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
Jan 04 15:50:54 thinkpad.evg-krsk.dyndns.org systemd-udevd[11500]: failed to execute &apos;/lib/udev/udev-acl&apos; &apos;udev-acl --action= --device=&apos;: No such file or directory
Jan 04 15:50:57 thinkpad.evg-krsk.dyndns.org systemd-udevd[11517]: Process &apos;udev-acl --action= --device=&apos; failed with exit code 2.
=8&lt;=========================================================

На работу jmtpfs вроде бы никак не повлияло (но у меня и не ASUS Transformer TF101/Samsung GT).

Насколько я понимаю:

1) udev-acl умер вместе с consolekit, лет пять назад. Сейчас в сизифе такого файл нет.
2) То же самое что должно было делать приложенное правило (51-android.rules) и гораздо больше  и правильнее делает правило из пакета libmtp9 (69-libmtp.rules). Который вытягивается по зависимостям jmtpfs.

Предлагаю не паковать это правило udev.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>154482</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2016-01-04 14:11:43 +0300</bug_when>
    <thetext>Собирал как раз для Samsung GT (попросили фото вытащить), на системе с sysvinit спама в /var/log/messages не наблюдаю, но в любом разе спасибо; отправил -alt2, у меня тоже работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>154483</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-01-04 14:16:42 +0300</bug_when>
    <thetext>jmtpfs-0.5-alt2 -&gt; sisyphus:

* Mon Jan 04 2016 Michael Shigorin &lt;mike@altlinux&gt; 0.5-alt2
- dropped 51-android.rules on the floor (closes: #31680)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>