[Bug 784978] New: Setting workgroup for smb share causes wrong file to be requested for the repository
https://bugzilla.novell.com/show_bug.cgi?id=784978 https://bugzilla.novell.com/show_bug.cgi?id=784978#c0 Summary: Setting workgroup for smb share causes wrong file to be requested for the repository Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i686 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: auxsvr@yahoo.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.8 (KHTML, like Gecko) Chrome/23.0.1255.0 Safari/537.8 SUSE/23.0.1255.0 If I set the workgroup field when adding an SMB repository for an ISO file in yast, then the file requested, according to y2log, has "?workgroup=WORKGROUP" appended, which is obviously the wrong filename. If the workgroup field is empty, then the repository is created as it should. Reproducible: Always Steps to Reproduce: 1.Attempt to add a repository that is an ISO file from an SMB share. 2.Set the WORKGROUP field. Actual Results: The repository cannot be created, because the filename requested is wrong. Expected Results: The repository should be created normally and the correct ISO file should be accessed. The relevant excerpts from y2log: [zypp] MediaAccess.cc(open):234 Opened: iso(iso:///?iso=openSUSE-12.2-DVD-i586.iso?workgroup=WORK GROUP&url=smb://USERNAME:PASSWORD@192.168.1.66/users/USERNAME/library/images/ not attached; localRoot "") 2012-10-12 15:04:15 <1> server.lan(25508) [zypp++] MediaManager.cc(open):277 Opened new media access using id 2 to iso:///?iso=openSUSE-12.2-DVD-i586.iso?workgroup=WORKGROUP&url=smb://USERNAME:PASSWORD@192.168.1.66/users/USERNAME/library/images/ [zypp] Exception.cc(log):137 MediaHandler.cc(getFile):1219 THROW: File './openSUSE-12.2-DVD-i586.iso?workgroup=WORKGROUP' not found on medium 'smb://USERNAME@192.168.1.66/users/USERNAME/library/images/' -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=784978 https://bugzilla.novell.com/show_bug.cgi?id=784978#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Component|libzypp |YaST2 InfoProvider| |auxsvr@yahoo.com AssignedTo|zypp-maintainers@forge.prov |bnc-team-screening@forge.pr |o.novell.com |ovo.novell.com QAContact|qa-bugs@suse.de |jsrain@suse.com --- Comment #1 from Michael Andres <ma@suse.com> 2012-10-15 10:41:21 CEST --- The URL is IMO malformed. Query options start with a '?', but different options are separated by '&'; thus the iso value above would indeed be 'iso=openSUSE-12.2-DVD-i586.iso?workgroup=WORKGROUP'. Also 'workgroup' should be an option to the smb url, so I'd write it like this (but without indentation and newlines): iso:/// ?iso=openSUSE-12.2-DVD-i586.iso &url=smb://USERNAME:PASSWORD@192.168.1.66/users/USERNAME/library/images/ ?workgroup=WORKGROUP @John: From the description it's not obvious to me whether YAST created the URL this way, or you manually entered it? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=784978 https://bugzilla.novell.com/show_bug.cgi?id=784978#c2 John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|auxsvr@yahoo.com | --- Comment #2 from John McManaman <auxsvr@yahoo.com> 2012-10-15 09:43:59 UTC --- I selected the option "Edit parts of the URL" and filled in the "Workgroup or Domain" textbox, so it's Yast's fault! Your suggestion works fine here, thanks. It would be helpful if some documentation about the syntax appeared in Yast. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=784978 https://bugzilla.novell.com/show_bug.cgi?id=784978#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=784978 https://bugzilla.novell.com/show_bug.cgi?id=784978#c Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED Summary|Setting workgroup for smb |Setting workgroup for smb |share causes wrong file to |share causes wrong file to |be requested for the |be requested for ISO file |repository |repository -- 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.
participants (1)
-
bugzilla_noreply@novell.com