Bug 468442

Summary: LSPP labels are not on output when CUPS is in configure in LSPP mode
Product: [Fedora] Fedora Reporter: Matt Anderson <mra>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: paul.moore, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.9-6.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-15 10:59:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Anderson 2008-10-24 18:37:10 UTC
Description of problem:
Printouts do not have the correct banners on them.  The banner has a leading 'LSPP:' and it does not wrap when the label is too long.

Version-Release number of selected component (if applicable):
cups-1.3.9-1

How reproducible:
Whenever cups is configured to be in LSPP mode

Steps to Reproduce:
1. Set CLASSIFICATION to selinux in /etc/cups/cupsd.conf
2. restart the cups service
3. print something, it won't have the proper banners
  
Actual results:
A printout without the proper security label.

Expected results:
The printout should have a per page security label.

Additional info:
filter/common.c has a write_label_prolog() which used to be called by pstops.c, now pstops.c has its own WriteLabelProlog() which also need to be patched.

Comment 1 Tim Waugh 2008-10-30 14:43:57 UTC
Thanks for the report.  I've built a cups-1.3.9-3.fc10 package here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=68106

It seems to behave correctly for me.  Are you able to test these packages?  Fedora 10 is frozen now but I'd like to get this fix in an update.

Comment 2 Matt Anderson 2008-10-30 17:38:16 UTC
This updated build fixes the issue.

Comment 3 Bug Zapper 2008-11-26 04:12:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Tim Waugh 2008-12-15 10:59:58 UTC
This was fixed in:
  https://admin.fedoraproject.org/updates/F10/FEDORA-2008-11118