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

Bug 94018

Summary: etc-update uses /tmp/$$
Product: Portage Development Reporter: solar (RETIRED) <solar>
Component: ToolsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: 2.0   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: etc-update-tmpdir.patch

Description solar (RETIRED) gentoo-dev 2005-05-25 16:56:53 UTC
etc-update uses /tmp/$$ vs $PORTAGE_TMPDIR
For security reasons when etc-update is first run it deletes /tmp/$$. 
If another process is using /tmp/$$ for legit reasons etc-update will kill it off.
Comment 1 solar (RETIRED) gentoo-dev 2005-05-25 16:57:19 UTC
Created attachment 59834 [details, diff]
etc-update-tmpdir.patch

patch that updates behavior.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:33 UTC
Fixed on or before 2.0.51.22-r1 
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:22 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.