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

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

    <bug>
          <bug_id>27907</bug_id>
          
          <creation_ts>2012-10-30 18:14:07 +0400</creation_ts>
          <short_desc>хорошо бы временно вернуть старый механизм нахождения принтеров</short_desc>
          <delta_ts>2013-10-12 00:10:08 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cups</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>regression</keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27685</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton V. Boyarshinov">boyarsh</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>aen</cc>
    
    <cc>george</cc>
    
    <cc>lav</cc>
    
    <cc>led</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>134322</commentid>
    <comment_count>0</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2012-10-30 18:14:07 +0400</bug_when>
    <thetext>в cups 1.5 использовался собственный механизм обнаружения принтеров
в cups 1.6 используется zeroconf

В результате, cups из p6 и cups из Сизифа/p7 несовместимы по discovery принтеров.

Хорошо бы вернуть старый метод discovery наряду с новым, для того, чтоб поддерживать совместимость p6/p7 (совместимость p6/p8 поддерживать не требуется).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134324</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-30 19:46:42 +0400</bug_when>
    <thetext>cups-1.5 тоже работает с Zeroconf. По крайней мере установленный у меня:
cups-1.5.3-alt0.M60P.1
при добавлении принтера смог обнаружить его с cups-1.6.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134325</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-10-30 20:53:10 +0400</bug_when>
    <thetext>Для статистики: под рукой два принт-сервера -- M51 с 1.3.10 (пришлось вернуть из-за драйвера samsung, который предполагал usblp и не работал через libusb никак) и M60 с 1.5.3; ноут с сизифным 1.6.1 не обнаруживает в сети ни одного принтера, благо что требуется нечасто...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134326</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-30 21:04:53 +0400</bug_when>
    <thetext>На M60 zeroconf поднят ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134329</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-10-30 22:06:45 +0400</bug_when>
    <thetext>Нет, как и на клиенте с 1.6.  Сделал:

prn# service messagebus start
prn# apt-get install avahi-daemon; service avahi-daemon start
prn# service cups restart

client# apt-get install avahi-daemon; service avahi-daemon start
client# service cups restart
client$ lpstat -a
lpstat: No destinations added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134331</commentid>
    <comment_count>5</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-30 22:20:35 +0400</bug_when>
    <thetext>task #83476 - тестируйте как соберётся, у меня нет технической возможности.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134332</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-10-30 22:38:29 +0400</bug_when>
    <thetext>Замечательно работает -- в выводе lpstat -a с некоторым интервалом появились все три ожидаемых строчки :)

Предлагаю отправлять в сизиф, и спасибо тебе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134333</commentid>
    <comment_count>7</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-30 22:40:10 +0400</bug_when>
    <thetext>а печатает ?
Ещё надо IPP проверить с разными аппаратными принтерами.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134334</commentid>
    <comment_count>8</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-30 22:40:37 +0400</bug_when>
    <thetext>Сетевыми а не аппаратными, конечно же.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134335</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-10-30 22:48:32 +0400</bug_when>
    <thetext>Нормально печатает через 1.5.3; сетевых с поддержкой IPP у меня нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134336</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-10-30 22:54:35 +0400</bug_when>
    <thetext>cups-1.6.1-alt2 -&gt; sisyphus:

* Tue Oct 30 2012 Anton Farygin &lt;rider@altlinux&gt; 1.6.1-alt2
- Added from ubuntu (closes: #27907):
    cups-1.4-ubuntu-default-error-policy-retry-job.patch
    cups-1.6.1-ubuntu-prevent-crash-due-to-null-host-name-or-fqdn-from-avahi.patch
    cups-1.6.1-ubuntu-fix-crash-on-shutdown-caused-by-broken-avahi-config.patch
    cups-1.6.1-ubuntu-work-around-some-broken-ipp-printers.patch
    cups-1.6.1-ubuntu-ipp-backend-abort-the-outer-loop-if-we-get-a-failure-from-send-document.patch
    cups-1.6.1-ubuntu-ipp-backend-could-get-stuck-in-an-endless-loop-on-certain-network-errors.patch
    cups-1.6.1-ubuntu-airprint-support.patch
    cups-1.6.1-ubuntu-fix-another-spot-where-avahi-crashes-cupsd-because-it-does-not-handle-null-values-from-its-own-apis.patch
    cups-1.6.1-ubuntu-ipp-backend-did-not-send-cancel-request-to-printers-when-a-job-was-canceled-and-printer-did-not-support-create-job.patch
    cups-1.6.1-ubuntu-forward-port-cups-1-5-x-cups-browsing.patch
    cups-1.6.1-ubuntu-cupsd-no-crash-on-avahi-threaded-poll-shutdown.patch
    cups-1.6.1-ubuntu-get-ppd-file-for-statically-configured-bonjour-shared-queues.patch
    cups-1.6.1-ubuntu-printers-c-recognize-remote-cups-queue-via-dnssd-uri.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134361</commentid>
    <comment_count>11</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2012-10-31 22:04:54 +0400</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; Замечательно работает -- в выводе lpstat -a с некоторым интервалом появились
&gt; все три ожидаемых строчки :)
&gt; 
&gt; Предлагаю отправлять в сизиф, и спасибо тебе.

А в обратную сторону?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134362</commentid>
    <comment_count>12</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-31 22:41:41 +0400</bug_when>
    <thetext>А зачем в обратную ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134363</commentid>
    <comment_count>13</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-10-31 22:42:00 +0400</bug_when>
    <thetext>Проверь, кстати - может и работает...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134365</commentid>
    <comment_count>14</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2012-11-01 00:18:10 +0400</bug_when>
    <thetext>(В ответ на комментарий №12)
&gt; А зачем в обратную ?

Затем же, зачем и в прямую. Печать с p6 на p7 ничем не хуже печати с p7 на p6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134370</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-01 12:50:42 +0400</bug_when>
    <thetext>В обратную сложнее,  но постараюсь при случае тоже проверить, вопрос резонный (хоть и менее приоритетный -- обычно клиентов вперёд тащат браузеры, а серверы поспокойней).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>142260</commentid>
    <comment_count>16</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-08-19 21:50:16 +0400</bug_when>
    <thetext>* Wed May 29 2013 Alexander Plehanov &lt;tonik@altlinux.org&gt; 1.6.2-alt3
[...]
- Remove unneeded patches:
    cups-1.6.1-ubuntu-forward-port-cups-1-5-x-cups-browsing.patch
[...]

Патч действительно немного отъехал в двух местах; в итоге в релизы 7.0.0 и 7.0.1 попали сборки без обратной совместимости с cups-1.5.x.

Возможно, также требуется доработка cups-filters:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061063/comments/15
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061063/comments/16</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143102</commentid>
    <comment_count>17</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2013-10-12 00:10:08 +0400</bug_when>
    <thetext>теперь эта функция реализована в cups-filters</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>