Bug 16152 - CUPS bugfix release 2.0.4
Summary: CUPS bugfix release 2.0.4
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA5-32-OK MGA5-64-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-06-20 17:21 CEST by David Walser
Modified: 2015-10-15 21:51 CEST (History)
7 users (show)

See Also:
Source RPM: cups-2.0.2-5.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2015-06-20 17:21:34 CEST
CUPS 2.0.3 has been released on June 8, fixing several bugs:
http://www.cups.org/blog.php?L1082

We already have patches for the security issues (STR#4602 and STR#4609) and one of the bugs: "The scheduler could get caught in a busy loop (STR #4605)."  The other bug fixes are relevant to this update.

Updated package uploaded for Mageia 5.

Advisory:
----------------------------------------

The CUPS package has been updated to version 2.0.3, fixing several bugs.  See
the upstream release announcement for more details.

References:
http://www.cups.org/blog.php?L1082
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
cups-2.0.3-1.mga5
cups-common-2.0.3-1.mga5
libcups2-devel-2.0.3-1.mga5
libcups2-2.0.3-1.mga5
cups-filesystem-2.0.3-1.mga5

from cups-2.0.3-1.mga5.src.rpm

Reproducible: 

Steps to Reproduce:
Comment 1 Len Lawrence 2015-06-29 18:21:15 CEST
x86_64 install.
Not sure if this is the way to test it.
Installed the packages as above and used CUPS to add two HP printers from the MCC hardware menu.
Find network printer -> HPLIP -> print test page.  OK.
Added another HP network printer and printed test page.

Used lpr to print a short text file and libreoffice to print an odt file.

CC: (none) => tarazed25

Comment 2 Dave Hodgins 2015-07-05 03:22:32 CEST
Advisory committed to svn.

CC: (none) => davidwhodgins
Whiteboard: (none) => advisory

Comment 3 William Kenney 2015-07-13 17:09:21 CEST
In VirtualBox, M5, KDE, 32-bit

Package(s) under test:
cups cups-common libcups2 cups-filesystem

default install of cups cups-common libcups2 cups-filesystem

[root@localhost wilcal]# urpmi cups
Package cups-2.0.2-5.mga5.i586 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.2-5.mga5.i586 is already installed
[root@localhost wilcal]# urpmi libcups2
Package libcups2-2.0.2-5.mga5.i586 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.2-5.mga5.noarch is already installed

Cups works locally and over the LAN.

install cups cups-common libcups2 cups-filesystem from updates_testing

[root@localhost wilcal]# urpmi cups
Package cups-2.0.3-1.mga5.i586 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.3-1.mga5.i586 is already installed
[root@localhost wilcal]# urpmi libcups2
Package libcups2-2.0.3-1.mga5.i586 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.3-1.mga5.noarch is already installed

Cups works locally and over the LAN but only after I reset up the printer

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.26-1.mga4.x86_64
virtualbox-guest-additions-4.3.26-1.mga4.x86_64

CC: (none) => wilcal.int

Comment 4 William Kenney 2015-07-13 17:09:51 CEST
In VirtualBox, M5, KDE, 64-bit

Package(s) under test:
cups cups-common lib64cups2 cups-filesystem

default install of cups cups-common lib64cups2 cups-filesystem

[root@localhost wilcal]# urpmi cups
Package cups-2.0.2-5.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.2-5.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi lib64cups2
Package lib64cups2-2.0.2-5.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.2-5.mga5.noarch is already installed

Cups works locally and over the LAN.

install cups cups-common lib64cups2 cups-filesystem from updates_testing

[root@localhost wilcal]# urpmi cups
Package cups-2.0.3-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.3-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi lib64cups2
Package lib64cups2-2.0.3-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.3-1.mga5.noarch is already installed

Cups works locally and over the LAN but only after I reset up the printer

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.26-1.mga4.x86_64
virtualbox-guest-additions-4.3.26-1.mga4.x86_64
Comment 5 William Kenney 2015-07-13 17:10:08 CEST
For some reason in order to get this upgrade working I had to
delete the old printer set up and reset up the printer again.
Comment 6 Dave Hodgins 2015-07-14 04:55:13 CEST
David Walser, any idea why it would be necessary to delete/re-add the printer?

Whiteboard: advisory => advisory feedback

Comment 7 David Walser 2015-07-14 12:08:07 CEST
That most certainly should not be necessary
Comment 8 William Kenney 2015-07-14 12:25:51 CEST
I will re-run the test on real hardware today.
Comment 9 William Kenney 2015-07-14 17:59:30 CEST
On real hardware, M5, KDE, 32-bit

Came up with the same situation on real hardware.

Here's what CUPS is reporting:

5510_on_truman_test-3  	Unknown  	Withheld  	13k  	Unknown  	stopped 
"Failed to open PPD: /etc/cups/ppd/5510_on_truman_test.ppd" 	
 
5510_on_truman_test-4  	Unknown  	Withheld  	13k  	Unknown  	stopped 
"Filter failed"

I'm not going to re-install the printer as I think that will fix the situation.
Is there anything else you want me to look at?

Intel, P4 530J 3.0 GHz, 800MHz FSB, 1MB L2, LGA 775
GigaByte  GA-81915G Pro F4  i915G  LGA 775  MoBo
Marvel Yukon 88E8001 Gigabit LAN
 Intel High Def Audio, Azalia (C-Media 9880) (snd-hda-intel)
 Intel Graphics Media Accelerator 900 (Intel 82915G)
Kingston 4GB (2 x 2GB) DDR400 PC-3200
Maxtor DiamondMax 10 6B080M0 80GB 7200 RPM 8MB Cache SATA (removable)
Kingwin KF-91-BK SATA Mobile Rack
Kingwin KF-91-T-BK SATA Mobile Rack Tray
Sony CD/DVD-RW DWQ120AB2
Comment 10 David Walser 2015-07-14 19:41:43 CEST
It's not obvious to me what the issue is.  Is the CUPS service still running?  What changes are made to the system when you do reconfigure the printer?  (Compare the contents of /etc/cups for instance).
Comment 11 William Kenney 2015-07-14 19:48:12 CEST
CUPS is still running. I can get to it using port 631 on any of the other
systems on the LAN. I don't reconfigure I just go to:

MCC -> Hardware -> Configure printing and scanning

and delete the present printer configuration then run the HP Manager and
set it up all over again. That worked in the Vbox clients and I suspect
it'll work on the hardware install too. Somebody else has to give this
a go to see if they get the same results.
Comment 12 William Kenney 2015-07-14 19:52:08 CEST
Note: I'm gonna go through a printer change here in the next couple days.
Probably won't effect this testing. Just a newer HP USB printer then my
old 5510 All-in-one.
Comment 13 David Walser 2015-07-14 19:54:11 CEST
Again, it'd be interesting to know what's different after you reconfigure it.  Setting it up with the same tool, you'd think the configuration would be the same.  If so, the issue is somewhere else.  This is an odd one.  I checked the SPEC and the cups service does get restarted on package installation, so that's not the issue.
Comment 14 Martin Volf 2015-07-14 21:33:05 CEST
@David Walser:

Please provide localization files into cups-2.0.3.mga5, which are missing (in cups-2.0.2-5.mga5 too), see https://bugs.mageia.org/show_bug.cgi?id=16321.

Missing localization files:
---------------------------
/usr/share/locale/ca/cups_ca.po
/usr/share/locale/cs/cups_cs.po
/usr/share/locale/es/cups_es.po
/usr/share/locale/fr/cups_fr.po
/usr/share/locale/it/cups_it.po
/usr/share/locale/ja/cups_ja.po
/usr/share/locale/ru/cups_ru.po

Missing man files:
------------------
/usr/share/man/man1/cups.1.gz
/usr/share/man/man1/cupstestdsc.1.gz
/usr/share/man/man1/cupstestppd.1.gz
/usr/share/man/man1/ippfind.1.gz
/usr/share/man/man1/ppdc.1.gz
/usr/share/man/man1/ppdhtml.1.gz
.
.
.

Compare it with example here: http://pkgs.org/fedora-22/fedora-updates-x86_64/cups-2.0.3-1.fc22.x86_64.rpm.html

Thanks!

CC: (none) => yullaw

Comment 15 David Walser 2015-07-14 22:28:45 CEST
Files from other languages not being installed is normal if you don't have those languages enabled.  Are the missing man files there in the Cauldron build?  I may have to resync it since I know there were some changes there.
Comment 16 James Kerr 2015-07-28 09:20:56 CEST
On mga5-64, real hardware, I did not have to reset the printer:

I installed the updates:

urpmi --search-media "Core Updates Testing" cups
Marking cups as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Updates Testing (private5)")
  cups                           2.0.3        1.mga5        x86_64  
  cups-common                    2.0.3        1.mga5        x86_64  
  cups-filesystem                2.0.3        1.mga5        noarch  
  lib64cups2                     2.0.3        1.mga5        x86_64  
130KB of additional disk space will be used.
7.1MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n)
 

