[Bug 864782] New: cups-lpd hugh jobs (>2G) fail
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c0 Summary: cups-lpd hugh jobs (>2G) fail Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@suse.com ReportedBy: mgoppold@web.de QAContact: jsmeix@suse.com Found By: --- Blocker: --- Created an attachment (id=579248) --> (http://bugzilla.novell.com/attachment.cgi?id=579248) patch for cups bug 4351 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 real hugh jobs (more than 2147483647 bytes) can not print via cups-lpd because of int type of looping var. error message sever side: Trailing character after file is not nul (48)! see also: https://www.cups.org/str.php?L4351 and https://www.cups.org/strfiles.php/3266/str4351.patch Reproducible: Always Steps to Reproduce: 1.lpadmin -p P001 -v lpd://192.168.100.10/lp -D "Test" -m Postscript.ppd -E 2.lp -d P001 huge_file.ps 3.follow /var/log/cups/error_log Actual Results: error message sever side: Trailing character after file is not nul (48)! job restart due to the error (endless loop) Expected Results: accept and print the job this is also relevant up to openSUSE 13.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED Found By|--- |Community User Severity|Normal |Minor --- Comment #1 from Johannes Meixner <jsmeix@suse.com> 2014-02-20 09:30:16 CET --- Many thanks for your crear, descriptive, and complete issue report! This is not a severe/critical bug for openSUSE because: - cups-lpd is rarely used. It is only needed for some kind of backward compatibility so that old LPD clients in the network can submit their jobs to a CUPS server. - it happens only for huge jobs (>2G). We do not regularly fix such kind of bugs for openSUSE, only if time permits and when the opportunity arises. On the other hand: This could be relevant for business/enterprise usage because here old LPD clients in the network are more common and those client may regularly print huge jobs. For business/enterprise usage we provide support only via our SUSE Linux Enterprise producs. If you use a SUSE Linux Enterprise product and when you have a support contract, you can use that support contact to get regular support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-02-20 15:01:17 CET --- This is an autogenerated message for OBS integration: This bug (864782) was mentioned in https://build.opensuse.org/request/show/223233 Factory / cups -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2014-02-20 17:36:33 CET --- I provide CUPS 1.5.4 with the fix as RPM packages "cups", "cups-client", and "cups-libs" for various openSUSE and Suse Linux Enterprise versions in the "Printing" development project in the openSUSE build service (OBS) for 32-bit i586 and 64-bit x86_64 architecture. But not for openSUSE 11.4 because it is too old. It may work to use CUPS 1.5.4 built for Suse Linux Enterprise 11 on an openSUSE 11.4 system because openSUSE 11.4 is newer than Suse Linux Enterprise 11 (in contrast packages built for a newer operating system version can cause arbitrary mess when installed into an older operating system version). E.g. for Suse Linux Enterprise 11 (SLE_11) 32-bit i586 you can download the RPMs from this direct URL http://download.opensuse.org/repositories/Printing/SLE_11/i586/ openSUSE 11.4 provided CUPS version 1.4.6 so that using CUPS from the OBS "Printing" project results a CUPS version upgrade to 1.5.4. I assume that should work without issues, but I did not test it (i.e. no guarantee). Mario Goppold, perhaps you are a venturous openSUSE user who may like to try out if CUPS 1.5.4 for SLE_11 from the OBS "Printing" project works for your openSUSE 11.4 system? If yes, I would appreciate feedback whether or not it works. Please read https://build.opensuse.org/project/show?project=Printing in particular note therein (excerpt): ----------------------------------------------------------------- The "Printing" project may contain new, upcoming software. Therefore the packages in the "Printing" project might neither be in a stable state nor fit well into currently installed systems. Have this in mind if you think about to install packages from the "Printing" project into your currently running system. Do not use "Factory" if your system is not "Factory". Use the matching packages for your particular system. The packages in the "Printing" project are only for testing, without any guarantee or warranty, and without any support. As an extreme example, this means if your complete computer center crashes because of those packages, it is only your problem. On the other hand this does not mean that those packages are known to be terrible broken but they are not thoroughly tested so that any unexpected issue can happen. ----------------------------------------------------------------- Because it is fixed in our current CUPS version, and because the bug is not severe or critical, the issue here is resolved as "fixed". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c4 --- Comment #4 from Mario Goppold <mgoppold@web.de> 2014-02-20 19:20:23 UTC --- (In reply to comment #1)
Many thanks for your crear, descriptive, and complete issue report!
This is not a severe/critical bug for openSUSE because:
- cups-lpd is rarely used. It is only needed for some kind of backward compatibility so that old LPD clients in the network can submit their jobs to a CUPS server.
what happens nearly 2000 times per day
- it happens only for huge jobs (>2G).
what happens nearly 20 times per year
We do not regularly fix such kind of bugs for openSUSE, only if time permits and when the opportunity arises.
On the other hand:
This could be relevant for business/enterprise usage because here old LPD clients in the network are more common and those client may regularly print huge jobs.
For business/enterprise usage we provide support only via our SUSE Linux Enterprise producs.
We are in a business environment with openSUSE 11.4+Evergreen on nearly 15 server.
If you use a SUSE Linux Enterprise product and when you have a support contract, you can use that support contact to get regular support.
There is currently no plan to use an Enterprise product. Next, we plan to migrate to 13.1. offtopic: I found no information to file a bug for more than one Product and I was unsure if I have to submit it to the oldest or to the newest. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c5 --- Comment #5 from Mario Goppold <mgoppold@web.de> 2014-02-20 19:35:07 UTC --- (In reply to comment #3)
I provide CUPS 1.5.4 with the fix as RPM packages "cups", "cups-client", and "cups-libs" for various openSUSE and Suse Linux Enterprise versions in the "Printing" development project in the openSUSE build service (OBS) for 32-bit i586 and 64-bit x86_64 architecture.
But not for openSUSE 11.4 because it is too old.
It may work to use CUPS 1.5.4 built for Suse Linux Enterprise 11 on an openSUSE 11.4 system because openSUSE 11.4 is newer than Suse Linux Enterprise 11 (in contrast packages built for a newer operating system version can cause arbitrary mess when installed into an older operating system version).
E.g. for Suse Linux Enterprise 11 (SLE_11) 32-bit i586 you can download the RPMs from this direct URL http://download.opensuse.org/repositories/Printing/SLE_11/i586/
openSUSE 11.4 provided CUPS version 1.4.6 so that using CUPS from the OBS "Printing" project results a CUPS version upgrade to 1.5.4. I assume that should work without issues, but I did not test it (i.e. no guarantee).
Mario Goppold, perhaps you are a venturous openSUSE user who may like to try out if CUPS 1.5.4 for SLE_11 from the OBS "Printing" project works for your openSUSE 11.4 system?
My way to test other/newer versions is to compile it on destination system environment to avoid dependency problems and run my testsuite. Afterwards I can install it on a testsystem for a week or two. Are you interested in such a test, too?
If yes, I would appreciate feedback whether or not it works.
Please read https://build.opensuse.org/project/show?project=Printing in particular note therein (excerpt): ----------------------------------------------------------------- The "Printing" project may contain new, upcoming software. Therefore the packages in the "Printing" project might neither be in a stable state nor fit well into currently installed systems. Have this in mind if you think about to install packages from the "Printing" project into your currently running system. Do not use "Factory" if your system is not "Factory". Use the matching packages for your particular system. The packages in the "Printing" project are only for testing, without any guarantee or warranty, and without any support. As an extreme example, this means if your complete computer center crashes because of those packages, it is only your problem. On the other hand this does not mean that those packages are known to be terrible broken but they are not thoroughly tested so that any unexpected issue can happen. -----------------------------------------------------------------
Because it is fixed in our current CUPS version, and because the bug is not severe or critical, the issue here is resolved as "fixed".
That's ok and many thanks for the really quick response! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c6 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org --- Comment #6 from Johannes Meixner <jsmeix@suse.com> 2014-02-21 09:55:15 CET --- Mario Goppold, you wrote: "We are in a business environment with openSUSE 11.4+Evergreen" "There is currently no plan to use an Enterprise product." "My way to test other/newer versions is to compile it on destination system" As far as I can imagine your way how you use Linux I would like to recommend that you actively participate in the openSUSE community maintenance project Evergreen and that you actively contribute to it. I think "compile it on destination system" is not the best way how you could do it. Instead I would recommend that you use the openSUSE build service (OBS) and build your other/newer versions there - first of all only for you in your OBS home project and when it works for you, you should contribute it to the Evergreen project. I think it would be just fair when you use Evergreen in your business environment, that you give something back to those who make it possible that you can use Evergreen in your business environment. In this particular case you should contribute the str4351.patch to cups in openSUSE:Evergreen:11.4 so that also the other Evergreen users would benefit from it. Note that Evergreen is a real free openSUSE community project and not something official from SUSE. For details how to participate and contribute see http://en.opensuse.org/openSUSE:Evergreen I know Wolfgang Rosenauer (the leading developer of Evergreen) very well from the past when we worked together at SUSE. Wolfgang Rosenauer, please have a look at this whole bnc#864782 - basically it is about a bugfix for CUPS in openSUSE:Evergreen:11.4 that if mainly of interest in business environments (cups-lpd). I wonder if I could help the Evergreen project in any useful way regardless that I do not use any of the Evergreen distributions? I provide our current CUPS for various older openSUSE and SLE versions in the OBS project "Printing" but I do not have the time to maintain various older CUPS versions in various older openSUSE versions (i.e. I do not have the time to maintain CUPS in the Evergreen distributions). I wonder if our current CUPS in the OBS project "Printing" could be of any use for the Evergreen distributions? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c7 --- Comment #7 from Johannes Meixner <jsmeix@suse.com> 2014-02-21 11:10:44 CET --- As a first minimal attempt to provide something useful for openSUSE:Evergreen:11.4 I enabled it as build target for the whole OBS project "Printing". Mario Goppold, now the current CUPS 1.5.4 is also available for openSUSE:Evergreen:11.4 from the OBS project "Printing". Becausew you are an experienced openSUSE user I would recommend that you try out if CUPS 1.5.4 for openSUSE:Evergreen:11.4 from the OBS project "Printing" works on your system. If you agree, please provide feedback whether or not it works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c8 --- Comment #8 from Mario Goppold <mgoppold@web.de> 2014-02-23 17:10:10 UTC --- Created an attachment (id=579663) --> (http://bugzilla.novell.com/attachment.cgi?id=579663) cups testsuite result file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=864782 https://bugzilla.novell.com/show_bug.cgi?id=864782#c9 --- Comment #9 from Mario Goppold <mgoppold@web.de> 2014-02-23 17:13:23 UTC --- (In reply to comment #7)
As a first minimal attempt to provide something useful for openSUSE:Evergreen:11.4 I enabled it as build target for the whole OBS project "Printing".
Mario Goppold, now the current CUPS 1.5.4 is also available for openSUSE:Evergreen:11.4 from the OBS project "Printing".
Becausew you are an experienced openSUSE user I would recommend that you try out if CUPS 1.5.4 for openSUSE:Evergreen:11.4 from the OBS project "Printing" works on your system.
If you agree, please provide feedback whether or not it works.
Short: It works! Long: See results-File from cups "make test" "Basic conformance test, torture load testing" with stripped page_log, error_log, access_log. My own testsuite is green on every test (own backends, env-passing, converting, mime-type,...) Huge files passing cups-lpd as expected. Some speed tests (lptat -v | wc -l = 1097): SRC=DST cups-1.5.4-144.1.x86_64 bin/cups_testspeed -c 5 -r 100 localhost testspeed: 5x100=500 requests in 57.0s (0.114s/r, 8.8r/s) bin/cups_testspeed -c 200 -r 5 localhost testspeed: 200x5=1000 requests in 232.0s (0.232s/r, 4.3r/s) SRC cups-1.4.6-7.8.9.x86_64 DST cups-1.5.4-144.1.x86_64 bin/cups_testspeed -c 5 -r 100 remote-server testspeed: 5x100=500 requests in 46.0s (0.092s/r, 10.9r/s) bin/cups_testspeed -c 200 -r 5 remote-server testspeed: 200x5=1000 requests in 80.0s (0.080s/r, 12.5r/s) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com