[Bug 1094233] New: cups-exec uses execve wrong to call backend/smb
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233 Bug ID: 1094233 Summary: cups-exec uses execve wrong to call backend/smb Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Critical Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: plasmahh@gmx.net QA Contact: jsmeix@suse.com Found By: --- Blocker: --- With package
rpm -qi cups Name : cups Version : 2.3b4 Release : 1.1
from tumbleweed printing stopped working for windows server printers and upon stracing a bit I found the following: execve("/usr/lib/cups/backend/smb", ["smb://<printer URI>", "127", <other parameters>], 0x7ffe46c0c718 /* 31 vars */) = 0 which is against the conventions of using execve, according to the manpage: " By convention, the first of these strings (i.e., argv[0]) should contain the filename associated with the file being executed. " which /usr/lib/cups/backend/smb then responds to with a usage message: "Usage: smb://<printer URI> [DEVICE_URI] job-id user title copies options [file]\n The DEVICE_URI environment variable can also contain the\n destination printer:\n\n smb://[username:password@][workgroup/]server[:port]/printer\n" which indicates that it is expecting the DEVICE_URI as argv[1] instead of argv[0] ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233#c1
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233#c2
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233
http://bugzilla.opensuse.org/show_bug.cgi?id=1094233#c3
David Disseldorp
participants (1)
-
bugzilla_noreply@novell.com