Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51307 - qpkg fails to cleanup /tmp on TERM or INT (patch included)
Summary: qpkg fails to cleanup /tmp on TERM or INT (patch included)
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 52184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-17 13:42 UTC by Matthew Kennedy (RETIRED)
Modified: 2004-08-21 13:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qpkg-1.13-cleanup.patch (qpkg-1.13-cleanup.patch,398 bytes, patch)
2004-05-17 13:43 UTC, Matthew Kennedy (RETIRED)
Details | Diff
corrected patch (qpkg-signals.diff,485 bytes, patch)
2004-07-06 15:38 UTC, Antonio Dolcetta
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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