[Bug 619648] New: Unable to add smb/cifs repository via YaST Software Repositories
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c0 Summary: Unable to add smb/cifs repository via YaST Software Repositories Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: 32bit OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: malcolm_lewis@bellsouth.net QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=373602) --> (http://bugzilla.novell.com/attachment.cgi?id=373602) YaST Server and Directory Screen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100611 SUSE/3.6.4-3.2 Firefox/3.6.4 Cannot add local network smb/cifs mount of the RC2 iso image via YaST software management. Reproducible: Always Steps to Reproduce: 1. Open YaST Software Repositories and select add. 2. Select SMB/CIFS and fill in details for server, directory and select iso image (See image YaST_Server_Directory1.png) 3. Select OK 4. Error occurs and need to press skip to continue. Actual Results: - Error encountered, unable to verify media mounted (see image YaST2-Error.png), skip and return to Server and Directory Screen.5. - Now part of the path is added into the share name?? (See image YaST_Server_Directory2.png) Expected Results: Local network smb/cifs mount point added to repository list as an iso image; iso:///?iso=openSUSE-DVD-Build0694-i586.iso&url=smb://muppet-nas200/repositories/iso/ Also expected to see four buttons (see first image), this is on a netbook ASUS 1000HE, had to work blind to find OK button (four tabs, then enter) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c1 --- Comment #1 from Malcolm Lewis <malcolm_lewis@bellsouth.net> 2010-07-02 19:19:43 UTC --- Created an attachment (id=373603) --> (http://bugzilla.novell.com/attachment.cgi?id=373603) YaST Error -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c2 --- Comment #2 from Malcolm Lewis <malcolm_lewis@bellsouth.net> 2010-07-02 19:20:21 UTC --- Created an attachment (id=373604) --> (http://bugzilla.novell.com/attachment.cgi?id=373604) YaST Server and Directory Screen #2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |lslezak@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c4 Steve Wesemeyer <swesemeyer@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swesemeyer@hotmail.com --- Comment #4 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-08-11 20:53:54 UTC --- I have just hit the same problem. My router hosts an update repository for 11.3 which is made available as an smb share. I can access the share from Dolphin with no problems using smb://192.168.1.1/www/opensuse/updates/11.3 However, entering the exact same url in Yast2 when adding a repository fails with this error message: Failed to mount //192.168.1.1/www on /var/adm/mount/AP_0x00000001: Unable to verify that the media was mounted According to the y2logs it mounts it successfully but then fails to find it in the mount table. Not quite sure but it looks as if the entry is there but the zypp++ process fails to match it properly I have attached the appropriate section of the y2log -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619648 http://bugzilla.novell.com/show_bug.cgi?id=619648#c5 --- Comment #5 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-08-11 20:59:48 UTC --- Created an attachment (id=382372) --> (http://bugzilla.novell.com/attachment.cgi?id=382372) y2log with the smb problem -- Configure bugmail: http://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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c6 --- Comment #6 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-09-06 19:04:31 UTC --- I don't know which update fixed this but I just checked this again and it appears to work now. -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c7 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Ladislav Slezak <lslezak@novell.com> 2010-09-09 14:34:44 UTC --- OK, thank you for retesting. Closing as FIXED. -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c8 Steve Wesemeyer <swesemeyer@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-09-09 20:38:10 UTC --- Ladislav, Sorry but I have just worked out why it started working on some of my machines. It seems to be a missing dependency because as soon as I install the base development pattern it works. On machines without this installed, it still doesn't work even with the latest updates. Thus reopening. -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c9 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |libzypp AssignedTo|lslezak@novell.com |zypp-maintainers@forge.prov | |o.novell.com QAContact|jsrain@novell.com |qa@suse.de --- Comment #9 from Ladislav Slezak <lslezak@novell.com> 2010-09-10 07:28:43 UTC --- Really? Installing "base development" pattern? That's strange, the pattern doesn't contain anything relevant to SMB/CIFS I would say. Anyway, mounting is completely handled by libzypp. Excerpt from the log: 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] ExternalProgram.cc(start_program):221 Executing '/bin/mount' '-t' 'cifs' '-o' 'guest,ro' '//192.168.1.1/www' '/var/adm/mount/AP_0x00000001' 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] ExternalProgram.cc(start_program):373 pid 7641 launched 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] ExternalProgram.cc(checkStatus):431 Pid 7641 successfully completed 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] Mount.cc(Status):260 exit code: 0 2010-08-11 21:34:32 <1> suse113(7591) [zypp] Mount.cc(mount):156 mounted //192.168.1.1/www /var/adm/mount/AP_0x00000001 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] MediaHandler.cc(checkAttached):520 Forced check of the mount table 2010-08-11 21:34:32 <1> suse113(7591) [zypp] MediaHandler.cc(checkAttached):588 Looking for media(cifs<//192.168.1.1/www>)attached(*/var/adm/mount/AP_0x00000001) 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] MediaHandler.cc(checkAttached):595 MountEntries: { 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] MediaHandler.cc(checkAttached):595 /dev/sda10 on / type ext4 (rw,acl,user_xattr) [...] 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] MediaHandler.cc(checkAttached):595 //192.168.1.1/www/ on /var/adm/mount/AP_0x00000001 type cifs (ro,mand) 2010-08-11 21:34:32 <1> suse113(7591) [zypp++] MediaHandler.cc(checkAttached):595 } 2010-08-11 21:34:32 <2> suse113(7591) [zypp] MediaHandler.cc(checkAttached):606 Attached media not in mount table ... So the mount succeeded, but libzypp failed to verify that. -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c10 --- Comment #10 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-09-10 12:25:48 UTC --- Ladislav, I agree it's strange but last night I tried to add my smb repo to one of my laptops and it wouldn't work. The only difference between it and the one on which it worked was the fact that I had installed the base development pattern on the one that worked. I installed the base pattern on the one that didn't work and "bingo", I could add the repository. Strange but true. At least it should now be easier to reproduce the error as I can image that you guys always have the base dev pattern installed by default and wouldn't have encountered this as a result... -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c11 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |malcolm_lewis@bellsouth.net --- Comment #11 from Ladislav Slezak <lslezak@novell.com> 2010-09-13 14:34:46 UTC --- Steve, could you figure out which particular package is needed? I suggest selecting the dev pattern, checking the installation overview and saving the list to a file. Then we could check the list of added packages and find the package which fixes the problem. (If it's not clear from the list you will be probably asked to install packages one by one to find it.) Thank you! -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c12 Steve Wesemeyer <swesemeyer@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|malcolm_lewis@bellsouth.net | --- Comment #12 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-09-13 20:28:58 UTC --- Ladislav, Unfortunately, I have already installed the basic dev pattern on all my machines so I won't be able to test this anymore. Well, as far as I am concerned, I have a workaround and it doesn't seem to affect too many people in the first place. Feel free to close this bug report. If I ever figure out which package(s) were the crucial ones, I'll update this report. -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c13 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |swesemeyer@hotmail.com --- Comment #13 from Michael Andres <ma@novell.com> 2010-09-14 11:56:20 CEST --- @Steve: Among other lines, 'grep checkAttached y2log' shows: Looking for media(cifs<//192.168.1.1/www>)attached(*/var/adm/mount/AP_0x00000001) MountEntries: { ... //192.168.1.1/www/ on /var/adm/mount/AP_0x00000001 type cifs (ro,mand) It would be interesting to know if now, as it works for you, the mount entry lines look different? If so, it's probably easy to fix the verification code even if we don't know the package that causes the change. -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c14 Steve Wesemeyer <swesemeyer@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|swesemeyer@hotmail.com | --- Comment #14 from Steve Wesemeyer <swesemeyer@hotmail.com> 2010-09-15 21:58:57 UTC --- Created an attachment (id=389840) --> (http://bugzilla.novell.com/attachment.cgi?id=389840) y2log with smb working This extract shows the smb mount working. I hope it includes all the debug info you were looking for. What I did was to remove the smb repo and then add it again. Please let me know if you need any further info. Cheers -- 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=619648 https://bugzilla.novell.com/show_bug.cgi?id=619648#c16 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |DUPLICATE --- Comment #16 from Michael Andres <ma@suse.com> 2011-09-19 13:17:30 CEST --- It's the 'trailing '/' problem; media(cifs<//192.168.1.1/www <- no / vs. MountEntries: { ... //192.168.1.1/www/ <- one / *** This bug has been marked as a duplicate of bug 710269 *** http://bugzilla.novell.com/show_bug.cgi?id=710269 -- 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