|
Bugzilla – Full Text Bug Listing |
| Summary: | CUPS 1.4: yast2-printer: 'lpstat -r' results true even when cupsd is not running | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Johannes Meixner <jsmeix> |
| Component: | Printing | Assignee: | Johannes Meixner <jsmeix> |
| Status: | RESOLVED FIXED | QA Contact: | Johannes Meixner <jsmeix> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | ||
| Version: | Factory | ||
| Target Milestone: | Milestone 5 | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Must also be fixed in src/Printerlib.ycp: string local_cupsd_accessible_commandline = "/usr/bin/lpstat -h localhost -r"; must be replaced with ... "/usr/bin/lpstat -h localhost -r | grep -q 'scheduler is running'" Fixed in yast2-printer in SVN committed revision 57977. But not yet checked in as package for Factory. Submitted as yast2-printer 2.18.18 to openSUSE:Factory:
15643 State:new Creator:jsmeix When:2009-07-28T13:11:36
submit: YaST:Head/yast2-printer -> openSUSE:Factory
Comment: 'Upgraded to 2.18.18'
|
Currently I run CUPS 1.4 RC1 for testing it on my openSUSE 11.1 i386 workstation. 'lpstat -r' results true even when scheduler is not running. Therefore in yast2-printer the 'lpstat -r' tests in /usr/lib/YaST2/bin/autodetect_print_queues /usr/lib/YaST2/bin/autodetect_printers /usr/lib/YaST2/bin/create_printer_ppd_database /usr/lib/YaST2/bin/determine_printer_driver_options do no longer work and must be replaced with if $LPSTAT -h $SERVERNAME -r | grep -q 'scheduler is not running' then echo "Cannot access cupsd on '$SERVERNAME'" 1>&2 exit 2 fi