Bug 223206

Summary: yast2-printer determines and sets wrong default queue
Product: [openSUSE] openSUSE 10.2 Reporter: Johannes Meixner <jsmeix>
Component: YaST2Assignee: Michal Zugec <mzugec>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None    
Version: Beta 2 plus   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log

Description Johannes Meixner 2006-11-22 14:19:15 UTC
I have this queues:
-----------------------------------------------------------------------
# lpstat -v
device for kyo: ipp://10.10.2.182:631/ipp
device for laserjet1220: hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX
device for lj1220ps: hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX
device for Officejet_7200: hp:/net/Officejet_7200_series?ip=10.10.100.100
device for Officejet_7200_fax: hpfax:/net/Officejet_7200_series?ip=10.10.100.100
device for oj7200: ipp://10.10.11.4/printers/oj7210
----------------------------------------------------------------------

My default queue before starting yast2-printer is
-----------------------------------------------------------------------
# lpstat -d
system default destination: Officejet_7200

# grep DefaultPrinter /etc/cups/printers.conf
<DefaultPrinter Officejet_7200>

# cat /etc/cups/lpoptions 
#
-----------------------------------------------------------------------

YaST shows on the "Printer configuration" screen
that the queue "oj7200" is "Default".

I only finished YasT (i.e. I only clicked [Finish] on the
"Printer configuration" screen) but nevertheless the
default queue was changed to "oj7200":
------------------------------------------------------------------------
# lpstat -d
system default destination: oj7200

# grep DefaultPrinter /etc/cups/printers.conf
<DefaultPrinter oj7200>

# cat /etc/cups/lpoptions 
#
------------------------------------------------------------------------
Comment 1 Johannes Meixner 2006-11-22 14:20:05 UTC
Created attachment 106579 [details]
y2log

y2log for what I did above
Comment 2 Johannes Meixner 2006-11-22 14:20:33 UTC
Perhaps this is somehow related to bug #223197?
Comment 3 Johannes Meixner 2006-11-22 14:22:08 UTC
I already use yast2-printer-2.14.13-2:
# rpm -q --changelog yast2-printer | head
* Tue Nov 21 2006 - mzugec@suse.cz
- #221245 - remote printers are allowed to modify
- 2.14.13
Comment 4 Michal Zugec 2006-11-23 12:21:48 UTC
fixed