Arch Linux

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!
Tasklist

FS#31921 - [hplip] tries to use /etc/init.d/cups

Attached to Project: Arch Linux
Opened by tdy (tdy) - Friday, 12 October 2012, 22:31 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 13 October 2012, 06:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:

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.

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  Andreas Radke (AndyRTR)
Saturday, 13 October 2012, 06:56 GMT
Reason for closing:  Fixed
Comment by tdy (tdy) - Friday, 12 October 2012, 22:33 GMT
Bah.. wrong project....

Loading...