Fix for #2389 should be redone properly

Bug #9142 reported by Matt Zimmerman
4
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

The fix of patching smbspool is really just a workaround; the previous behaviour
of smbspool made more sense. Rather than smbspool preferring the environment,
cupsys should avoid passing the printer URI as the first argument (and use only
the environment). This seemed exceedingly nontrivial for Warty, however. We
should revisit it for Hoary.

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #0)
> The fix of patching smbspool is really just a workaround; the previous behaviour
> of smbspool made more sense. Rather than smbspool preferring the environment,
> cupsys should avoid passing the printer URI as the first argument (and use only
> the environment). This seemed exceedingly nontrivial for Warty, however. We
> should revisit it for Hoary.

Upstream had the same idea, this is reported as

  http://www.cups.org/str.php?L933

I filed a samba bug

  https://bugzilla.samba.org/show_bug.cgi?id=2029

to inform the smbspool developers and asked them to coordinate with the CUPS guys.

Revision history for this message
Martin Pitt (pitti) wrote :

Samba version 3.0.8 contains our approach (prefer the DEVICE_URI environment
variable) and the bugs I mentioned in the previous post suggest something
similar, so I guess this is just the way upstream solves this now.

So does it make any sense to keep this bug open?

Revision history for this message
Matt Zimmerman (mdz) wrote :

The only issue with our fix was that it changed behaviour in a way which was
divergent from upstream. If they have adopted our fix, this is a non-issue.
Thanks for handling the coordination.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.