https://bugzilla.novell.com/show_bug.cgi?id=727911
https://bugzilla.novell.com/show_bug.cgi?id=727911#c8
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P3 - Medium
Status|NEEDINFO |NEW
Component|YaST2 |Printing
Platform|i686 |All
InfoProvider|msvec@suse.com |
Summary|yast2-printer or cups: |cups: initially "lpinfo -m"
|initially no PPDs found |fails with "lpinfo:
|(but later it works) |Unknown" (but a few minutes
| |later it works)
QAContact|jsrain@suse.com |jsmeix@suse.com
--- Comment #8 from Johannes Meixner 2011-11-25 12:15:43 UTC ---
I get it now on a new from scratch installed openSUSE 12.1
when I switch directly after the installation finished
to a system text console and there run as root:
# rccups status
redirecting to systemctl
cups.service - LSB: CUPS printer daemon
Loaded: loaded (/etc/init.d/cups)
Active: active (exited) since Fri, 25 Nov 2011 12:51:41 +0100; 15min ago
Process: 10493 ExecStart=/etc/init.d/cups start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/cups.service
# lpinfo -m
lpinfo: Unknown
#echo $?
1
Therefore this is not an issue in YaST because it is "lpinfo" itself
which returns with "lpinfo: Unknown" and non-zero exit code.
After a few minutes waiting "lpinfo -m" works.
In the CUPS 1.5.0 sources in systemv/lpinfo.c there is a few times
---------------------------------------------------------------------
_cupsLangPrintf(stderr, "lpinfo: %s", cupsLastErrorString());
..
return (1);
---------------------------------------------------------------------
Currently I don't know the root cause that lets lpinfo
initially fail with "lpinfo: Unknown".
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.