[Pkg-cups-devel] Bug#595225: cups: Wronk hostname in link of RSS feed items

Philipp Kolmann philipp at kolmann.at
Thu Sep 2 07:24:44 UTC 2010


Package: cups
Version: 1.4.4-3
Severity: normal

Hi,

I added a RSS feed for cups the other day and added it to my RSS reader. I get the items but I can't click on them, because they have the wrong hostname:

<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>CUPS RSS Feed</title>
    <link>http://localhost:631/rss/printstat.rss</link>
    <description>CUPS RSS Feed</description>
    <generator>CUPS v1.4.4</generator>
    <ttl>1</ttl>
    <pubDate>Thu, 02 Sep 2010 06:24:34 GMT</pubDate>
    <item>
      <title>Printer: Brother stopped</title>
      <description>Printer "Brother" state changed to none.</description>
      <link>http://wspk/printers/Brother</link>
      <pubDate>Thu, 02 Sep 2010 06:24:34 GMT</pubDate>
      <guid>15</guid>
    </item>
[...]

As you can see above, in the channel section, the link is correct:

    <link>http://localhost:631/rss/printstat.rss</link>

but in the item section, it falls back to the hostname without the port (Apache listening there, but without knowledge of Cups):

      <link>http://wspk/printers/Brother</link>

I would like to see those links also with localhost:631 or whereever cups listens to.

thanks
Philipp


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser               3.112              add and remove users and groups
ii  bc                    1.06.95-2          The GNU bc arbitrary precision cal
ii  cups-client           1.4.4-3            Common UNIX Printing System(tm) - 
ii  cups-common           1.4.4-3            Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0] 1.5.35             Debian configuration management sy
ii  ghostscript           8.71~dfsg2-6       The GPL Ghostscript PostScript/PDF
ii  libavahi-client3      0.6.27-2           Avahi client library
ii  libavahi-common3      0.6.27-2           Avahi common library
ii  libc6                 2.11.2-2           Embedded GNU C Library: Shared lib
ii  libcups2              1.4.4-3            Common UNIX Printing System(tm) - 
ii  libcupscgi1           1.4.4-3            Common UNIX Printing System(tm) - 
ii  libcupsdriver1        1.4.4-3            Common UNIX Printing System(tm) - 
ii  libcupsimage2         1.4.4-3            Common UNIX Printing System(tm) - 
ii  libcupsmime1          1.4.4-3            Common UNIX Printing System(tm) - 
ii  libcupsppdc1          1.4.4-3            Common UNIX Printing System(tm) - 
ii  libdbus-1-3           1.2.24-3           simple interprocess messaging syst
ii  libgcc1               1:4.4.4-11         GCC support library
ii  libgnutls26           2.8.6-1            the GNU TLS library - runtime libr
ii  libgssapi-krb5-2      1.8.3+dfsg~beta1-1 MIT Kerberos runtime libraries - k
ii  libijs-0.35           0.35-7             IJS raster image transport protoco
ii  libkrb5-3             1.8.3+dfsg~beta1-1 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.23-4           OpenLDAP libraries
ii  libpam0g              1.1.1-4            Pluggable Authentication Modules l
ii  libpaper1             1.1.24             library for handling paper charact
ii  libpoppler5           0.12.4-1.1         PDF rendering library
ii  libslp1               1.2.1-7.8          OpenSLP libraries
ii  libstdc++6            4.4.4-11           The GNU Standard C++ Library v3
ii  libusb-0.1-4          2:0.1.12-15        userspace USB programming library
ii  lsb-base              3.2-23.1           Linux Standard Base 3.2 init scrip
ii  perl-modules          5.10.1-14          Core Perl modules
ii  poppler-utils         0.12.4-1.1         PDF utilitites (based on libpopple
ii  procps                1:3.2.8-9          /proc file system utilities
ii  ssl-cert              1.0.26             simple debconf wrapper for OpenSSL
ii  ttf-freefont          20090104-7         Freefont Serif, Sans and Mono True
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

Versions of packages cups recommends:
pn  cups-driver-gutenprint        <none>     (no description available)
ii  foomatic-filters              4.0.5-2    OpenPrinting printer support - fil
pn  ghostscript-cups              <none>     (no description available)

Versions of packages cups suggests:
ii  cups-bsd                  1.4.4-3        Common UNIX Printing System(tm) - 
pn  cups-pdf                  <none>         (no description available)
ii  cups-ppdc                 1.4.4-3        Common UNIX Printing System(tm) - 
ii  foomatic-db               20100804-1     OpenPrinting printer support - dat
ii  foomatic-db-engine        4.0.4-2        OpenPrinting printer support - pro
pn  hplip                     <none>         (no description available)
ii  smbclient                 2:3.4.8~dfsg-2 command-line SMB/CIFS clients for 
ii  udev                      161-1          /dev/ and hotplug management daemo
pn  xpdf-korean | xpdf-japane <none>         (no description available)

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cups-printstat.rss
Type: application/xml
Size: 4261 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20100902/c1c0ede5/attachment.xml>


More information about the Pkg-cups-devel mailing list