Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23368 - baselayout 1.8.6.8-r1 overwrites /etc/modules.autoload without making a backup
Summary: baselayout 1.8.6.8-r1 overwrites /etc/modules.autoload without making a backup
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 04:51 UTC by Oliver Jeeves
Modified: 2003-06-30 14:20 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 Oliver Jeeves 2003-06-24 04:51:47 UTC
in the new baselayout, /etc/modules.autoload is a symlink to
/etc/modules.autoload.d/kernel-2.4
When emerging the new baselayout, my /etc/modules.autoload was automatically
overwritten and no backup was made, causing my computer to boot incorrectly.

Reproducible: Didn't try
Steps to Reproduce:



Expected Results:  
made a backup of /etc/modules.autoload
Comment 1 Adam Mercer 2003-06-24 13:18:22 UTC
I updated to 1.8.6.8-r1 from 1.8.5.x yesterday an my modules.autoload was backed up and given as an option to update after I ran etc-update
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-30 14:20:01 UTC
This is the code for modules.autoload:

-------------------------------------------------
        if [ -f ${ROOT}/etc/modules.autoload -a ! -d ${ROOT}/etc/modules.autoload.d ]
        then
                mkdir -p ${ROOT}/etc/modules.autoload.d
                mv -f ${ROOT}/etc/modules.autoload \
                        ${ROOT}/etc/modules.autoload.d/kernel-2.4
                ln -snf modules.autoload.d/kernel-2.4 ${ROOT}/etc/modules.autoload
        fi
-------------------------------------------------

Meaning your modules.autoload should have existed as
/etc/modules.autoload.d/kernel-2.4, meaning that the only
possible conclusion is that you did not run etc-update to
update /etc/init.d/modules.