I was then able to print a .odt file immediately. For me this update is OK.
Comment 17 Herman Viaene 2015-10-10 14:51:48 CEST
MGA-5-64 on HP Probook 6555b KDE Broadcom wifi (latest driver version as of today)
MGA-5-32 on Acer D620 Xfce Qualcom wifi
No installation issues.
On both platforms wireless HP printer could be configured from MCC. OK for me.

CC: (none) => herman.viaene
Whiteboard: advisory feedback => advisory feedback MGA5-64-OK MGA5-32-OK

Comment 18 David Walser 2015-10-13 20:49:13 CEST
CUPS 2.0.4 has been released on July 31, fixing several bugs:
http://www.cups.org/blog.php?L1086

Let's try that and see if it works better.  I looked at the SPEC changes from Cauldron and none looked needed or desirable, so it's just a simple update to 2.0.4.

Please make sure to update the advisory in SVN.

Advisory:
----------------------------------------

The CUPS package has been updated to version 2.0.4, fixing several bugs.  See
the upstream release announcement for more details.

References:
http://www.cups.org/blog.php?L1082
http://www.cups.org/blog.php?L1086
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
cups-2.0.4-1.mga5
cups-common-2.0.4-1.mga5
libcups2-devel-2.0.4-1.mga5
libcups2-2.0.4-1.mga5
cups-filesystem-2.0.4-1.mga5

