Bug 31772

Summary: lpinfo: Bad file descriptor
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: cups-2.4.2-3.mga9.src.rpm CVE:
Status comment:

Description Bit Twister 2023-04-06 22:59:58 CEST
Description of problem:

$ lpinfo -v
lpinfo: Bad file descriptor

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


How reproducible: Always


Steps to Reproduce:
1. Click up a terminal
2. $ lpinfo -v
Comment 1 Bit Twister 2023-04-07 18:05:11 CEST
Sorry, command hast to executed by root, and usb printer needs to be powered up.

Normal no printer.
# lpinfo -v
network http
network socket
network ipp
network beh
file cups-brf:/
network ipps
network lpd
network https

Powered up printer example:
# lpinfo -v
network http
network socket
network beh
network ipp
file cups-brf:/
network ipps
network lpd
network https
direct usb://Brother/HL-L2380DW%20series?serial=U63886G4N232108
#

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