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

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

    <bug>
          <bug_id>27282</bug_id>
          
          <creation_ts>2012-05-01 10:15:13 +0400</creation_ts>
          <short_desc>ошибка определения версии cups в /usr/bin/loadconfig</short_desc>
          <delta_ts>2012-05-06 02:18:14 +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>freenx-server</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="Andrey Chichak">Andrey.Chichak</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>130942</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Chichak">Andrey.Chichak</who>
    <bug_when>2012-05-01 10:15:13 +0400</bug_when>
    <thetext>версия cups 1.5.2, как результат bc не может это сравнить с 1.2 и получаем ошибку:

/usr/bin/nxloadconfig: line 696: [: -ne: unary operator expected

как вариант обхода - прописываем неправильный COMMAND_CUPSD, ошибка пропадает вместе с возможностью печатать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130944</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Chichak">Andrey.Chichak</who>
    <bug_when>2012-05-01 10:22:39 +0400</bug_when>
    <thetext>версии пакетов:

[root@i node.conf.d]# rpm -qa | grep nx
nx-3.5.0-alt1
freenx-server-0.7.4-alt30</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131063</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-05-06 00:53:17 +0400</bug_when>
    <thetext>-egrep &apos;CUPS\/1\.&apos; | head -1 | sed &apos;s|CUPS\/||&apos;` &gt;= 1.2&quot; | bc
+egrep &apos;CUPS\/1\.&apos; | head -1 | sed &apos;s|CUPS\/\(1\.[0-9]\+\).*|\1|&apos;` &gt;= 1.2&quot; | bc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131072</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-05-06 02:18:14 +0400</bug_when>
    <thetext>freenx-server-0.7.4-alt31 -&gt; sisyphus:

* Sat May 05 2012 Michael Shigorin &lt;mike@altlinux&gt; 0.7.4-alt31
- fix broken CUPS version test in nxloadconfig (closes: #27282)
- fix broken NX version test there either (closes: #27283)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>