Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31922 - [hplip] tries to use /etc/init.d/cups
Attached to Project:
Arch Linux
Opened by tdy (tdy) - Friday, 12 October 2012, 22:43 GMT
Last edited by Allan McRae (Allan) - Saturday, 13 October 2012, 01:00 GMT
Opened by tdy (tdy) - Friday, 12 October 2012, 22:43 GMT
Last edited by Allan McRae (Allan) - Saturday, 13 October 2012, 01:00 GMT
|
DetailsDescription (hplip 3.12.10a-1):
While installing the printer, hp-setup restarts the cups daemon. It hardcodes the daemon script as either /etc/init.d/cups or /etc/init.d/cupsys, so the setup always fails on Arch. [lines 120-131 in /usr/share/hplip/setup.py] def restart_cups(): if os.path.exists('/etc/init.d/cups'): return '/etc/init.d/cups restart' elif os.path.exists('/etc/init.d/cupsys'): return '/etc/init.d/cupsys restart' else: return 'killall -HUP cupsd' Steps to reproduce: # hp-setup -i IP_ADDRESS Please enter a name for this print queue (m=use model name:'HP_LaserJet_400_MFP_M425dn'*, q=quit) ? Using queue name: HP_LaserJet_400_MFP_M425dn Locating PPD file... Please wait. Found PPD file: lsb/usr/HP/hp-laserjet_400_mfp_m425-ps.ppd.gz Enter a location description for this printer (q=quit) ? Enter additonal information or notes for this printer (q=quit) ? Adding print queue to CUPS: Device URI: hp:/net/HP_LaserJet_400_MFP_M425dn?ip=IP_ADDRESS Queue name: HP_LaserJet_400_MFP_M425dn PPD file: lsb/usr/HP/hp-laserjet_400_mfp_m425-ps.ppd.gz Location: Information: error: Printer queue setup failed. Please restart CUPS and try again. |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 13 October 2012, 01:00 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#31921
Saturday, 13 October 2012, 01:00 GMT
Reason for closing: Duplicate
Additional comments about closing:
hplip-rcd.diff