[Bug 748439] New: yast2/zypper: "Bad media attach point" prevents refresh from repositories
https://bugzilla.novell.com/show_bug.cgi?id=748439 https://bugzilla.novell.com/show_bug.cgi?id=748439#c0 Summary: yast2/zypper: "Bad media attach point" prevents refresh from repositories Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jimoe@sohnen-moe.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 yasts/zypper can start emitting the error "bad media attach point" when refreshing repository data. The cause is an excess of temporary directories in /var/tmp/, both AP_0x* and zypp.*. There can be up to 1000 of AP_0x* dirs, and an similar number of zypp.* dirs. After deleting the zypp.* directories, updates started working again. Reproducible: Always Steps to Reproduce: 1. Wait until /var/tmp fills up with 1000s of temporary directories. 2. Run Yast::Software::Online Update, or "zypper refresh". Actual Results: All attempts to refresh fail with "bad media attach point". Expected Results: Data is retrieved from repositories. Also that temporary files and directories would be removed after their usefulness is finished. Here is the entry in <zypper.log> that gave me a clue: 2012-02-19 13:03:01 <1> sma-station11l(11666) [zypp++] MediaHandler.cc(createAttachPoint):393 Trying to create attach point in /var/adm/mount 2012-02-19 13:03:01 <3> sma-station11l(11666) [zypp] MediaHandler.cc(createAttachPoint):423 Unable to create an attach point below of /var/adm/mount 2012-02-19 13:03:01 <1> sma-station11l(11666) [zypp++] MediaHandler.cc(createAttachPoint):393 Trying to create attach point in /var/tmp 2012-02-19 13:03:01 <3> sma-station11l(11666) [zypp] MediaHandler.cc(createAttachPoint):423 Unable to create an attach point below of /var/tmp 2012-02-19 13:03:01 <5> sma-station11l(11666) [zypp] Exception.cc(log):137 MediaCurl.cc(attachTo):719 THROW: Bad media attach point: http://download.opensuse.org/distribution/12.1/repo/non-oss/ When I looked in /var/adm/mount/ and /var/tmp/, I found the huge number of temporary dirs. -- 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=748439 https://bugzilla.novell.com/show_bug.cgi?id=748439#c1 --- Comment #1 from James Moe <jimoe@sohnen-moe.com> 2012-02-23 17:54:55 UTC --- I can update the computer using the command line "zypper update". However, I cannot use Yast::Software::Online Update; it emits this error: YaST got signal 11 at YCP file OnlineUpdateCallbacks.ycp:515 /sbin/yast2: line 427: 7106 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS This occurs during the phase "Refresh software repositories". Also, in the two days since I cleaned the /var/tmp/ directory, over 850 temporary files have been created and abandoned. The prefixes are "AP_0x00*", "TmpDir.*" and "zypp.*". -- 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=748439 https://bugzilla.novell.com/show_bug.cgi?id=748439#c2 kk zhang <kkzhang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |kkzhang@novell.com InfoProvider| |jimoe@sohnen-moe.com --- Comment #2 from kk zhang <kkzhang@novell.com> 2012-03-11 08:43:00 UTC --- Please attach y2log.If you are in doubt follow: http://en.opensuse.org/openSUSE:Bugreport_YaST Thanks. -- 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=748439 https://bugzilla.novell.com/show_bug.cgi?id=748439#c3 kk zhang <kkzhang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|jimoe@sohnen-moe.com | Resolution| |NORESPONSE --- Comment #3 from kk zhang <kkzhang@novell.com> 2012-04-09 09:27:56 UTC --- Long time no response.So closed.Feel free to reopen 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=748439 https://bugzilla.novell.com/show_bug.cgi?id=748439#c4 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED CC| |jengelh@medozas.de Component|YaST2 |libzypp Resolution|NORESPONSE | AssignedTo|bnc-team-screening@forge.pr |zypp-maintainers@forge.prov |ovo.novell.com |o.novell.com Summary|yast2/zypper: "Bad media |zypper: "Bad media attach |attach point" prevents |point" prevents refresh |refresh from repositories |from repositories QAContact|jsrain@suse.com |qa-bugs@suse.de --- Comment #4 from Jan Engelhardt <jengelh@medozas.de> 2012-04-13 10:44:13 UTC --- I have just run into the same. This error can occur on `zypper up` if the disk is full. -- 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=748439 https://bugzilla.novell.com/show_bug.cgi?id=748439#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |DUPLICATE --- Comment #5 from Michael Andres <ma@suse.com> 2012-04-13 14:52:13 CEST --- fixed for libzypp 10.4.0(openSUSE-12.1) *** This bug has been marked as a duplicate of bug 751221 *** http://bugzilla.novell.com/show_bug.cgi?id=751221 -- 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