[Bug 926844] New: zypp leaves directories in /var/tmp/zypp.XXXXXX
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 Bug ID: 926844 Summary: zypp leaves directories in /var/tmp/zypp.XXXXXX Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: lmuelle@suse.com QA Contact: qa-bugs@suse.de Found By: Development Blocker: No gab:/var/tmp # ls -ld zypp.?????? | wc -l 6 Such a directory has for example the following content: zypp.bzvN4s zypp.bzvN4s/zypp-general-krpkAJfS zypp.bzvN4s/zypp-trusted-kry1ngFF zypp.bzvN4s/zypp-trusted-kry1ngFF/pubring.gpg zypp.bzvN4s/zypp-trusted-kry1ngFF/trustdb.gpg zypp.bzvN4s/zypp-trusted-kry1ngFF/pubring.gpg~ zypp.bzvN4s/zypp-trusted-kry1ngFF/secring.gpg -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 --- Comment #1 from Lars Müller <lmuelle@suse.com> --- And on an openSUSE Factory system I see the same: hip:~ # ls -d /var/tmp/zypp.* | wc -l 545 This is the most current one: hip:~ # find /var/tmp/zypp.j8M6Ab/ -ls 418226 0 drwx------ 1 root root 84 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/ 418227 0 drwx------ 1 root root 102 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/zypp-trusted-krfeZlxw 418233 4 -rw------- 1 root root 1200 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/zypp-trusted-krfeZlxw/trustdb.gpg 418236 0 drwx------ 1 root root 0 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/zypp-trusted-krfeZlxw/private-keys-v1.d 418242 8 -rw-r--r-- 1 root root 6627 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/zypp-trusted-krfeZlxw/pubring.kbx~ 418243 8 -rw-r--r-- 1 root root 7110 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/zypp-trusted-krfeZlxw/pubring.kbx 418228 0 drwx------ 1 root root 0 Apr 11 13:09 /var/tmp/zypp.j8M6Ab/zypp-general-krkgvBtR -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 --- Comment #2 from Lars Müller <lmuelle@suse.com> --- hip:~ # ls -d /var/tmp/TmpDir.?????? | wc -l 225 The most recent one has: hip:~ # find /var/tmp/TmpDir.cwWUfa/ -ls 417078 0 drwx------ 1 root root 44 Apr 10 17:49 /var/tmp/TmpDir.cwWUfa/ 417080 4 -rw------- 1 root root 32 Apr 10 17:49 /var/tmp/TmpDir.cwWUfa/pubring.kbx 417081 4 -rw------- 1 root root 1200 Apr 10 17:49 /var/tmp/TmpDir.cwWUfa/trustdb.gpg -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 --- Comment #3 from Michael Andres <ma@suse.com> --- Only if zypp is crashing/killed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c4 David Kane <dave.kane@geokinetics.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dave.kane@geokinetics.com --- Comment #4 from David Kane <dave.kane@geokinetics.com> --- Can I manually remove these directories? rm -rf zypp* I make an image backup and have about 1.2 GB of these directories resident. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c5 --- Comment #5 from Michael Andres <ma@suse.com> --- (In reply to David Kane from comment #4)
Can I manually remove these directories? rm -rf zypp*
If no zypp instance (zypper,yast,PackageKit) is running, yes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c6 Andreas Nordal <andreas_nordal_4@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas_nordal_4@hotmail.co | |m --- Comment #6 from Andreas Nordal <andreas_nordal_4@hotmail.com> --- I'm seeing this on Leap 42.1 too: I have accumulated 2450 /var/tmp/zypp* directories since installation in early January, 9 months ago. That's roughly 2450/(30.5*9*5/7) = 12.5 directories per working day (I'm using this computer Monday-Friday). I'm mainly updating through the KDE updater thing that automatically checks for updates and asks if I want to update. It typically fails to resolve dependencies when there are updates in the VLC repository, at which point I do a `sudo zypper dup` in the terminal, and that has always fixed it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c7 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(andreas_nordal_4@ | |hotmail.com) --- Comment #7 from Michael Andres <ma@suse.com> --- (In reply to Andreas Nordal from comment #6)
roughly 2450/(30.5*9*5/7) = 12.5 directories per working day (I'm using this
@Andreas: Could you please attach a 'ls -ltr /var/tmp/' listing of the directory? Those dirs stay only if zypp instances are killed or crash. I'd like to see timeline of these incidents. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c8 Andreas Nordal <andreas_nordal_4@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(andreas_nordal_4@ | |hotmail.com) | --- Comment #8 from Andreas Nordal <andreas_nordal_4@hotmail.com> --- Created attachment 700095 --> http://bugzilla.opensuse.org/attachment.cgi?id=700095&action=edit gzipped output of ls -tld /var/tmp/zypp.* -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c9 Andreas Nordal <andreas_nordal_4@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #700095|0 |1 is obsolete| | --- Comment #9 from Andreas Nordal <andreas_nordal_4@hotmail.com> --- Created attachment 700100 --> http://bugzilla.opensuse.org/attachment.cgi?id=700100&action=edit gzipped output of ls -ltrd /var/tmp/{zypp,TmpDir}.* Btw, I have a few "TmpDir" directories inbetween those "zypp" directories. Here is a listing with both included. On another machine with Tumbleweed, I always do `zypper dup` manually (because I use Weston instead of KDE), and there, I only have "TmpDir" directories! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=926844 http://bugzilla.opensuse.org/show_bug.cgi?id=926844#c10 --- Comment #10 from Michael Andres <ma@suse.com> --- This needs to be re-tested with zypper-1.13.19. Zypper should no longer create any "TmpDir.*" directories in /var/tmp; Also fixed zypper to cleanup the zypp.tmpdir, if zypper is killed in a broken pipe. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com