from cups-2.0.4-1.mga5.src.rpm

Summary: CUPS bugfix release 2.0.3 => CUPS bugfix release 2.0.4
Whiteboard: advisory feedback MGA5-64-OK MGA5-32-OK => (none)

Comment 19 Herman Viaene 2015-10-14 15:07:45 CEST
MGA5-32 on AcerD620 Xfce
First removed printer from MCC.
No installation issues.
Then used MCC to detect and install printer HP-Officejet-Pro-800-2 again, worked like a breeze . Testpage prints OK

Whiteboard: (none) => MGA5-32-OK

Comment 20 James Kerr 2015-10-14 17:03:09 CEST
Testing on mga5-64

urpmi --searchmedia "Core Updates Testing" cups cups-common lib64cups2 
cups-filesystem

installing lib64cups2-2.0.4-1.mga5.x86_64.rpm cups-2.0.4-1.mga5.x86_64.rpm 
cups-filesystem-2.0.4-1.mga5.noarch.rpm cups-common-2.0.4-1.mga5.x86_64.rpm 


Printing works fine on an HP Deskjet 1000, locally and on the network from mga5 
and Windows 10

OK for me on mga5-64.

I've not added an OK to the whiteboard, since I think we should wait for wilcal 
to test this update. The problems that he reported with 2.0.3  are the reason 
that update was never released.
Comment 21 David Walser 2015-10-14 23:42:11 CEST
Worked fine for me on Mageia 5 i586 printing to a Xerox over the LAN via the JetDirect protocol.  It sounded like that's what wilcal was doing before.  Hopefully this will work for him.
Comment 22 Lewis Smith 2015-10-15 13:56:34 CEST
Testing Mag5 x64 real hardware; printer KonicaMinolta Magicolor 1600w

BEFORE the update, installed the printer using issued CUPS etc. Printed the test page, and some real pages from a large PDF document.

AFTER the update:
 cups-2.0.4-1.mga5
 cups-common-2.0.4-1.mga5
 cups-filesystem-2.0.4-1.mga5
 lib64cups2-2.0.4-1.mga5
Printed more pages from the same document. No problems at all like needing to reset or re-install the printer (although I had turned it off for the update).
I think we should x64 OK this unless Bill [Kenney] finds a problem. The test in Comment 20 was tougher than mine.

CC: (none) => lewyssmith

Comment 23 William Kenney 2015-10-15 18:46:43 CEST
In VirtualBox, M5, KDE, 64-bit

Package(s) under test:
cups cups-common lib64cups2 cups-filesystem

default install of cups cups-common lib64cups2 cups-filesystem

[root@localhost wilcal]# urpmi cups
Package cups-2.0.2-5.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.2-5.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi lib64cups2
Package lib64cups2-2.0.2-5.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.2-5.mga5.noarch is already installed

Cups works locally and over the LAN.

install cups cups-common lib64cups2 cups-filesystem from updates_testing

[root@localhost wilcal]# urpmi cups
Package cups-2.0.4-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.4-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi lib64cups2
Package lib64cups2-2.0.4-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.4-1.mga5.noarch is already installed

Cups works locally and over the LAN but only after I reset up the printer.
For me the reset-up is no biggie. But I'm not so sure for the common user.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 5 64-bit, Nvidia driver
virtualbox-5.0.6-1.mga4.x86_64
virtualbox-guest-additions-5.0.6-1.mga4.x86_64
HP Envy 4502 USB printer
Comment 24 David Walser 2015-10-15 18:49:10 CEST
(In reply to William Kenney from comment #23)
> Cups works locally and over the LAN but only after I reset up the printer.
> For me the reset-up is no biggie. But I'm not so sure for the common user.

Reading back over your earlier reports, I think there's an issue on your system.  Nobody else is experiencing this.  Check the ownership/permissions of the files in /etc/cups and /etc/cups/ppd.
Comment 25 William Kenney 2015-10-15 19:19:29 CEST
In VirtualBox, M5, KDE, 32-bit

Package(s) under test:
cups cups-common libcups2 cups-filesystem

default install of cups cups-common libcups2 cups-filesystem

[root@localhost wilcal]# urpmi cups
Package cups-2.0.2-5.mga5.i586 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.2-5.mga5.i586 is already installed
[root@localhost wilcal]# urpmi libcups2
Package libcups2-2.0.2-5.mga5.i586 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.2-5.mga5.noarch is already installed

Cups works locally and over the LAN.

install cups cups-common libcups2 cups-filesystem from updates_testing

[root@localhost wilcal]# urpmi cups
Package cups-2.0.4-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-common
Package cups-common-2.0.4-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi libcups2
Package lib64cups2-2.0.4-1.mga5.x86_64 is already installed
[root@localhost wilcal]# urpmi cups-filesystem
Package cups-filesystem-2.0.4-1.mga5.noarch is already installed

Agin Cups works locally and over the LAN but only after I reset up the printer.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 5 64-bit, Nvidia driver
virtualbox-5.0.6-1.mga4.x86_64
virtualbox-guest-additions-5.0.6-1.mga4.x86_64
HP Envy 4502 USB printer
Comment 26 David Walser 2015-10-15 19:20:54 CEST
OK William, we need to save the contents of /etc/cups before the update, after the update, and after your reset up the printers, and compare and see what changes.
Comment 27 William Kenney 2015-10-15 19:23:14 CEST
Lets go ahead and let this go. What you say all?
Comment 28 David Walser 2015-10-15 19:52:49 CEST
(In reply to William Kenney from comment #27)
> Lets go ahead and let this go. What you say all?

I'm fine with it.
William Kenney 2015-10-15 20:15:29 CEST

Whiteboard: MGA5-32-OK => MGA5-32-OK MGA5-64-OK

Comment 29 William Kenney 2015-10-15 20:17:23 CEST
For me this update works fine.
Testing complete for mga5 32-bit & 64-bit
Validating the update.
Could someone from the sysadmin team push to updates.
Thanks

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 30 David Walser 2015-10-15 20:31:41 CEST
Advisory in SVN updated.

Whiteboard: MGA5-32-OK MGA5-64-OK => MGA5-32-OK MGA5-64-OK advisory

Comment 31 Rémi Verschelde 2015-10-15 21:10:41 CEST
I just established in https://bugs.mageia.org/show_bug.cgi?id=16321#c11 that the translation files for the CLI tools of cups are missing.

Should I go ahead and spin a new update candidate with those missing files (that would be the only change, i.e. added po files in /usr/share/locale/$lang/), or should I leave it be as this update candidate is already validated?
Comment 32 David Walser 2015-10-15 21:14:34 CEST
(In reply to Rémi Verschelde from comment #31)
> I just established in https://bugs.mageia.org/show_bug.cgi?id=16321#c11 that
> the translation files for the CLI tools of cups are missing.
> 
> Should I go ahead and spin a new update candidate with those missing files
> (that would be the only change, i.e. added po files in
> /usr/share/locale/$lang/), or should I leave it be as this update candidate
> is already validated?

You can fix it.
Comment 33 Rémi Verschelde 2015-10-15 21:15:21 CEST
Unvalidating for the time being then until the new packages are on the mirrors and I've updated the advisory.

Keywords: validated_update => (none)
Whiteboard: MGA5-32-OK MGA5-64-OK advisory => MGA5-32-OK MGA5-64-OK

Comment 34 Rémi Verschelde 2015-10-15 21:29:33 CEST
Advisory updated for the new cups-2.0.4-1.1.mga5.

The change is only: http://svnweb.mageia.org/packages/updates/5/cups/current/SPECS/cups.spec?r1=891928&r2=891922

I'll revalidate once I've confirmed that I could install it fine on my system.

Whiteboard: MGA5-32-OK MGA5-64-OK => MGA5-32-OK MGA5-64-OK advisory

Rémi Verschelde 2015-10-15 21:40:29 CEST

Keywords: (none) => validated_update

Comment 35 Mageia Robot 2015-10-15 21:51:47 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0156.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.