Bug 25369 - systemctl status configure-printer@usb-006-002.service returns: fails
Summary: systemctl status configure-printer@usb-006-002.service returns: fails
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Base system maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-28 16:37 CEST by peter lawford
Modified: 2021-09-07 14:10 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description peter lawford 2019-08-28 16:37:58 CEST
Description of problem:
I have a aio HP printer-scanner officejet 7300, bus 006 device 002:

[alain4@mga6-64 ~]$ lsusb | grep HP
Bus 006 Device 002: ID 03f0:4211 HP, Inc OfficeJet 7300 series

the printer as the scanner work fine; but:

[root@mga6-64 alain4]# systemctl status configure-printer@usb-006-002.serviceconfigure-printer@usb-006-002.service - Configure Plugged-In Printer
   Loaded: loaded (/usr/lib/systemd/system/configure-printer@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-08-28 15:38:44 CEST; 10min ago
 Main PID: 11879 (code=exited, status=1/FAILURE)
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: add usb-006-002
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: device devpath is /devices/pci0000:00/0000:00:1a.1/usb6/6-1
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: Device vendor/product is 03F0:4211
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: MFG:HP MDL:Officejet 7300 series SERN:MY59EN80020407 serial:MY59EN80020407
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: CheckAndInstallDrivers()
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: CheckInstalledDrivers()
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: MissingDriver()
août 28 15:38:44 mga6-64 udev-configure-printer[11879]: FAIL HERE
août 28 15:38:44 mga6-64 systemd[1]: configure-printer@usb-006-002.service: Main process exited, code=exited, status=1/FAILURE
août 28 15:38:44 mga6-64 systemd[1]: configure-printer@usb-006-002.service: Failed with result 'exit-code'.

If I type the command start, I don't get any error message:

[root@mga6-64 alain4]# systemctl start configure-printer@usb-006-002.service
[root@mga6-64 alain4]# 

but it doesn't change anything 

[root@mga6-64 alain4]# systemctl status configure-printer@usb-006-002.serviceconfigure-printer@usb-006-002.service - Configure Plugged-In Printer
   Loaded: loaded (/usr/lib/systemd/system/configure-printer@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-08-28 16:31:34 CEST; 1min 34s ago
  Process: 22806 ExecStart=/usr/lib/udev/udev-configure-printer add usb-006-002 (code=exited, status=1/FAILURE)
 Main PID: 22806 (code=exited, status=1/FAILURE)

août 28 16:31:34 mga6-64 udev-configure-printer[22806]: août 28 15:40:26 mga6-64 cupsd[4199]: HP-Officejet-7300-series alain4 1147 [28/Aug/2019:15:40:26 +0200] tot>
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: device devpath is /devices/pci0000:00/0000:00:1a.1/usb6/6-1
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: Device vendor/product is 03F0:4211
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: MFG:HP MDL:Officejet 7300 series SERN:MY59EN80020407 serial:MY59EN80020407
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: CheckAndInstallDrivers()
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: CheckInstalledDrivers()
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: MissingDriver()
août 28 16:31:34 mga6-64 udev-configure-printer[22806]: FAIL HERE
août 28 16:31:34 mga6-64 systemd[1]: configure-printer@usb-006-002.service: Main process exited, code=exited, status=1/FAILURE
août 28 16:31:34 mga6-64 systemd[1]: configure-printer@usb-006-002.service: Failed with result 'exit-code'.






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


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2019-08-28 22:09:13 CEST
Peter
Despite the details you provide above, you do not say what the actual problem is.
What prompted you to do (which is unusual):
 # systemctl status configure-printer@usb-006-002.service
Noting that the device works as a scanner, are we to understand that you cannot add it as a printer? That the failure relates to trying to do so? Did you use Mageia's printer configuration? Did you try with CUPS?

CC: (none) => lewyssmith

Comment 2 Frank Griffin 2019-08-28 23:28:20 CEST
I haven't done detailed debugging for this (I've been having other HP problems) but I can confirm that for my HP 3030 MF configure-printer fails during boot ("[FAILED]" status as boot messages roll by).

CC: (none) => ftg

Comment 3 peter lawford 2019-08-29 00:22:08 CEST
(In reply to Lewis Smith from comment #1)
> Peter
> Despite the details you provide above, you do not say what the actual
> problem is.
> What prompted you to do (which is unusual):
>  # systemctl status configure-printer@usb-006-002.service
> Noting that the device works as a scanner, are we to understand that you
> cannot add it as a printer? That the failure relates to trying to do so? Did
> you use Mageia's printer configuration? Did you try with CUPS?

sorry to have been not so explicit: my aio 7300 officejet HP works very well, both as printer and as scanner; I can enable or disable all options(recto-verso printing, draft or normal or best, and so on...)
the problem is WHY systemctl tells me that the printer config fails if it is not the case?
this system (mga6-64), which is mga7, is an update of a mga6 system (thanks to T. Backlund, I have solved the problem of the pkg filesystem), and this printer was graphically configured a long time ago with mcc.
During the mga6 period, it worked very well too.
Comment 4 Lewis Smith 2019-08-29 22:23:07 CEST
Thank you Frank for reporting that your HP 3030 MF pops a similar failure, despite which (other problems apart, seperately bugged) it nominally works.

@Peter: thank you for your clarification.
> my aio 7300 officejet HP works very well, both as printer and as scanner
So the printer works correctly. That is the main thing.

> the problem is WHY systemctl tells me that the printer config fails if it
> is not the case?
In the light of this, assigning the bug to basesystem maintainers.

Assignee: bugsquad => basesystem
CC: lewyssmith => (none)

Comment 5 Marja Van Waes 2021-09-07 14:10:13 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

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


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