Hide Forgot
Description of problem: try to create class with two IPP printers Version-Release number of selected component (if applicable): rhel69 nightly/ cups-1.4.2-76.el6.x86_64 system-config-printer-1.1.16-26.el6.x86_64 How reproducible: always, its not a regression it happens also in rhel68 Steps to Reproduce: 1.have a 2 printers, created via s-c-printer > find > browse local printer server # lpstat -v printer1 device for printer1: ipp://s01.brq.redhat.com:631/printers/brno1-5th-cafe-en # lpstat -v printer-root device for printer-root: ipp://s01.brq.redhat.com:631/printers/brno2-1st-rec 2. create class with 1 printer: (via s-c-printer): [root@localhost ~]# lpstat -c class members of class class: printer1 3. try to add second printer into class: [root@localhost ~]# lpadmin -p printer-root -c class lpadmin: The printer or class was not found. [root@localhost ~]# echo $? 1 # error, s-c-printer has similar error 4. try again, and see what happens: [root@localhost ~]# lpadmin -p printer-root -c class [root@localhost ~]# lpstat -c class members of class class: printer-root Actual results: it somehow switches one printer for another Expected results: class should be with two printers Additional info: Its only for this ipp printer searched via s-c-p. If you try to add printer created via socket it works.
STEP 3: D [25/Oct/2016:04:24:31 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:31 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:31 -0400] Report: clients=1 D [25/Oct/2016:04:24:31 -0400] Report: jobs=1 D [25/Oct/2016:04:24:31 -0400] Report: jobs-active=0 D [25/Oct/2016:04:24:31 -0400] Report: printers=5 D [25/Oct/2016:04:24:31 -0400] Report: printers-implicit=0 D [25/Oct/2016:04:24:31 -0400] Report: stringpool-string-count=487 D [25/Oct/2016:04:24:31 -0400] Report: stringpool-alloc-bytes=6216 D [25/Oct/2016:04:24:31 -0400] Report: stringpool-total-bytes=10712 D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 POST / HTTP/1.1 D [25/Oct/2016:04:24:31 -0400] cupsdSetBusyState: Active clients D [25/Oct/2016:04:24:31 -0400] cupsdAuthorize: No authentication data provided. D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 1.1 Get-Printer-Attributes 1 D [25/Oct/2016:04:24:31 -0400] Get-Printer-Attributes ipp://localhost/classes/class D [25/Oct/2016:04:24:31 -0400] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/classes/class) from localhost D [25/Oct/2016:04:24:31 -0400] cupsdSetBusyState: Not busy D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 POST /admin/ HTTP/1.1 D [25/Oct/2016:04:24:31 -0400] cupsdSetBusyState: Active clients D [25/Oct/2016:04:24:31 -0400] cupsdAuthorize: No authentication data provided. D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 1.1 CUPS-Add-Modify-Class 1 D [25/Oct/2016:04:24:31 -0400] CUPS-Add-Modify-Class ipp://localhost/classes/class D [25/Oct/2016:04:24:31 -0400] cupsdIsAuthorized: username="" D [25/Oct/2016:04:24:31 -0400] Returning HTTP Unauthorized for CUPS-Add-Modify-Class (ipp://localhost/classes/class) from localhost D [25/Oct/2016:04:24:31 -0400] cupsdSendHeader: 13 WWW-Authenticate: Basic realm="CUPS", trc="y" D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:31 -0400] cupsdCloseClient: 13 D [25/Oct/2016:04:24:31 -0400] cupsdSetBusyState: Not busy D [25/Oct/2016:04:24:31 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:31 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:31 -0400] cupsdCloseClient: 13 D [25/Oct/2016:04:24:31 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:31 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 POST /admin/ HTTP/1.1 D [25/Oct/2016:04:24:31 -0400] cupsdSetBusyState: Active clients D [25/Oct/2016:04:24:31 -0400] cupsdAuthorize: Authorized as root using PeerCred D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 1.1 CUPS-Add-Modify-Class 1 D [25/Oct/2016:04:24:31 -0400] CUPS-Add-Modify-Class ipp://localhost/classes/class D [25/Oct/2016:04:24:31 -0400] cupsdIsAuthorized: username="root" D [25/Oct/2016:04:24:31 -0400] CUPS-Add-Modify-Class client-error-not-found: The printer or class was not found. D [25/Oct/2016:04:24:31 -0400] Returning IPP client-error-not-found for CUPS-Add-Modify-Class (ipp://localhost/classes/class) from localhost D [25/Oct/2016:04:24:31 -0400] cupsdSetBusyState: Not busy D [25/Oct/2016:04:24:31 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:31 -0400] cupsdCloseClient: 13 STEP 4: D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 POST / HTTP/1.1 D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Active clients D [25/Oct/2016:04:24:36 -0400] cupsdAuthorize: No authentication data provided. D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 1.1 Get-Printer-Attributes 1 D [25/Oct/2016:04:24:36 -0400] Get-Printer-Attributes ipp://localhost/classes/class D [25/Oct/2016:04:24:36 -0400] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/classes/class) from localhost D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Not busy D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 POST /admin/ HTTP/1.1 D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Active clients D [25/Oct/2016:04:24:36 -0400] cupsdAuthorize: No authentication data provided. D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 1.1 CUPS-Add-Modify-Class 1 D [25/Oct/2016:04:24:36 -0400] CUPS-Add-Modify-Class ipp://localhost/classes/class D [25/Oct/2016:04:24:36 -0400] cupsdIsAuthorized: username="" D [25/Oct/2016:04:24:36 -0400] Returning HTTP Unauthorized for CUPS-Add-Modify-Class (ipp://localhost/classes/class) from localhost D [25/Oct/2016:04:24:36 -0400] cupsdSendHeader: 13 WWW-Authenticate: Basic realm="CUPS", trc="y" D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:36 -0400] cupsdCloseClient: 13 D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Not busy D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:36 -0400] cupsdCloseClient: 13 D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 POST /admin/ HTTP/1.1 D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Active clients D [25/Oct/2016:04:24:36 -0400] cupsdAuthorize: Authorized as root using PeerCred D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 1.1 CUPS-Add-Modify-Class 1 D [25/Oct/2016:04:24:36 -0400] CUPS-Add-Modify-Class ipp://localhost/classes/class D [25/Oct/2016:04:24:36 -0400] cupsdIsAuthorized: username="root" D [25/Oct/2016:04:24:36 -0400] cupsdRegisterPrinter(p=0x7feb71c0ec70(class)) D [25/Oct/2016:04:24:36 -0400] cupsdMarkDirty(-C----) D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Active clients and dirty files D [25/Oct/2016:04:24:36 -0400] cupsdMarkDirty(---p--) D [25/Oct/2016:04:24:36 -0400] Discarding unused printer-modified event... I [25/Oct/2016:04:24:36 -0400] Class "class" modified by "root". D [25/Oct/2016:04:24:36 -0400] Returning IPP successful-ok for CUPS-Add-Modify-Class (ipp://localhost/classes/class) from localhost D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Dirty files D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:36 -0400] cupsdCloseClient: 13 D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 POST / HTTP/1.1 D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Active clients and dirty files D [25/Oct/2016:04:24:36 -0400] cupsdAuthorize: No authentication data provided. D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 1.1 Get-Jobs 1 D [25/Oct/2016:04:24:36 -0400] Get-Jobs ipp://localhost/printers/ D [25/Oct/2016:04:24:36 -0400] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Dirty files D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:36 -0400] cupsdCloseClient: 13 D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: skipping getpeercon() D [25/Oct/2016:04:24:36 -0400] cupsdAcceptClient: 13 from localhost (Domain) D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 POST / HTTP/1.1 D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Active clients and dirty files D [25/Oct/2016:04:24:36 -0400] cupsdAuthorize: No authentication data provided. D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 1.1 Get-Notifications 1 D [25/Oct/2016:04:24:36 -0400] Get-Notifications / D [25/Oct/2016:04:24:36 -0400] cupsdIsAuthorized: requesting-user-name="petr" D [25/Oct/2016:04:24:36 -0400] Returning IPP successful-ok for Get-Notifications (/) from localhost D [25/Oct/2016:04:24:36 -0400] cupsdSetBusyState: Dirty files D [25/Oct/2016:04:24:36 -0400] cupsdReadClient: 13 WAITING Closing on EOF D [25/Oct/2016:04:24:36 -0400] cupsdCloseClient: 13 I [25/Oct/2016:04:25:08 -0400] Saving classes.conf... I [25/Oct/2016:04:25:08 -0400] Generating printcap /etc/printcap... D [25/Oct/2016:04:25:08 -0400] cupsdSetBusyState: Not busy
Red Hat Enterprise Linux 6 transitioned to the Production 3 Phase on May 10, 2017. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not appear to meet the inclusion criteria for the Production Phase 3 and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com