Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51307

Summary: qpkg fails to cleanup /tmp on TERM or INT (patch included)
Product: Portage Development Reporter: Matthew Kennedy (RETIRED) <mkennedy>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED WONTFIX    
Severity: normal CC: tschosie, zagarna
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: qpkg-1.13-cleanup.patch
corrected patch

Description Matthew Kennedy (RETIRED) gentoo-dev 2004-05-17 13:42:11 UTC
qpkg creates a temporary directory in /tmp/qpkg-N.  This directory is not removed if the qpkg script is interrupted with TERM (signal 15) or INT (user interrupted qpkg with ^C, signal 2).  Attached is a patch which handles cleanup gracefully.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2004-05-17 13:43:17 UTC
Created attachment 31601 [details, diff]
qpkg-1.13-cleanup.patch

(diff is against revision 1.13 of qpkg)
Comment 2 SpanKY gentoo-dev 2004-05-27 20:25:32 UTC
*** Bug 52184 has been marked as a duplicate of this bug. ***
Comment 3 Antonio Dolcetta 2004-07-06 15:38:29 UTC
Created attachment 34888 [details, diff]
corrected patch

the original patch was fine, but it failed to exit, defeating the main purpose.
this one is ok (I hope)
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 13:43:42 UTC
this tool is deprecated