Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27871 - genkernel leaves initrd.gz in /tmp
Summary: genkernel leaves initrd.gz in /tmp
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-03 11:19 UTC by Drake Wyrm
Modified: 2010-03-27 23:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Wyrm 2003-09-03 11:19:02 UTC
When genkernel runs, it creates the file /tmp/initrd.gz, but doesn't clean up
before exiting.

Reproducible: Always
Steps to Reproduce:
1. run genkernel
2. ls /tmp
3. Profit!

Actual Results:  
genkernel debris in /tmp

Expected Results:  
genkernel should clean up after itself

I am leaving out the 'emerge info' dump, as this seems pretty irrelavent. This
bug could be fixed by either changing 'cp -f ${TEMP}/initrd.gz
/boot/initrd-${KV}' to 'mv -f ${TEMP}/initrd.gz /boot/initrd-${KV}' in the
initrd() function or by adding  'rm -f ${TEMP}/initrd.gz' to the finish() function.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-09-03 21:52:49 UTC
Fixed in 1.6; will be online soon. Thanks!