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

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

    <bug>
          <bug_id>17932</bug_id>
          
          <creation_ts>2008-11-18 16:15:02 +0300</creation_ts>
          <short_desc>Неверные урлы в вебинтерфейсе cups</short_desc>
          <delta_ts>2008-11-24 19:08:21 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.1</product>
          <component>cups</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="vasya.pupkin">vitich</reporter>
          <assigned_to name="inger@altlinux.org">inger</assigned_to>
          
          
          <qa_contact name="qa-4.1@altlinux.org">qa-4.1</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81293</commentid>
    <comment_count>0</comment_count>
    <who name="vasya.pupkin">vitich</who>
    <bug_when>2008-11-18 16:15:02 +0300</bug_when>
    <thetext>После добавлении принтера в систему через вебинтерфейс, все нижние табы, относящиеся к принтеру, включая саму иконку принтера, имеют в адресе не hostname а 127.0.0.1.
Верхние табы (Home,Administration,Classes, etc) в порядке.
Воспроизводится на всех компьютерах, обновлённых с branch 4.0 на 4.1 за последний месяц-полтора.
rpm -qa | grep cups
libgnomecups-0.2.3-alt1
ghostscript-cups-8.62-alt0.M41.1
cups-1.3.9-alt0.M41.1
libcups-1.3.9-alt0.M41.1
cndrvcups-common-1.20-1
samba-client-cups-3.0.31-alt1.M40.1
cups-pdf-2.4.5-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81330</commentid>
    <comment_count>1</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2008-11-19 19:54:25 +0300</bug_when>
    <thetext>(In reply to comment #0)
&gt; После добавлении принтера в систему через вебинтерфейс, все нижние табы,
&gt; относящиеся к принтеру, включая саму иконку принтера, имеют в адресе не hostname
&gt; а 127.0.0.1.
Странно, но у меня это не воспроизводится.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81331</commentid>
    <comment_count>2</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2008-11-19 19:55:55 +0300</bug_when>
    <thetext>посмотрите, влияет ли на это наличие/отсутсвие привязки hostname к 127.0.0.1 в /etc/hosts?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81600</commentid>
    <comment_count>3</comment_count>
    <who name="vasya.pupkin">vitich</who>
    <bug_when>2008-11-24 11:39:33 +0300</bug_when>
    <thetext>Виноват был cupsd.conf

LogLevel info
MaxJobs 500
User lp
Group lp
RunAsUser no
NoIzvrat yes
TempDir /var/spool/cups/tmp
Port 631

&lt;Location /&gt;
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.0/16
Allow From 10.0.1.0/24
AuthType None
AuthClass Anonymous
&lt;/Location&gt;

&lt;Location /admin&gt;
Order Deny,Allow
Deny From All
#Allow From 127.0.0.1
Allow From 10.0.1.0/24
Allow From 192.168.0.0/16
AuthType None
AuthClass Anonymous
&lt;/Location&gt;

&lt;Location /classes&gt;
Order Deny,Allow
Deny From All
#Allow From 127.0.0.1
Allow From 10.0.1.0/24
Allow From 192.168.0.0/16
AuthType None
AuthClass Anonymous
&lt;/Location&gt;

&lt;Location /printers&gt;
Order Deny,Allow
Deny From All
#Allow From 127.0.0.1
Allow From 10.0.1.0/24
Allow From 192.168.0.0/16
AuthType None
AuthClass Anonymous
&lt;/Location&gt;

&lt;Location /jobs&gt;
Order Deny,Allow
#Deny From All
Allow From 127.0.0.1
Allow From 10.0.1.0/24
Allow From 192.168.0.0/16
AuthType None
AuthClass Anonymous
&lt;/Location&gt;

Если поставить дефолтный конфиг - ошибка исчезает...
Что именно мешало нормальной работе пока не разобрался.
Закрывайте, наверное, багу...
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81613</commentid>
    <comment_count>4</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2008-11-24 19:08:21 +0300</bug_when>
    <thetext>ok
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>