[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#873606: cups: 2.2.4 stopped being able to interact with our cups server



Package: cups
Version: 2.2.4-1
Severity: important

Hello,

Since the upgrade to 2.2.4-1 (more precisely, it is the upgrade of
libcups2 which breaks things), I'm not able to print any more:

[with 2.2.3-2]
$ lpq
print2me is ready
no entries

[with 2.2.4-1]
$ lpq
lpq: Error - PRINTER environment variable names non-existent destination "print2me".
$ lpr
/usr/bin/lpr: Error - scheduler not responding.
$ lp
lp: Error - scheduler not responding.

but oddly enough:
$ lpstat -a
print2me accepting requests since mar. 29 août 2017 14:13:48 CEST


Anyway, I had to downgrade to 2.2.3-2 to get printing back working.


I'm using
$CUPS_SERVER=cups.bordeaux.inria.fr
$CUPS_USER=thibault
$PRINTER=print2me

The server shows: CUPS 1.6.3

Description: File d'attente Follow Me
   Location: Follow Me BSO
     Driver: TOSHIBA ColorMFP (color, 2-sided printing)
 Connection: lpd://193.50.111.138/secure
   Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=two-sided-long-edge


I have attached the TCP sessions of each version. It seems like the cups
client does not send $PRINTER to the server at all, thus "No default
printer" beign returned.

Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups depends on:
ii  cdebconf [debconf-2.0]  0.229
ii  cups-client             2.2.4-1
ii  cups-common             2.2.4-1
ii  cups-core-drivers       2.2.4-1
ii  cups-daemon             2.2.4-1
ii  cups-filters            1.16.1-1
ii  cups-ppdc               2.2.4-1
ii  cups-server-common      2.2.4-1
ii  debconf                 1.5.63
ii  ghostscript             9.21~dfsg-1
ii  libavahi-client3        0.6.32-2
ii  libavahi-common3        0.6.32-2
ii  libc-bin                2.24-14
ii  libc6                   2.24-14
ii  libcups2                2.2.4-1
ii  libcupscgi1             2.2.4-1
ii  libcupsimage2           2.2.4-1
ii  libcupsmime1            2.2.4-1
ii  libcupsppdc1            2.2.4-1
ii  libgcc1                 1:7.2.0-1
ii  libstdc++6              7.2.0-1
ii  libusb-1.0-0            2:1.0.21-2
ii  poppler-utils           0.48.0-2
ii  procps                  2:3.3.12-3

Versions of packages cups recommends:
pn  avahi-daemon                     <none>
ii  colord                           1.3.3-2
ii  cups-filters [ghostscript-cups]  1.16.1-1
ii  printer-driver-gutenprint        5.2.13-1

Versions of packages cups suggests:
ii  cups-bsd                                   2.2.4-1
ii  foomatic-db-compressed-ppds [foomatic-db]  20170723-1
ii  hplip                                      3.17.7+repack0-3
ii  printer-driver-cups-pdf [cups-pdf]         3.0.1-4
ii  printer-driver-hpcups                      3.17.7+repack0-3
ii  smbclient                                  2:4.6.7+dfsg-1
ii  udev                                       232-25

-- debconf information:
  cupsys/backend: lpd, socket, usb, snmp, dnssd
  cupsys/raw-print: true

-- 
Samuel
Hi ! I'm a .signature virus ! Copy me into your ~/.signature, please !
POST / HTTP/1.1
Content-Length: 729
Content-Type: application/ipp
Host: cups.bordeaux.inria.fr:631
User-Agent: CUPS/2.2.3 (Linux 4.12.0-1-amd64; x86_64) IPP/2.0
Expect: 100-continue

.........G..attributes-charset..utf-8H..attributes-natural-language..fr-frD..requested-attributes..auth-info-requiredD...
device-uriD....job-sheets-defaultD....marker-change-timeD...
marker-colorsD....marker-high-levelsD...
marker-levelsD....marker-low-levelsD....marker-messageD....marker-namesD....marker-typesD....printer-commandsD....printer-defaultsD....printer-infoD....printer-is-accepting-jobsD....printer-is-sharedD....printer-locationD....printer-make-and-modelD... printer-mandatory-job-attributesD....printer-nameD...
printer-stateD....printer-state-change-timeD....printer-state-reasonsD....printer-typeD....printer-uri-supportedB..requesting-user-name..thibaultE..printer-uri.%ipp://localhost:631/printers/print2me.HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Tue, 29 Aug 2017 12:35:21 GMT
Server: CUPS/1.6 IPP/2.1
Connection: Keep-Alive
Keep-Alive: timeout=30
Content-Language: fr_FR
Content-Type: application/ipp
Content-Length: 1122

.........G..attributes-charset..utf-8H..attributes-natural-language..fr-fr.!..marker-change-time......"..printer-is-accepting-jobs..."..printer-is-shared...#.
printer-state......!..printer-state-change-time..Y.Z|D..printer-state-reasons..none#..printer-type....0.E..printer-uri-supported.*ipp://193.50.111.172:631/printers/print2meB..printer-name..print2meA..printer-location.
Follow Me BSOA..printer-info..File d'attente Follow MeB..job-sheets-default..noneB....noneE.
device-uri..lpd://193.50.111.138/secure!..copies-default......I..document-format-default..application/octet-streamD..job-hold-until-default..no-hold!..job-priority-default.....2!..number-up-default.........orientation-requested-default..A..printer-make-and-model..TOSHIBA ColorMFP4..media-col-default..J...
media-size4....J....x-dimension!......TVJ....y-dimension!......m$7....J....media-bottom-margin!........J....media-left-margin!........J....media-right-margin!........J....media-top-margin!........J....media-sourceD....autoJ...
media-typeD....none7....D..printer-commands.
AutoConfigureD....CleanD....PrintSelfTestPage#..finishings-default.......POST / HTTP/1.1
Content-Length: 124
Content-Type: application/ipp
Host: cups.bordeaux.inria.fr:631
User-Agent: CUPS/2.2.3 (Linux 4.12.0-1-amd64; x86_64) IPP/2.0
Expect: 100-continue

.........G..attributes-charset..utf-8H..attributes-natural-language..fr-frE..printer-uri.!ipp://localhost/printers/print2me.HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Tue, 29 Aug 2017 12:35:21 GMT
Server: CUPS/1.6 IPP/2.1
Connection: Keep-Alive
Keep-Alive: timeout=30
Content-Language: fr_FR
Content-Type: application/ipp
Content-Length: 11010


etc...
POST / HTTP/1.1
Content-Length: 701
Content-Type: application/ipp
Host: cups.bordeaux.inria.fr:631
User-Agent: CUPS/2.2.4 (Linux 4.12.0-1-amd64; x86_64) IPP/2.0
Expect: 100-continue

..@......G..attributes-charset..utf-8H..attributes-natural-language..fr-frD..requested-attributes..auth-info-requiredD...
device-uriD....job-sheets-defaultD....marker-change-timeD...
marker-colorsD....marker-high-levelsD...
marker-levelsD....marker-low-levelsD....marker-messageD....marker-namesD....marker-typesD....printer-commandsD....printer-defaultsD....printer-infoD....printer-is-accepting-jobsD....printer-is-sharedD....printer-is-temporaryD....printer-locationD....printer-make-and-modelD... printer-mandatory-job-attributesD....printer-nameD...
printer-stateD....printer-state-change-timeD....printer-state-reasonsD....printer-typeD....printer-uri-supportedB..requesting-user-name..thibault.HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Tue, 29 Aug 2017 12:35:26 GMT
Server: CUPS/1.6 IPP/2.1
Connection: Keep-Alive
Keep-Alive: timeout=30
Content-Language: fr_FR
Content-Type: application/ipp
Content-Length: 113

.........G..attributes-charset..utf-8H..attributes-natural-language..fr-frA..status-message..No default printer..

Reply to: