Bug 4673 - lpstat -a output broken
Summary: lpstat -a output broken
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: mga2-32-OK mga2-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-02-24 11:48 CET by Guillaume Rousse
Modified: 2012-06-19 22:20 CEST (History)
4 users (show)

See Also:
Source RPM: cups
CVE:
Status comment:


Attachments

Description Guillaume Rousse 2012-02-24 11:48:09 CET
lpstat -a just output blank lines. 

Sniffing traffic with cups server shows than server response is OK, but strace shows than lpstat just output end of lines:
...
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0
write(1, "\n", 1
)                       = 1
Manuel Hiebel 2012-02-24 21:48:03 CET

Assignee: bugsquad => dmorganec
Source RPM: (none) => cups

michel tyteca 2012-03-21 09:30:27 CET

CC: (none) => michel.tyteca

Comment 1 Marja Van Waes 2012-05-26 13:10:06 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 2 Guillaume Rousse 2012-05-30 14:22:19 CEST
Fixed in cauldron with the latest 1.5.3.

For mageia 2, this is the upstream bug report:
http://www.cups.org/str.php?L4033+Qversion:1.5

Keywords: NEEDINFO => (none)
Version: Cauldron => 2

Comment 3 Guillaume Rousse 2012-06-11 00:45:11 CEST
1.5.2-5.1.mga2 submited in core/updates_testing for mageia 2.
Comment 4 Guillaume Rousse 2012-06-11 00:48:40 CEST
Suggested advisory:

A bug in cups caused most command line tools, such as lpstat, to shows just a bunch of empty lines as output for some locales. The corrected package fixes this issue.

Assignee: dmorganec => qa-bugs

Comment 5 Juergen Harms 2012-06-12 15:19:49 CEST
Picking this up for QA testing on x86-64 and i586

CC: (none) => juergen.harms

Comment 6 Juergen Harms 2012-06-12 16:14:10 CEST
Tested on x86-64 and i586

With LC_MESSAGES = DE.de: before installing update, lpstat -a or lpstat -t both print a couple of empty lines. With the update package installed the result is correct.

No regression observed when installing a new printer and using it


Advisory:
---------

A bug in cups caused most command line tools, such as lpstat, to shows just a
bunch of empty lines as output for some locales. The corrected package fixes
this issue.


SRPM:
-----
cups-1.5.2-5.1.mga2.src.rpm


Sysadmin: please push the package from updates_testing to updates

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: (none) => mga2-32-OK mga2-64-OK

Comment 7 Thomas Backlund 2012-06-19 22:20:25 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0074

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


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